:root {
    --paper: #F7EEDD;
    --paper-2: #EFE2C8;
    --paper-card: #FFFBF2;
    --ink: #2B1B14;
    --ink-soft: #5A483C;
    --maroon: #7A1F2B;
    --maroon-dark: #54121B;
    --maroon-tint: #F1DCDD;
    --indigo: #1F3B4D;
    --indigo-dark: #122733;
    --gold: #C79A3B;
    --gold-light: #E8C468;
    --line: #D8C6A0;
    --ok: #2E7D46;
    --err: #B23A2E;
    --radius: 14px;
    --shadow: 0 10px 30px -12px rgba(43, 27, 20, 0.35);
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    background: var(--paper) !important;
    color: var(--ink);
    font-family: 'Mukta', sans-serif;
    line-height: 1.7;
    background-image:
        radial-gradient(circle at 10% 0%, rgba(199, 154, 59, 0.08), transparent 40%),
        radial-gradient(circle at 90% 10%, rgba(122, 31, 43, 0.06), transparent 35%);
    overflow-x: hidden;
}

.display {
    font-family: 'Kokila', cursive;
}

.accent-font {
    font-family: 'Tiro Devanagari Marathi', serif;
}

h1,
h2,
h3 {
    font-family: 'Kokila', cursive;
    font-weight: 400;
    color: var(--maroon-dark);
    margin: 0 0 .3em;
}

p {
    margin: 0 0 1em;
}

a {
    color: inherit;
}

button {
    font-family: inherit;
}

::selection {
    background: var(--gold-light);
    color: var(--maroon-dark);
}

/* ---------- ARCH DIVIDER (signature motif) ---------- */
.arch-divider {
    height: 22px;
    width: 100%;
    background:
        radial-gradient(circle at 11px -7px, transparent 12px, var(--gold) 13px) repeat-x;
    background-size: 22px 22px;
    opacity: .85;
}

.arch-divider.flip {
    transform: scaleY(-1);
    width: 100vw;
    max-width: 100vw;
    margin-left: calc(50% - 50vw);
}

.arch-divider.maroon {
    background: radial-gradient(circle at 11px -7px, transparent 12px, var(--maroon) 13px) repeat-x;
    background-size: 22px 22px;
    transform: rotate(180deg);
}

/* ---------- HEADER ---------- */
header.site-head {
    background: linear-gradient(180deg, var(--indigo) 0%, var(--indigo-dark) 100%);
    color: var(--paper-2);
    padding: 18px 20px 0;
}

.head-inner {
    max-width: 1180px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 16px;
    justify-content: space-between;
    flex-wrap: wrap;
}

.brand {
    display: flex;
    align-items: center;
    gap: 14px;
}

.brand svg {
    flex: none;
}

.brand-text h1 {
    font-size: clamp(22px, 3vw, 35px);
    color: var(--gold-light);
    margin: 0;
    line-height: 1.15;
}

.brand-text .sub {
    font-family: 'Tiro Devanagari Marathi', serif;
    font-size: 14px;
    color: #CBD6DC;
    letter-spacing: .3px;
}

.head-note {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 10px;
}

.tagline {
    font-size: 16px;
}

.maitreya-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 7px 14px;
    border: 1px solid var(--gold-light);
    border-radius: 20px;
    color: var(--gold-light);
    text-decoration: none;
    transition: 0.3s;
}

.maitreya-link strong {
    font-size: 16px;
}

.maitreya-link small {
    font-size: 12px;
}

.maitreya-link:hover {
    background: var(--maroon);
    color: #fff;
    border-color: var(--maroon);
}

/* ---------- TABS ---------- */
nav.tabs {
    max-width: 1180px;
    margin: 16px auto 0;
    display: flex;
    gap: 4px;
    overflow-x: auto;
    padding: 0 4px 0;
    position: relative;
    scrollbar-width: none;
    color: yellowgreen;
    justify-content: center;
}

nav.tabs::-webkit-scrollbar {
    display: none;
}

.tabbtn {
    position: relative;
    background: transparent;
    border: none;
    color: var(--paper-2);
    padding: 8px 18px;
    font-size: 15px;
    cursor: pointer;
    white-space: nowrap;
    font-family: 'Tiro Devanagari Marathi', serif;
    border-radius: 10px 10px 0 0;
    transition: color .2s;
}

.tabbtn:not(.register)::after {
    content: "";
    position: absolute;
    left: 50%;
    bottom: 0;
    width: 0;
    height: 3px;
    background: var(--gold);
    border-radius: 10px;
    transform: translateX(-50%);
    transition: width .3s ease;
}

.tabbtn:not(.register):hover::after,
.tabbtn:not(.register).active::after {
    width: 70%;
}

.tabbtn.active {
    font-weight: 700;
}

.bubble {
    position: absolute;
    inset: 0;
    background: transparent;
    border-radius: 10px 10px 0 0;
    z-index: -1;
}

.tabbtn.active .bubble {
    background: var(--paper);
}

.tabbtn.register {
    margin-left: 20px;
    color: var(--maroon-dark);
    background: var(--gold);
    border-radius: 10px;
    margin-bottom: 10px;
    font-weight: 700;
}

.tabbtn.register:hover {
    background: var(--gold-light);
}

.tabbtn.register.active {
    background: var(--paper);
}

@media (max-width:991px) {

    .tabbtn {
        display: inline-block;
        width: 100%;
        position: relative;
    }

    .tabbtn:not(.register)::after {
        left: 20px;
        transform: none;
        width: 0;
    }

    .tabbtn:not(.register):hover::after,
    .tabbtn.active:not(.register)::after {
        width: 40px;
    }

}

/* ---------- MAIN ---------- */
main {
    max-width: 1180px;
    margin: 0 auto;
    padding: 36px 20px 80px;
}

.tab-panel {
    display: none;
    animation: fade .35s ease;
}

.tab-panel.active {
    display: block;
}

@keyframes fade {
    from {
        opacity: 0;
        transform: translateY(6px)
    }

    to {
        opacity: 1;
        transform: translateY(0)
    }
}

.eyebrow {
    font-family: 'Tiro Devanagari Marathi', serif;
    color: var(--gold);
    text-transform: none;
    letter-spacing: .5px;
    font-size: 14px;
    margin-bottom: 6px;
    display: block;
}

/* HERO */
.hero {
    display: grid;
    grid-template-columns: .9fr .9fr;
    gap: 32px;
    align-items: center;
    padding: 10px 0 30px;
}

@media(max-width:820px) {
    .hero {
        grid-template-columns: 1fr;
    }
}

.hero h2 {
    font-size: clamp(28px, 4.2vw, 46px);
    line-height: 1.25;
    margin-bottom: 14px;
}

.hero .lede {
    font-size: 17px;
    color: var(--ink-soft);
    max-width: 56ch;
}

.hero-actions {
    display: flex;
    gap: 14px;
    margin-top: 22px;
    flex-wrap: wrap;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 13px 24px;
    border-radius: 999px;
    border: 2px solid transparent;
    font-size: 15.5px;
    font-weight: 700;
    cursor: pointer;
    text-decoration: none;
    transition: transform .15s, box-shadow .15s;
}

.btn:hover {
    transform: translateY(-2px);
}

.btn-primary {
    background: var(--maroon);
    color: var(--paper);
    box-shadow: var(--shadow);
}

.btn-primary:hover {
    background: var(--maroon-dark);
}

.btn-ghost {
    background: transparent;
    color: var(--maroon-dark);
    border-color: var(--maroon);
}

.btn-ghost:hover {
    background: var(--maroon-tint);
}

.btn-gold {
    background: var(--gold);
    color: var(--maroon-dark);
}

.btn-gold:hover {
    background: var(--gold-light);
}

.btn-block {
    width: 100%;
    justify-content: center;
}

.btn[disabled] {
    opacity: .55;
    cursor: not-allowed;
    transform: none;
}

.hero-plate {
    background: var(--paper-card);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    padding: 16px 30px;
    position: relative;
}

.hero-plate::before {
    content: "";
    position: absolute;
    inset: 6px;
    border: 1px solid var(--gold);
    border-radius: 10px;
    pointer-events: none;
    opacity: .55;
}

.hero-plate h3 {
    font-size: 20px;
}

.stat-row {
    display: flex;
    justify-content: space-between;
    padding: 5px 0;
    border-bottom: 1px dashed var(--line);
    font-size: 15px;
}

.stat-row:last-child {
    border-bottom: none;
}

.stat-row b {
    color: var(--maroon);
    font-family: 'Tiro Devanagari Marathi', serif;
    font-size: 17px;
}

.prize-table {
    margin: 15px 0;
    border: 1px solid var(--line);
    border-radius: 8px;
    overflow: hidden;
}

.prize-head {
    display: grid;
    grid-template-columns: 1fr 1fr;
    background: var(--paper);
    font-weight: 600;
    color: var(--maroon);
    text-align: center;
}

.prize-head div {
    padding: 10px;
}

.prize-head div:first-child {
    border-right: 1px solid var(--line);
}

.prize-body {
    display: grid;
    grid-template-columns: 1fr 1fr;
}

.prize-col {
    padding: 8px 12px;
}

.prize-col:first-child {
    border-right: 1px solid var(--line);
}

.prize-item {
    padding: 8px 0;
    border-bottom: 1px dashed var(--line);
    color: var(--maroon);
    font-family: 'Tiro Devanagari Marathi', serif;
    font-size: 15px;
}

.prize-item:last-child {
    border-bottom: none;
}

/* PLATE / COPPER-PLATE CARD */
.plate {
    background: linear-gradient(180deg, #FFFCF5, #FBF2DE);
    border: 1px solid var(--gold);
    border-radius: 12px;
    padding: 20px 22px;
    position: relative;
    box-shadow: 0 6px 18px -10px rgba(122, 31, 43, .25);
}

.plate::after {
    content: "";
    position: absolute;
    inset: 4px;
    border: 1px solid rgba(199, 154, 59, .5);
    border-radius: 8px;
    pointer-events: none;
}

.plate h4 {
    margin: 0 0 4px;
    color: var(--maroon-dark);
    font-family: 'Kokila', cursive;
    font-size: 19px;
}

.plate .amt {
    font-size: 26px;
    font-weight: 800;
    color: var(--maroon);
    font-family: 'Tiro Devanagari Marathi', serif;
}

.plate .meta {
    font-size: 13.5px;
    color: var(--ink-soft);
}

/* SECTION GENERIC */
section.block {
    margin: 52px 0;
}

.grid {
    display: grid;
    gap: 18px;
}

.grid.cols-2 {
    grid-template-columns: repeat(2, 1fr);
}

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

.grid.cols-4 {
    grid-template-columns: repeat(4, 1fr);
}

@media(max-width:900px) {

    .grid.cols-3,
    .grid.cols-4 {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media(max-width:600px) {

    .grid.cols-2,
    .grid.cols-3,
    .grid.cols-4 {
        grid-template-columns: 1fr;
    }
}

.card {
    background: var(--paper-card);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 20px;
    box-shadow: 0 6px 18px -14px rgba(43, 27, 20, .3);
}

.card h4 {
    margin: 0 0 8px;
    font-size: 18px;
    color: var(--maroon-dark);
}

.card .num {
    font-family: 'Kokila', cursive;
    color: var(--gold);
    font-size: 26px;
    display: block;
    margin-bottom: 6px;
}

.card p {
    font-size: 14.5px;
    color: var(--ink-soft);
    margin: 0;
}

/* DIVISIONS */
#divisionsGrid {
    margin-top: 20px;
}

.division-card {
    border-left: 4px solid var(--maroon);
}

.division-card h4 {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: 8px;
}

.division-card .tag {
    font-size: 12px;
    background: var(--maroon-tint);
    color: var(--maroon-dark);
    padding: 3px 9px;
    border-radius: 999px;
    font-family: 'Tiro Devanagari Marathi', serif;
}

/* TIMELINE (dates) */
.timeline {
    position: relative;
    margin-left: 14px;
    padding-left: 30px;
    border-left: 3px solid var(--gold);
}

.tl-item {
    position: relative;
    padding-bottom: 34px;
}

.tl-item:last-child {
    padding-bottom: 0;
}

.tl-item::before {
    content: "";
    position: absolute;
    left: -38px;
    top: 2px;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: var(--maroon);
    border: 3px solid var(--paper);
    box-shadow: 0 0 0 2px var(--gold);
}

.tl-date {
    font-family: 'Tiro Devanagari Marathi', serif;
    color: var(--maroon);
    font-weight: 700;
    font-size: 15px;
}

.tl-title {
    font-size: 16px;
    margin: 2px 0 4px;
    font-weight: 600;
}

.tl-desc {
    font-size: 14px;
    color: var(--ink-soft);
}

/* TABLES */
table.pretty {
    width: 100%;
    border-collapse: collapse;
    background: var(--paper-card);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: 0 6px 18px -14px rgba(43, 27, 20, .3);
}

table.pretty th,
table.pretty td {
    padding: 12px 14px;
    text-align: left;
    border-bottom: 1px solid var(--line);
    font-size: 14.5px;
}

table.pretty th {
    background: var(--indigo);
    color: var(--paper-2);
    font-family: 'Tiro Devanagari Marathi', serif;
    font-weight: 600;
}

table.pretty tr:last-child td {
    border-bottom: none;
}

table.pretty tr:hover td {
    background: var(--paper-2);
}

/* TERMS ACCORDION */
.acc-item {
    border: 1px solid var(--line);
    border-radius: 10px;
    margin-bottom: 10px;
    background: var(--paper-card);
    overflow: hidden;
}

.acc-head {
    display: flex;
    gap: 12px;
    align-items: flex-start;
    padding: 14px 16px;
    cursor: pointer;
    font-weight: 600;
}

.acc-head .idx {
    flex: none;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: var(--maroon);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    font-family: 'Tiro Devanagari Marathi', serif;
}

.acc-body {
    max-height: 0;
    overflow: hidden;
    transition: max-height .25s ease;
    padding: 0 16px;
    font-size: 14.5px;
    color: var(--ink-soft);
}

.acc-item.open .acc-body {
    max-height: 220px;
    padding-bottom: 16px;
}

.acc-item.open .acc-head {
    color: var(--maroon-dark);
}

.read-more {
    color: var(--maroon);
    font-weight: 600;
    margin-left: auto;
    font-size: 14px;
}

/* JUDGES */
.judge-card {
    text-align: center;
}

.judge-avatar {
    width: 80px;
    height: 80px;
    margin: 0 auto 15px;
    border-radius: 50%;
    overflow: hidden;
    border: 2px solid var(--gold);
}

.judge-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.judge-card h4 {
    font-size: 15px;
    margin-bottom: 2px;
}

.judge-card .role {
    font-size: 12.5px;
    color: var(--ink-soft);
}

#panelChief {
    margin: 20px 0 30px;
}

.chief-judge-card {
    display: flex;
    align-items: center;
    gap: 20px;
    max-width: 700px;
    margin: auto;
}

.chief-avatar {
    width: 100px;
    height: 120px;
    min-width: 100px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid var(--gold);
}

.chief-judge-info {
    line-height: 1.6;
    color: var(--maroon);
    font-size: 17px;
}

@media (max-width: 600px) {
    .chief-judge-card {
        flex-direction: column;
        text-align: center;
    }

    .chief-avatar {
        width: 80px;
        height: 80px;
        min-width: 80px;
    }
}

/* FORMS */
.form-wrap {
    max-width: 640px;
    margin: 0 auto;
    background: var(--paper-card);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 30px;
    box-shadow: var(--shadow);
}

.form-row {
    margin-bottom: 16px;
}

.form-row label {
    display: block;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 6px;
    color: var(--maroon-dark);
}

.form-row .hint {
    font-size: 12.5px;
    color: var(--ink-soft);
    margin-top: 4px;
}

input[type=text],
input[type=email],
input[type=tel],
input[type=password],
select,
textarea {
    width: 100%;
    padding: 11px 13px;
    border: 1px solid var(--line);
    border-radius: 9px;
    font-family: inherit;
    font-size: 15px;
    background: #fff;
    color: var(--ink);
}

input:focus,
select:focus,
textarea:focus {
    outline: 2px solid var(--gold);
    outline-offset: 1px;
    border-color: var(--gold);
}

textarea {
    resize: vertical;
    min-height: 120px;
}

.two-col {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
}

@media(max-width:560px) {
    .two-col {
        grid-template-columns: 1fr;
    }
}

.msg {
    padding: 12px 14px;
    border-radius: 9px;
    font-size: 14px;
    margin-bottom: 16px;
    display: none;
}

.msg.show {
    display: block;
}

.msg.ok {
    background: #E4F4E8;
    color: var(--ok);
    border: 1px solid #B9E0C4;
}

.msg.err {
    background: #FBEAE8;
    color: var(--err);
    border: 1px solid #F0C6C0;
}

.msg.info {
    background: #FDF3DC;
    color: #8A6410;
    border: 1px solid var(--gold-light);
}

.step {
    display: none;
}

.step.show {
    display: block;
}

.wc {
    font-size: 13px;
    color: var(--ink-soft);
    text-align: right;
    margin-top: 4px;
}

.wc.over {
    color: var(--err);
    font-weight: 700;
}

.tabsw {
    display: flex;
    gap: 8px;
    margin-bottom: 18px;
    border-bottom: 1px solid var(--line);
}

.tabsw button {
    background: none;
    border: none;
    padding: 10px 4px;
    font-size: 14.5px;
    color: var(--ink-soft);
    cursor: pointer;
    border-bottom: 2px solid transparent;
    font-weight: 600;
}

.tabsw button.on {
    color: var(--maroon);
    border-color: var(--maroon);
}

.sub-panel {
    display: none;
}

.sub-panel.on {
    display: block;
}

.dash-card {
    background: var(--paper-2);
    border: 1px dashed var(--gold);
    border-radius: 10px;
    padding: 16px;
    margin-bottom: 18px;
    font-size: 14.5px;
}

.file-drop {
    border: 2px dashed var(--line);
    border-radius: 10px;
    padding: 22px;
    text-align: center;
    font-size: 14px;
    color: var(--ink-soft);
    cursor: pointer;
}

.file-drop.has {
    border-color: var(--ok);
    color: var(--ok);
    background: #F1FAF3;
}

.small-link {
    background: none;
    border: none;
    color: var(--indigo);
    text-decoration: underline;
    cursor: pointer;
    font-size: 13.5px;
    padding: 0;
}

/* FOOTER */
footer {
    background: var(--indigo-dark);
    color: #CBD6DC;
    padding: 40px 20px 24px;
    font-size: 13.5px;
    text-align: center;
}

footer .fnote {
    max-width: 680px;
    margin: 0 auto 14px;
    color: #9FB1BA;
    font-family: 'Tiro Devanagari Marathi', serif;
    font-size: 13px;
}

footer .admin-link {
    color: #7A8C96;
    text-decoration: none;
    font-size: 12px;
}

footer .admin-link:hover {  
    color: #CBD6DC;
} 

.footer-subscribe {
    max-width: 650px;
    margin: 20px auto;
    text-align: center;
}

.footer-subscribe h6 {
    color: #fff;
    margin-bottom: 5px;
}

.footer-subscribe p {
    color: #ddd;
    margin-bottom: 12px;
}

.subscribe-form {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 8px;
}

.subscribe-form input {
    flex: 1;
    border: 0;
}

.subscribe-form button {
    height: 40px;
    padding: 0 18px;
    border: 0;
    border-radius: 6px;
    background: var(--gold);
    color: #fff;
    cursor: pointer;
    white-space: nowrap;
}

.subscribe-form .form-row {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-top: 8px !important;
}

.subscribe-form .g-recaptcha {
    display: flex;
    justify-content: center;
}

@media (max-width: 600px) {
    .footer-subscribe {
        max-width: 100%;
        padding: 0 15px;
    }

    .subscribe-form {
        flex-direction: column;
    }

    .subscribe-form input,
    .subscribe-form button {
        width: 100%;
    }

    .subscribe-form .form-row {
        width: 100%;
    }

    .g-recaptcha {
        transform: scale(.9);
        transform-origin: center;
    }
}

/* ADMIN */
.admin-gate {
    max-width: 420px;
    margin: 60px auto;
}

.admin-table-wrap {
    overflow-x: auto;
}

.status-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: center;
}

.badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 8px 14px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 600;
    line-height: 1.4;
    width: fit-content;
    max-width: 100%;
    white-space: normal;
}

@media (max-width:768px) {

    .dash-card>div:first-child {
        flex-direction: column;
        align-items: flex-start !important;
        gap: 12px;
    }

    .status-badges {
        width: 100%;
        justify-content: flex-start;
    }

    .badge {
        flex: 0 0 auto;
        width: fit-content;
        max-width: 100%;
    }
}

.essay-modal-bg {
    position: fixed;
    inset: 0;
    background: rgba(20, 12, 8, .55);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 50;
    padding: 20px;
}

.essay-modal-bg.show {
    display: flex;
}

.essay-modal {
    background: #fff;
    max-width: 680px;
    width: 100%;
    max-height: 80vh;
    overflow: auto;
    border-radius: 12px;
    padding: 26px;
    position: relative;
}

.essay-modal h3 {
    margin-bottom: 10px;
}

.essay-modal .close {
    position: absolute;
    top: 12px;
    right: 14px;
    background: none;
    border: none;
    font-size: 20px;
    cursor: pointer;
    color: var(--ink-soft);
}

.essay-modal .body-text {
    white-space: pre-wrap;
    font-size: 14.5px;
    color: var(--ink-soft);
    line-height: 1.8;
}

@media(max-width:600px) {
    .head-note {
        display: none;
    }
}




/* स्पर्धक नोंदणी style start */
.stepper {
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 30px 0;
}

.stepper-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
}

.step-circle {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    border: 2px solid #c79a3b;
    background: #fff;
    color: #c79a3b;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    transition: .3s;
}

.step-title {
    margin-top: 8px;
    font-size: 14px;
    color: #777;
}

.step-line {
    width: 100px;
    height: 2px;
    background: #ddd;
    margin: 0 10px;
    margin-bottom: 22px;
}

.stepper-item.active .step-circle,
.stepper-item.completed .step-circle {
    background: #c79a3b;
    color: #fff;
}

.stepper-item.active .step-title,
.stepper-item.completed .step-title {
    color: #c79a3b;
    font-weight: 600;
}

.eligibility-note {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 18px 0 28px;
    padding: 13px 18px;
    background: var(--maroon-tint, #f1dcdd);
    border-left: 4px solid var(--maroon, #7a1f2b);
    border-radius: 8px;
    color: var(--ink, #2b1b14);
    font-size: 16px;
}

.note-icon {
    color: var(--maroon, #7a1f2b);
    font-size: 18px;
}

.eligibility-note b {
    color: var(--maroon-dark, #54121b);
}


.mobile-group {
    display: flex;
    align-items: center;
    gap: 10px;
}

.country-select {
    width: 120px;
    min-width: 120px;
    height: 50px;
    border: 1px solid #d9b77c;
    border-radius: 14px;
    padding: 0 10px;
    background: #fff;
}

.mobile-group input {
    flex: 1;
    height: 50px;
    border: 1px solid #d9b77c;
    border-radius: 14px;
    padding: 0 15px;
}


/* स्पर्धक नोंदणी style end */



.more-activities {
    text-align: center;
    margin-top: 25px;
}

.more-activities a,
.more-activities button {
    display: inline-block;
    background-color: var(--maroon-dark);
    color: #fff;
    padding: 10px 20px;
    border: none;
    border-radius: 4px;
    text-decoration: none;
    transition: background-color 0.3s ease;
    cursor: pointer;
    font-family: inherit;
    font-size: inherit;
}

.more-activities a:hover,
.more-activities button:hover {
    background-color: var(--maroon);
}

.more-activities button:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.more-patrika {
    display: none;
    margin-top: 24px;
}

.more-patrika.show {
    display: grid;
}

.patrika-card-image {
    width: 100%;
    height: 400px;
    overflow: hidden;
}

.patrika-card-image .card-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

/* उपक्रम style start */
.news-card {
    padding: 0;
    overflow: hidden;
    background: var(--paper-card);
    border: 1px solid #ddd;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.news-card .card-img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    display: block;
}

.news-content {
    padding: 18px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.news-card h3 {
    margin: 0 0 10px;
    line-height: 1.4;
    color: var(--maroon);
    font-weight: 600;
}


.news-meta {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding-top: 12px;
    border-top: 1px solid var(--gold);

    margin-top: auto;
}

.date-icon {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: #ddd;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #777;
    font-size: 16px;
}

.news-date {
    color: #444;
    font-size: 15px;
}

/* उपक्रम style end */



/* आमच्याविषयी style start */
.team-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
    margin-top: 35px;
    margin-bottom: 35px;
}

.team-card {
    background: var(--paper-card, #fff);
    border: 1px solid #ddd;
    border-radius: 12px;
    padding: 28px 22px;
    text-align: center;
    transition: 0.3s ease;
}

.team-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
}

.team-img {
    width: 150px;
    height: 150px;
    object-fit: cover;
    border-radius: 50%;
    display: block;
    margin: 0 auto 18px;
    border: 4px solid #C79A3B;
    padding: 3px;
    background: #fff;
}

.team-name {
    margin: 8px 0 5px;
    font-family: "Tiro Devanagari Marathi", serif;
    font-size: 22px;
    color: var(--maroon, #7a1f2b);
}

.team-designation {
    display: block;
    font-size: 15px;
    font-weight: 600;
    color: var(--gold);
}

.team-description {
    font-size: 15px;
    line-height: 1.8;
    color: #555;
    margin: 0;
}

.team-city {
    display: block;
    font-size: 14px;
    color: var(--indigo-dark);
    margin-bottom: 12px;
}

/* Tablet */
@media (max-width: 992px) {
    .team-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Mobile */
@media (max-width: 600px) {
    .team-grid {
        grid-template-columns: 1fr;
    }

    .team-card {
        padding: 25px 18px;
    }

    .team-img {
        width: 130px;
        height: 130px;
    }
}

/* ================= EXECUTIVE TABLE ================= */

.executive-section {
    margin-top: 40px;
}

.executive-title {
    text-align: center;
    color: var(--maroon);
    font-size: 26px;
    font-weight: 700;
    margin-bottom: 25px;
}

.executive-title::after {
    content: "";
    display: block;
    width: 70px;
    height: 3px;
    background: var(--gold);
    margin: 10px auto 0;
    border-radius: 20px;
}

/* Table Wrapper */
.executive-table-wrapper {
    max-width: 850px;
    margin: 0 auto;
    background: var(--paper-card);
    border-radius: 18px;
    overflow: hidden;
    border: 1px solid rgba(122, 31, 43, 0.10);
    box-shadow:
        0 4px 10px rgba(43, 27, 20, 0.06),
        0 12px 30px rgba(43, 27, 20, 0.10);
}

/* Table */
.executive-table {
    width: 100%;
    border-collapse: collapse;
}

/* Header */
.executive-table thead {
    background: var(--maroon);
}

.executive-table th {
    padding: 17px 24px;
    color: #fff;
    font-size: 16px;
    font-weight: 700;
    text-align: left;
}

.executive-table th:first-child {
    padding-left: 12%;
}

.executive-table th:last-child {
    width: 28%;
    text-align: center;
}

/* Table Rows */
.executive-table td {
    padding: 13px 24px;
    font-size: 16px;
    color: var(--ink);
    border-bottom: 1px solid rgba(122, 31, 43, 0.08);
}

.executive-table td:last-child {
    text-align: center;
}

.executive-table tbody tr:last-child td {
    border-bottom: none;
}

/* Hover */
.executive-table tbody tr {
    transition: 0.25s ease;
}

.executive-table tbody tr:hover {
    background: rgba(122, 31, 43, 0.035);
    transform: translateX(3px);
}

/* Member Number */
.member-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    margin-right: 12px;
    border-radius: 50%;
    background: #D99A24;
    color: #fff;
    font-size: 13px;
    font-weight: 700;
    box-shadow: 0 3px 8px rgba(217, 154, 36, 0.25);
}

/* Designation Badge */
.designation-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 120px;
    min-width: 120px;
    height: 42px;
    padding: 8px 10px;
    border-radius: 30px;
    background: #F4E9D7;
    color: var(--ink);
    font-size: 14px;
    font-weight: 700;
    border: 1px solid rgba(122, 31, 43, 0.08);
    white-space: nowrap;
}

/* President */
.designation-badge.president {
    background: var(--maroon);
    color: #fff;
    border-color: var(--maroon);
    box-shadow: 0 3px 8px rgba(122, 31, 43, 0.20);
}

/* Secretary */
.designation-badge.secretary {
    background: #D99A24;
    color: #fff;
    border-color: #D99A24;
    box-shadow: 0 3px 8px rgba(217, 154, 36, 0.20);
}

/* Mobile */
@media (max-width: 576px) {

    .executive-title {
        font-size: 22px;
    }

    .executive-table th,
    .executive-table td {
        padding: 12px 10px;
        font-size: 14px;
    }

    .executive-table th:first-child {
        padding-left: 12%;
    }

    .member-number {
        width: 26px;
        height: 26px;
        margin-right: 7px;
        font-size: 11px;
    }

    .designation-badge {
        width: 90px;
        min-width: 90px;
        height: 34px;
        padding: 5px 6px;
        font-size: 11px;
    }
}

/* ================= SAMARASTA HISTORY ================= */

.history-intro {
    max-width: 1000px;
    color: var(--ink-soft);
    font-size: 17px;
    line-height: 1.9;
}

.history-heading {
    text-align: center;
    color: var(--maroon);
    font-size: 25px;
    font-weight: 700;
    margin: 35px 0 20px;
}

.history-table-wrapper {
    max-width: 1100px;
    margin: 0 auto 35px;
    background: var(--paper-card);
    border-radius: 18px;
    overflow-x: auto;
    border: 1px solid rgba(122, 31, 43, 0.10);
    box-shadow:
        0 4px 10px rgba(43, 27, 20, 0.06),
        0 12px 30px rgba(43, 27, 20, 0.10);
}

.history-table {
    width: 100%;
    border-collapse: collapse;
    min-width: 750px;
}

.history-table thead {
    background: var(--maroon);
}

.history-table th {
    padding: 15px 18px;
    color: #fff;
    font-size: 15px;
    font-weight: 700;
    text-align: left;
}

.history-table td {
    padding: 13px 18px;
    font-size: 15px;
    line-height: 1.6;
    color: var(--ink);
    border-bottom: 1px solid rgba(122, 31, 43, 0.08);
    vertical-align: top;
}

.history-table tbody tr:last-child td {
    border-bottom: none;
}

.history-table tbody tr:hover {
    background: rgba(122, 31, 43, 0.035);
}

.history-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    margin-right: 8px;
    border-radius: 50%;
    background: #D99A24;
    color: #fff;
    font-size: 12px;
    font-weight: 700;
}

.history-topic {
    color: var(--maroon);
    font-weight: 600;
}

.history-president {
    font-weight: 600;
    color: var(--ink);
}

@media (max-width: 600px) {
    .history-intro {
        font-size: 15px;
    }

    .history-heading {
        font-size: 21px;
    }

    .history-table th,
    .history-table td {
        padding: 11px 12px;
        font-size: 14px;
    }
}

/* आमच्याविषयी style end */

/* समरसता साहित्य पत्रिका style start */
.card-img {
    width: 100%;
    object-fit: cover;
    border-radius: 12px;
    margin-bottom: 18px;
    display: block;
}

.card-content {
    text-align: center;
    /* padding: 18px 15px 22px; */
}


.view-pdf {
   display: inline-flex;
    align-items: center;
    justify-content: center;
    align-self: flex-start;
    width: fit-content;
    padding: 8px 18px;
    border: 1px solid var(--maroon);
    color: var(--maroon);
    text-decoration: none;
    border-radius: 4px;
    transition: 0.3s ease;
}

.view-pdf:hover {
    background: var(--maroon);
    color: #fff;
}

.month-year {
    text-align: right;
    padding: 0 15px 0;
}

/* समरसता साहित्य पत्रिका style end */

/* मुख्यपृष्ठ subscription form style start  */
.subscription-box {
    position: relative;
    padding: 30px;
    text-align: center;
    border: 0;
    border-radius: 20px;
    background: var(--paper-card) !important;
}

.subscription-label {
    display: block;
    font-size: 14px;
    color: var(--maroon);
    margin-bottom: 5px;
}

.subscription-box h4 {
    color: var(--maroon);
    margin-bottom: 10px;
}

.subscription-box p {
    color: var(--indigo-dark);
    margin-bottom: 20px;
}

.subscription-input {
    margin-bottom: 12px;
}

.subscription-input input {
    height: 48px;
    border-radius: 10px;
    border: 1px solid #ddd;
}


.subscription-btn {
    width: 100%;
    height: 48px;
    border: 0;
    border-radius: 10px;
    background: var(--maroon);
    color: #fff;
}

.subscription-btn:hover {
    background: #54121B;
}

.subscription-close {
    position: absolute;
    top: 15px;
    right: 15px;
    z-index: 2;
}

.subscription-icon {
    font-size: 40px;
    color: var(--gold);
    margin-bottom: 10px;
}

.subscription-content small {
    display: block;
    color: var(--indigo-dark);
    margin-top: 10px;
}

/* मुख्यपृष्ठ subscription form style end  */

/* मुख्यपृष्ठ slider style start */
#heroSlider {
    position: relative;
    overflow: hidden;
    border-radius: 18px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, .18);
    margin-bottom: 30px;
}

#heroSlider .carousel-item {
    height: 500px;
}

#heroSlider .carousel-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 6s ease;
}

#heroSlider .carousel-item.active img {
    transform: scale(1.05);
}

#heroSlider .carousel-item::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(to right,
            rgba(0, 0, 0, .35),
            rgba(0, 0, 0, .12));
    z-index: 1;
}


#heroSlider .carousel-control-prev,
#heroSlider .carousel-control-next {
    position: absolute;
    top: 50%;
    bottom: auto;
    width: 50px;
    height: 50px;
    transform: translateY(-50%);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(0, 0, 0, .45);
    opacity: 1;
    z-index: 10;
}

#heroSlider .carousel-control-prev {
    left: 15px;
}

#heroSlider .carousel-control-next {
    right: 15px;
}

#heroSlider .carousel-control-prev:hover,
#heroSlider .carousel-control-next:hover {
    background: #fff;
    transform: translateY(-50%) scale(1.08);
}

#heroSlider .carousel-control-prev-icon,
#heroSlider .carousel-control-next-icon {
    width: 20px;
    height: 20px;
    background-size: 100% 100%;
    filter: brightness(0) invert(1);
}

#heroSlider .carousel-control-prev:hover .carousel-control-prev-icon,
#heroSlider .carousel-control-next:hover .carousel-control-next-icon {
    filter: brightness(0);
}


.carousel-indicators {
    margin-bottom: 18px;
}

.carousel-indicators [data-bs-target] {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    border: none;
    margin: 0 6px;
    background: #ffffff80;
    transition: .3s;
}

.carousel-indicators .active {
    width: 34px;
    border-radius: 20px;
    background: #C79A3B;
}

@media(max-width:768px) {

    #heroSlider,
    #heroSlider .carousel-item {
        height: 320px;
        border-radius: 12px;
    }

    .carousel-control-prev,
    .carousel-control-next {
        width: 42px;
        height: 42px;
    }

    .carousel-control-prev {
        left: 12px;
    }

    .carousel-control-next {
        right: 12px;
    }
}

.home-about {
    margin-top: 30px;
}

.home-about h2 {
    color: var(--maroon);
}

.home-about p {
    font-family: 'Mukta', sans-serif;
}

/* मुख्यपृष्ठ slider style end */


/* latest announcement style start */
.notice-bar {
    display: flex;
    align-items: center;
    gap: 0;
    height: 48px;
    margin: 18px 0 25px;
    overflow: hidden;
    background: var(--paper-card);
    border: 1px solid var(--gold);
    border-radius: 30px;
    box-shadow: 0 5px 18px rgba(43, 27, 20, 0.08);
}

.notice-label {
    position: relative;
    height: 100%;
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 0 22px;
    background: var(--maroon);
    color: #fff;
    font-weight: 600;
    white-space: nowrap;
}

.notice-label::after {
    content: "";
    position: absolute;
    right: -10px;
    width: 20px;
    height: 20px;
    background: var(--maroon);
    transform: rotate(45deg);
}

.notice-bar marquee {
    flex: 1;
    padding-left: 20px;
    font-family: 'Mukta', sans-serif;
    font-size: 16px;
}

.notice-bar a {
    color: var(--indigo-dark);
    text-decoration: none;
    transition: .2s;
}

.notice-separator {
    display: inline-block;
    margin: 0 5px;
    color: var(--gold);
    font-size: 16px;
    vertical-align: middle;
}

.notice-link {
    color: var(--maroon);
    text-decoration: none;
    cursor: pointer;
    padding-bottom: 2px;
}

.notice-link::after {
    content: " (येथे क्लिक करा →)";
    color: var(--maroon-dark);
}

.notice-bar a:hover {
    color: var(--maroon);
}

@media (max-width: 576px) {
    .notice-bar {
        height: 44px;
    }

    .notice-label {
        padding: 0 15px;
        font-size: 14px;
    }

    .notice-bar marquee {
        font-size: 14px;
        padding-left: 15px;
    }
}

/* latest announcement style end */


/* blog page style start */
/* ================= BLOG CARD ================= */

.blog-card {
    position: relative;
    padding: 24px;
    background: var(--paper-card);
    border: 1px solid var(--paper-2);
    border-radius: 16px;
    overflow: hidden;

    display: flex;
    flex-direction: column;

    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.blog-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 30px rgba(43, 27, 20, 0.10);
}


/* ---------- Title ---------- */

.blog-title {
    color: var(--maroon);
    font-weight: 700;
    margin: 0 0 20px;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
}


/* ---------- Image ---------- */

.blog-image {
    width: 100%;
    height: 220px;
    border-radius: 12px;
    overflow: hidden;
    margin-bottom: 22px;
}

.blog-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;

    transition: transform 0.4s ease;
}

.blog-card:hover .blog-image img {
    transform: scale(1.04);
}


/* ---------- Author + Date ---------- */

.blog-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 20px;
    margin-top: auto;
}

.blog-author {
    color: var(--maroon);
    font-weight: 700;
}

.blog-date {
    color: var(--ink-soft);
}

/* ---------- Responsive ---------- */

@media (max-width: 768px) {

    .blog-card {
        padding: 20px;
    }

    .blog-title {
        font-size: 21px;
    }

    .blog-image {
        height: 200px;
    }

    .blog-author {
        font-size: 16px;
    }

    .blog-date {
        font-size: 15px;
    }
}

/* blog page style end */


/* blog detail page style start */
.blog-detail-container {
    width: min(1180px, calc(100% - 40px));
    display: grid;
    grid-template-columns: minmax(0, 1fr) 330px;
    gap: 55px;
    align-items: start;
    margin: 30px 0;
}

.blog-detail-main {
    min-width: 0;
}

.blog-detail-image {
    width: 100%;
    height: 430px;

    overflow: hidden;
    border-radius: 16px;

    background: var(--paper-card);
    border: 1px solid var(--paper-2);
}

.blog-detail-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.blog-detail-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;

    padding: 22px 0;

    border-bottom: 1px solid var(--gold);
}

.blog-meta-item {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.meta-label {
    font-size: 14px;
    font-weight: 600;
    color: var(--ink-soft);
}

.meta-value {
    color: var(--maroon);
    font-size: 16px;
    font-weight: 700;
}


.blog-detail-title {
    margin: 28px 0 22px;
    color: var(--ink);
    font-size: 30px;
    line-height: 1.2;
    font-weight: 700;
}


.blog-detail-content {
    max-width: 850px;
}

.blog-detail-content p {
    margin: 0 0 20px;

    color: var(--ink-soft);

    font-size: 17px;
    line-height: 1.85;
}

.blog-detail-content p:last-child {
    margin-bottom: 0;
}


.blog-sidebar {
    position: sticky;
    top: 100px;

    padding: 25px;

    background: var(--paper-card);

    border: 1px solid var(--paper-2);
    border-radius: 16px;

    box-shadow: 0 8px 25px rgba(43, 27, 20, 0.06);
}


.sidebar-heading h2 {
    margin: 0;

    color: var(--maroon-dark);

    font-size: 24px;
    line-height: 1.3;
}

.sidebar-divider {
    width: 100%;
    height: 1px;
    margin: 18px 0;
    background: var(--gold);
}


.sidebar-blog {
    display: grid;
    grid-template-columns: 82px 1fr;
    gap: 14px;

    padding: 14px 0;

    text-decoration: none;

    border-bottom: 1px solid var(--paper-2);
}

.sidebar-blog:last-child {
    border-bottom: none;
    padding-bottom: 0;
}


.sidebar-blog-image {
    width: 82px;
    height: 72px;

    overflow: hidden;
    border-radius: 8px;

    background: var(--paper-2);
}

.sidebar-blog-image img {
    width: 100%;
    height: 100%;

    object-fit: cover;

    display: block;

    transition: transform 0.35s ease;
}

.sidebar-blog:hover .sidebar-blog-image img {
    transform: scale(1.06);
}


.sidebar-blog-info {
    min-width: 0;
}

.sidebar-blog-info h3 {
    margin: 0 0 8px;

    color: var(--ink);

    font-size: 15px;
    line-height: 1.4;
    font-weight: 700;

    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;

    overflow: hidden;

    transition: color 0.25s ease;
}

.sidebar-blog:hover h3 {
    color: var(--maroon);
}

.sidebar-blog-info span {
    color: var(--maroon);

    font-size: 13px;
    font-weight: 600;
}

.sidebar-blog-info span i {
    margin-left: 4px;
    font-size: 11px;

    transition: transform 0.25s ease;
}

.sidebar-blog:hover span i {
    transform: translateX(3px);
}


@media (max-width: 992px) {

    .blog-detail-container {
        grid-template-columns: 1fr 280px;
        gap: 30px;
    }

    .blog-detail-image {
        height: 360px;
    }

}

@media (max-width: 768px) {

    .blog-detail-page {
        padding: 45px 0 60px;
    }

    .blog-detail-container {
        width: calc(100% - 30px);
        max-width: 650px;

        margin-left: auto;
        margin-right: auto;

        grid-template-columns: 1fr;
        gap: 40px;
    }

    .blog-detail-image {
        height: 300px;
        border-radius: 12px;
    }

    .blog-detail-meta {
        padding: 18px 0;
    }

    .blog-detail-title {
        font-size: 30px;
        margin-top: 22px;
    }

    .blog-detail-content p {
        font-size: 16px;
        line-height: 1.75;
    }

    .blog-sidebar {
        position: static;
    }
}


@media (max-width: 480px) {

    .blog-detail-container {
        width: calc(100% - 24px);
        margin-left: auto;
        margin-right: auto;
    }

    .blog-detail-image {
        height: 240px;
    }

    .blog-detail-meta {
        align-items: flex-start;
        gap: 20px;
    }

    .blog-detail-title {
        font-size: 26px;
    }

    .sidebar-blog {
        grid-template-columns: 75px 1fr;
    }

    .sidebar-blog-image {
        width: 75px;
        height: 65px;
    }
}

/* blog detail page style end */


/* Agami upakram page style start */
.event-list {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.event-card-new {
    display: grid;
    grid-template-columns: 115px 30% minmax(0, 1fr);
    min-height: 320px;
    height: auto;
    overflow: hidden;
    background: var(--paper-card);
    border: 1px solid var(--gold-light);
    border-radius: 18px;
    box-shadow: 0 10px 35px rgba(72, 43, 25, 0.07);
    transition: all 0.35s ease;
    position: relative;
}

.event-card-image {
    width: 100%;
    height: 320px;
    min-height: 0;
    overflow: hidden;
    align-self: start;
}

.event-card-image img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    object-position: center;
    transition: transform 0.6s ease;
}

.event-card-new:hover .event-card-image img {
    transform: scale(1.04);
}



.event-date {
    position: relative;
    width: 86px;
    height: 135px;
    margin: auto;
    background:var(--paper-card);
    border: 1px solid var(--gold-light);
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(72, 43, 25, 0.06);
    z-index: 2;
}


.date-top {
    height: 38px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--maroon);
    color: #fff;
    border-radius: 11px 11px 0 0;
    position: relative;
}

.date-top span {
    font-size: 12px;
    font-weight: 700;
    line-height: 1;
}


.date-top::before,
.date-top::after {
    content: "";
    position: absolute;
    top: -7px;
    width: 7px;
    height: 15px;
    background:var(--paper-card);
    border: 2px solid var(--gold);
    border-radius: 5px;
    box-sizing: border-box;
}

.date-top::before {
    left: 18px;
}

.date-top::after {
    right: 18px;
}


.date-content {
    height: calc(100% - 38px);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background:var(--paper-card);
    border-radius: 0 0 12px 12px;
    padding: 5px;
}

.date-content strong {
    display: block;
    color: var(--maroon);
    font-size: 38px;
    line-height: 1;
    font-weight: 700;
    margin-bottom: 5px;
}

.date-content span {
    display: block;
    color: #333;
    font-size: 13px;
    font-weight: 600;
    line-height: 1.2;
}

.date-content small {
    display: block;
    margin-top: 4px;
    color: #777;
    font-size: 11px;
    line-height: 1;
}


.event-card-body {
    padding: 32px 38px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-width: 0;
}

.event-card-heading h3 {
    max-width: 650px;
    margin: 0;
    color: var(--indigo);
    font-size: 25px;
    line-height: 1.4;
    font-weight: 600;
}

.event-desc {
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    max-width: 700px;
    margin: 12px 0 22px;
    color: #777;
    font-size: 14px;
    line-height: 1.75;
}

.event-bottom {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto auto;
    align-items: center;
    gap: 22px;
    padding-top: 18px;
    border-top: 1px solid var(--paper-2);
    margin-top: auto;
}

.event-location,
.event-time {
    display: flex;
    align-items: center;
    gap: 9px;
    min-width: 0;
}
.event-location {
    flex: 1;
    min-width: 0;
}

.event-location > div {
    min-width: 0;
}

.event-time {
    flex-shrink: 0;
}
.event-location > i,
.event-time > i {
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background:var(--maroon-tint);
    color: var(--gold);
    border-radius: 50%;
    font-size: 15px;
}

.event-location span,
.event-time span {
    display: block;
    margin-bottom: 2px;
    color: #999;
    font-size: 13px;
    line-height: 1.2;
}

.event-location strong,
.event-time strong {
    display: block;
    color: #333;
    font-size: 14px;
    line-height: 1.3;
    white-space: normal;
    overflow-wrap: anywhere;
}

.event-details-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin-left: auto;
    padding: 11px 18px;
    background: var(--maroon);
    color: #fff;
    border: 1px solid var(--maroon);
    border-radius: 7px;
    text-decoration: none;
    font-size: 12px;
    font-weight: 600;
    white-space: nowrap;
    transition: all 0.3s ease;
}

.event-details-btn:hover {
    background: transparent;
    color: var(--maroon);
    text-decoration: none;
}

.event-details-btn i {
    transition: transform 0.3s ease;
}

.event-details-btn:hover i {
    transform: translateX(4px);
}


@media (max-width: 1200px) {

    .event-card-new {
        grid-template-columns: 100px 32% minmax(0, 1fr);
        min-height: 300px;
        height: auto;
    }

    .event-card-image {
    height: 300px;
    min-height: 0;
    align-self: start;
}

    .event-date {
        width: 78px;
        height: 128px;
    }

    .date-content strong {
        font-size: 34px;
    }

    .event-card-body {
        padding: 28px 28px;
    }

    .event-card-heading h3 {
        font-size: 22px;
    }

    .event-desc {
        font-size: 13px;
    }

    .event-bottom {
        gap: 15px;
    }

}

@media (max-width: 992px) {

    .event-card-new {
        grid-template-columns: 100px 35% minmax(0, 1fr);
        min-height: 260px;
        height: auto;
    }

   .event-card-image {
    height: 260px;
    min-height: 0;
    align-self: start;
}

    .event-card-body {
        padding: 25px;
    }

    .event-card-heading h3 {
        font-size: 21px;
    }

    .event-desc {
        font-size: 13px;

        -webkit-line-clamp: 3;

        margin: 10px 0 18px;
    }

    .event-location strong,
    .event-time strong {
        font-size: 10px;
    }

    .event-details-btn {
        padding: 10px 14px;

        font-size: 11px;
    }

}

@media (max-width: 767px) {

    .event-list {
        gap: 25px;
    }

    .event-card-new {

        display: grid;

        grid-template-columns: 90px 1fr;

        grid-template-areas:
            "date image"
            "body body";

        min-height: auto;

        border-radius: 15px;
    }



    .event-date {
        grid-area: date;

        width: 70px;
        height: 110px;

        margin: auto;
    }

    .date-top {
        height: 31px;
    }

    .date-top span {
        font-size: 10px;
    }

    .date-top::before,
    .date-top::after {

        width: 6px;
        height: 12px;

        top: -6px;
    }

    .date-top::before {
        left: 13px;
    }

    .date-top::after {
        right: 13px;
    }

    .date-content {
        height: calc(100% - 31px);
    }

    .date-content strong {
        font-size: 30px;

        margin-bottom: 4px;
    }

    .date-content span {
        font-size: 11px;
    }

    .date-content small {
        font-size: 9px;

        margin-top: 3px;
    }


    .event-card-image {
        grid-area: image;
        height: 210px;
        min-height: 210px;
    }

    .event-card-body {

        grid-area: body;

        padding: 22px 20px;

        display: block;
    }

    .event-category {
        font-size: 11px;

        margin-bottom: 6px;
    }

    .event-card-heading h3 {
        font-size: 20px;

        line-height: 1.4;
    }

    .event-desc {

        font-size: 13px;

        line-height: 1.7;

        margin: 10px 0 18px;

        -webkit-line-clamp: 4;
    }

    .event-bottom {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 13px;
    padding-top: 16px;
    margin-top: 0;
}
    .event-location,
    .event-time {

        width: 100%;
    }

    .event-location > i,
    .event-time > i {

        width: 30px;
        height: 30px;

        font-size: 10px;
    }

    .event-location span,
    .event-time span {
        font-size: 9px;
    }

    .event-location strong,
    .event-time strong {

        font-size: 11px;

        white-space: normal;
    }

    .event-details-btn {

        justify-content: center;

        width: 100%;

        margin-left: 0;

        padding: 12px 18px;

        font-size: 12px;
    }

}

@media (max-width: 480px) {

    .event-card-new {

        grid-template-columns: 82px 1fr;
    }

    .event-date {

        width: 64px;
        height: 103px;
    }

    .date-top {
        height: 29px;
    }

    .date-top span {
        font-size: 9px;
    }

    .date-content strong {
        font-size: 27px;
    }

    .date-content span {
        font-size: 10px;
    }

    .date-content small {
        font-size: 8px;
    }

    .event-card-image {

        height: 190px;

        min-height: 190px;
    }

    .event-card-body {

        padding: 20px 17px;
    }

    .event-card-heading h3 {

        font-size: 18px;
    }

    .event-desc {

        font-size: 12px;

        line-height: 1.65;
    }

}

/* Agami upakram page style end */

/* Agami upakram detail page style start */
.event-breadcrumb {
    display: flex;
    align-items: center;
    gap: 9px;
    margin: 0 0 16px;
    padding: 0 3px;
    font-size: 15px;
}

.event-breadcrumb a {
    color: var(--indigo);
    text-decoration: none;
    transition: .2s ease;
}

.event-breadcrumb a:hover {
    color: var(--maroon);
}

.event-breadcrumb i {
    color: var(--gold);
    font-size: 10px;
}

.event-breadcrumb span {
    color: var(--maroon);
    font-weight: 600;
}

@media (max-width: 767px) {
    .event-breadcrumb {
        gap: 7px;
        margin-bottom: 12px;
        font-size: 11px;
    }
}
.event-sections {
    display: grid;
    gap: 14px;
}

.event-card {
    background: var(--paper-card);
    border: 1px solid var(--gold);
    border-radius: 14px;
    overflow: hidden;
}

.event-top-section {
    display: grid;
    grid-template-columns: 46% 54%;
    height: 500px;
    min-height: 500px;
}

.event-image-wrapper {
    width: 100%;
    height: 500px;
    overflow: hidden;
}

.event-image-wrapper img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    object-position: center;
}

.event-content {
    padding: 40px 38px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.event-title {
    margin: 0 0 15px;
    color: var(--maroon);
    font-size: 33px;
    font-weight: 600;
    line-height: 1.35;
}

.event-description {
    margin: 0 0 22px;
    color: var(--ink-soft);
    font-size: 14px;
    line-height: 1.7;
}

.event-details-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    border: 1px solid var(--line);
    border-radius: 8px;
    overflow: hidden;
}

.event-detail-item {
    display: flex;
    align-items: center;
    gap: 11px;
    min-height: 82px;
    padding: 12px 13px;
    border-right: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
}

.event-detail-item:nth-child(2n) {
    border-right: 0;
}

.event-detail-item:nth-last-child(-n+2) {
    border-bottom: 0;
}

.detail-icon {
    width: 41px;
    height: 41px;
    min-width: 41px;
    border-radius: 50%;
    background: var(--paper-2);
    color: var(--gold);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
}

.detail-content span {
    display: block;
    margin-bottom: 2px;
    color: #888;
    font-size: 10px;
    line-height: 1.4;
}

.detail-content strong {
    display: block;
    color: var(--indigo-dark);
    font-size: 13px;
    font-weight: 600;
    line-height: 1.4;
}

.detail-content small {
    display: block;
    margin-top: 2px;
    color: #777;
    font-size: 10px;
    line-height: 1.4;
}

.event-buttons {
    display: flex;
    gap: 10px;
    margin-top: 20px;
}

.register-btn,
.whatsapp-btn {
    min-height: 43px;
    padding: 0 18px;
    border: none;;
    border-radius: 6px;
    color: #fff;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-size: 13px;
    font-weight: 600;
    transition: .2s ease;
}

.register-btn {
    background: var(--maroon);
}

.register-btn:hover {
    background: var(--maroon-dark);
    color: #fff;
}

.register-btn span {
    display: inline-flex;
    align-items: center;
    gap: 7px;
}

.whatsapp-btn {
    background: #20b957;
}

.whatsapp-btn:hover {
    background: #159947;
    color: #fff;
}

.description-section,
.location-section {
    padding: 24px 30px;
}

.description-section h2,
.location-section h2 {
    display: flex;
    align-items: center;
    gap: 9px;
    margin: 0 0 14px;
    color: var(--maroon);
    font-size: 21px;
    font-weight: 600;
    line-height: 1.4;
}

.description-section h2 i,
.location-section h2 i {
    font-size: 18px;
}

.description-text p {
    margin: 0 0 10px;
    color: #555;
    font-size: 14px;
    line-height: 1.85;
}

.description-text p:last-child {
    margin-bottom: 0;
}

.location-layout {
    display: grid;
    grid-template-columns: 32% 68%;
    gap: 20px;
}

.address-box {
    min-height: 280px;
    padding: 22px;
    background: #fbf4e6;
    border: 1px solid #ead8b6;
    border-radius: 10px;
    display: flex;
    align-items: flex-start;
    gap: 13px;
}

.address-icon {
    width: 43px;
    height: 43px;
    min-width: 43px;
    border-radius: 50%;
    background: var(--maroon-tint);
    color: var(--maroon);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 17px;
}

.address-box span {
    display: block;
    margin-bottom: 6px;
    color: #888;
    font-size: 11px;
}

.address-box p {
    margin: 0;
    color: #555;
    font-size: 13px;
    line-height: 1.8;
}

.address-box strong {
    color: var(--indigo);
}

.map-box {
    height: 280px;
    overflow: hidden;
    border: 1px solid var(--gold-light);
    border-radius: 10px;
}

.map-box iframe {
    width: 100%;
    height: 100%;
    display: block;
    border: 0;
}

.map-link {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    margin-top: 13px;
    padding: 8px 12px;
    border: 1px solid var(--gold-light);
    border-radius: 6px;
    color: var(--gold);
    text-decoration: none;
    font-size: 11px;
    font-weight: 600;
    transition: .2s ease;
}

.map-link:hover {
    background: var(--gold);
    color: #fff;
}

@media (max-width: 1100px) {
    .event-content {
        padding: 32px;
    }

    .event-title {
        font-size: 29px;
    }
}

@media (max-width: 991px) {
    .event-top-section {
        grid-template-columns: 1fr;
        height: auto;
        min-height: 0;
    }

    .event-image-wrapper {
        width: 100%;
        height: 400px;
        min-height: 400px;
    }

    .event-image-wrapper img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

    .location-layout {
        grid-template-columns: 1fr;
    }

    .address-box {
        min-height: auto;
    }
}

@media (max-width: 767px) {
    .event-sections {
        gap: 10px;
    }

    .event-image-wrapper {
        height: 280px;
        min-height: 280px;
    }

    .event-content {
        padding: 25px 20px;
    }

    .event-title {
        font-size: 24px;
        line-height: 1.45;
    }

    .event-description {
        font-size: 14px;
        line-height: 1.8;
    }

    .event-details-grid {
        grid-template-columns: 1fr;
    }

    .event-detail-item {
        min-height: 78px;
        border-right: 0;
        border-bottom: 1px solid var(--line);
    }

    .event-detail-item:nth-last-child(-n+2) {
        border-bottom: 1px solid var(--line);
    }

    .event-detail-item:last-child {
        border-bottom: 0;
    }

    .event-buttons {
        flex-direction: column;
    }

    .register-btn,
    .whatsapp-btn {
        width: 100%;
    }

    .description-section,
    .location-section {
        padding: 22px 20px;
    }

    .description-section h2,
    .location-section h2 {
        font-size: 19px;
    }

    .location-layout {
        gap: 15px;
    }

    .map-box {
        height: 260px;
    }
}

@media (max-width: 480px) {
    .event-card {
        border-radius: 11px;
    }

    .event-image-wrapper {
        height: 220px;
        min-height: 220px;
    }

    .event-image-wrapper img {
        height: 100%;
        object-fit: cover;
    }

    .event-content {
        padding: 20px 16px;
    }

    .event-title {
        font-size: 21px;
    }

    .event-detail-item {
        padding: 11px;
    }

    .detail-icon {
        width: 39px;
        height: 39px;
        min-width: 39px;
    }

    .description-section,
    .location-section {
        padding: 20px 16px;
    }

    .address-box {
        padding: 18px;
    }

    .map-box {
        height: 230px;
    }
}
/* Agami upakram detail page style end */

/* registration popup style start */
.event-registration-modal .modal-dialog {
    max-width: 520px;
}

.event-registration-modal .modal-content {
    border: 1px solid var(--gold);
    border-radius: 14px;
    overflow: hidden;
    background: var(--paper-card);
    box-shadow: 0 15px 45px rgba(0, 0, 0, .18);
}

.event-registration-modal .modal-header {
    background: var(--maroon);
}

.event-registration-modal .modal-title {
    margin: 0;
    color: var(--maroon-tint);
    font-weight: 600;
}

.event-registration-modal .btn-close {
    font-size: 12px;
    box-shadow: none;
    background-color: var(--maroon-tint);
}


.registration-field {
    margin-bottom: 10px;
}

.registration-field label {
    display: block;
    margin-bottom: 7px;
    color: var(--indigo-dark);
    font-size: 13px;
    font-weight: 600;
}

.input-group-custom {
    display: flex;
    align-items: center;
    gap: 10px;
    min-height: 45px;
    padding: 0 13px;
    background: #fffdf8;
    border: 1px solid #dfd2bd;
    border-radius: 7px;
    transition: border-color .2s ease, box-shadow .2s ease;
}

.input-group-custom:focus-within {
    border-color: var(--gold);
    box-shadow: 0 0 0 3px rgba(211, 155, 39, .10);
}

.input-group-custom > i {
    width: 18px;
    color: var(--gold);
    font-size: 15px;
    text-align: center;
}

.input-group-custom input,
.input-group-custom textarea {
    width: 100%;
    border: 0;
    outline: 0;
    background: transparent;
    color: var(--indigo-dark);
    font-family: inherit;
    font-size: 13px;
}

.input-group-custom input {
    height: 43px;
}

.input-group-custom textarea {
    padding: 12px 0;
    resize: vertical;
    line-height: 1.6;
}

.input-group-custom input::placeholder,
.input-group-custom textarea::placeholder {
    color: #aaa;
}

.textarea-group {
    align-items: flex-start;
}

.textarea-group > i {
    margin-top: 13px;
}

.event-registration-modal .modal-footer {
    display: flex;
    justify-content: flex-end;
    gap: 10px;
    border-top: 0;
}

.cancel-registration-btn,
.submit-registration-btn {
    min-height: 42px;
    padding: 0 18px;
    border-radius: 6px;
    font-family: inherit;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
}

.cancel-registration-btn {
    background: transparent;
    border: 1px solid #d8cbb7;
    color: #777;
}

.cancel-registration-btn:hover {
    background: #f5eee2;
}

.submit-registration-btn {
    border: 1px solid var(--maroon);
    background: var(--maroon);
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.submit-registration-btn:hover {
    background: var(--maroon-dark);
    border-color: var(--maroon-dark);
}

@media (max-width: 575px) {

    .event-registration-modal .modal-dialog {
        margin: 12px;
    }

    .event-registration-modal .modal-header {
        padding: 18px 18px;
    }

    .event-registration-modal .modal-body {
        padding: 20px 18px 5px;
    }

    .event-registration-modal .modal-footer {
        padding: 12px 18px 18px;
    }

    .event-registration-modal .modal-title {
        font-size: 19px;
    }

    .cancel-registration-btn,
    .submit-registration-btn {
        flex: 1;
    }
}

/* registration popup style end */


/* Result declare page style start */

.result-box {
    background: var(--paper-card);
    border-radius: 12px;
    overflow: hidden;
    margin-bottom: 25px;
    box-shadow: 0 6px 20px rgba(72, 52, 25, .07);
}

.result-title,
.department-title {
    background: var(--maroon);
    color: var(--gold-light);
    text-align: center;
    padding: 16px;
    font-size: 20px;
    font-weight: 600;
}

.result-title i {
    margin: 0 8px;
}

.department-title {
    background: var(--indigo);
}

.winners {
    padding: 25px;
}

.top-winners {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
    align-items: end;
    max-width: 900px;
    margin: auto;
}

.winner {
    text-align: center;
    padding: 25px 15px;
    border: 1px solid var(--line);
    border-radius: 10px;
    transition: transform .3s ease, box-shadow .3s ease;
}

.winner:hover {
    transform: translateY(-6px) scale(1.02);
    box-shadow: 0 10px 25px rgba(72, 52, 25, .12);
}

.winner.first {
    min-height: 300px;
    background: var(--paper);
    border-color: var(--gold);
}

.winner.second {
    background: #f7f7f5;
}

.winner.third {
    background: #fff7f0;
}

.medal {
    width: 65px;
    height: 65px;
    margin: 0 auto 12px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
}

.first .medal {
    background: var(--gold-light);
    color: var(--gold);
}

.second .medal {
    background: #e0e3e5;
    color: #666d73;
}

.third .medal {
    background: #edb18c;
    color: #934c27;
}

.rank {
    color: var(--maroon);
    font-size: 12px;
}

.winner h3 {
    margin: 8px 0 4px;
}

.winner p {
    margin: 0;
    color: var(--ink-soft);
    font-size: 13px;
}

.prize {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    margin-top: 15px;
    padding: 6px 15px;
    border-radius: 20px;
    background: var(--maroon-tint);
    color: var(--maroon);
    font-weight: 700;
    border: 1px solid var(--maroon);
}

.encouragement-title {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin: 22px 0 12px;
    color: var(--maroon);
    font-size: 20px;
    font-weight: 800;
}

.encouragement-title::before,
.encouragement-title::after {
    content: "";
    height: 1px;
    flex: 1;
    background: var(--line);
}

.encouragement-title span {
    color: var(--gold);
}

.other-winners {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
    margin-top: 18px;
}

.small-winner {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 15px;
    border: 1px solid var(--line);
    border-left: 4px solid var(--gold);
    border-radius: 8px;
    background: var(--paper-card);
    transition: transform .3s ease, box-shadow .3s ease;
}

.small-winner:hover {
    transform: translateY(-5px) scale(1.01);
    box-shadow: 0 8px 20px rgba(72, 52, 25, .10);
}

.small-icon {
    width: 45px;
    height: 45px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: #f7e5ad;
    color: #9b7214;
}

.small-info {
    flex: 1;
}

.small-info h4 {
    margin: 3px 0;
    font-size: 16px;
}

.small-info p {
    margin: 0;
    color: var(--ink-soft);
    font-size: 12px;
}

.small-prize {
    color: var(--maroon);
    font-weight: 700;
    white-space: nowrap;
}

.department-content {
    padding: 22px;
}

.department-tabs {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 7px;
    margin-bottom: 20px;
}

.department-tab {
    padding: 8px 13px;
    border: 1px solid var(--gold-light);
    border-radius: 6px;
    background: var(--paper-card);
    color: var(--ink-soft);
    font-family: inherit;
    font-size: 13px;
    cursor: pointer;
    transition: .25s ease;
}

.department-tab:hover {
    transform: translateY(-2px);
}

.department-tab.active {
    background: var(--maroon);
    border-color: var(--maroon);
    color: #fff;
}

.department-heading {
    text-align: center;
    color: var(--maroon);
    font-size: 18px;
    margin-bottom: 15px;
}

.table-wrapper {
    overflow-x: auto;
}

.result-table {
    width: 100%;
    min-width: 760px;
    border-collapse: separate;
    border-spacing: 0;
    border: 1px solid var(--line);
    border-radius: 9px;
    overflow: hidden;
}

.result-table th {
    background: var(--maroon);
    color: #fff;
    padding: 10px 8px;
    font-size: 14px;
    text-align: center;
    font-weight: 800;
}

.result-table td {
    padding: 9px 8px;
    text-align: center;
    border-bottom: 1px solid var(--line);
    font-size: 14px;
}

.result-table tr:last-child td {
    border-bottom: 0;
}

.result-table tbody tr:hover td {
    background: var(--paper-2);
}

.table-prize {
    color: var(--maroon);
    font-weight: 900;
}

.table-icon {
    margin-right: 7px;
    font-size: 16px;
}

.first-icon {
    color: var(--gold);
}

.second-icon {
    color: #7d858a;
}

.third-icon {
    color: #b96b38;
}

.encouragement-icon {
    color: var(--gold);
}

.important-notice-box {
    width: 85%;
    max-width: 950px;
    margin: 20px auto;
    padding: 18px 22px;
    background: #fffaf1;
    border: 1px solid #8b1e2d;
    border-radius: 12px;
    box-shadow: 0 5px 15px rgba(72, 52, 25, .06);
    transition: transform .3s ease, box-shadow .3s ease;
}

.important-notice-box:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(72, 52, 25, .10);
}

.notice-heading {
    display: flex;
    align-items: center;
    gap: 12px;
    padding-bottom: 10px;
    margin-bottom: 10px;
    border-bottom: 1px solid #d9a441;
}

.notice-heading i {
    color: #8b1e2d;
    font-size: 22px;
}

.notice-heading h3 {
    margin: 0;
    color: #8b1e2d;
    font-size: 19px;
}

.important-notice-box ul {
    margin: 0;
    padding-left: 20px;
}

.important-notice-box li {
    margin-bottom: 8px;
    line-height: 1.5;
    color: #444;
}

.important-notice-box li:last-child {
    margin-bottom: 0;
}

.important-notice-box li::marker {
    color: #c6932e;
}

@media (max-width: 800px) {
    .top-winners,
    .other-winners {
        grid-template-columns: 1fr;
    }

    .winner.first {
        order: -1;
    }

    .important-notice-box {
        width: 100%;
    }
}

@media (max-width: 600px) {
    .winners,
    .department-content {
        padding: 15px;
    }

    .result-title,
    .department-title {
        font-size: 18px;
    }

    .department-tabs {
        justify-content: flex-start;
        flex-wrap: nowrap;
        overflow-x: auto;
        padding-bottom: 5px;
    }

    .department-tab {
        white-space: nowrap;
        flex-shrink: 0;
        font-size: 11px;
    }

    .department-heading {
        font-size: 16px;
    }

    .important-notice-box {
        padding: 15px;
    }

    .notice-heading h3 {
        font-size: 17px;
    }

    .important-notice-box li {
        font-size: 13px;
    }
}
/* Result declare page style end */



/* error page style start */
.error-page {
            width: 100%;
            background: var(--paper-card);
            border: 1px solid var(--gold-light);
            border-radius: 18px;
            padding: 45px 30px;
            text-align: center;
            box-shadow: 0 10px 35px rgba(72, 52, 25, .08);
        }

        .error-icon {
            width: 80px;
            height: 80px;
            margin: 0 auto 15px;
            border-radius: 50%;
            background: var(--maroon-tint);
            color: var(--maroon-dark);
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 40px;
        }

        .error-code {
            font-family: Georgia, serif;
            font-size: 100px;
            line-height: 1;
            font-weight: 700;
            color: var(--maroon);
            margin-bottom: 10px;
        }

        .error-title {
            font-size: 28px;
            color: var(--indigo);
            margin-bottom: 10px;
            font-weight: 600;
        }

        .error-text {
            font-size: 16px;
            line-height: 1.8;
            margin-bottom: 28px;
        }

        .home-btn {
            display: inline-block;
            background: #851f2b;
            color: #fff !important;
            text-decoration: none;
            padding: 12px 25px;
            border-radius: 7px;
            font-size: 15px;
            transition: .3s;
        }

        .home-btn:hover {
            background: #671721;
            transform: translateY(-2px);
        }

        .back-btn {
            display: inline-block;
            margin-left: 8px;
            color: #851f2b;
            border: 1px solid #851f2b;
            text-decoration: none;
            padding: 11px 22px;
            border-radius: 7px;
            font-size: 15px;
        }

        @media (max-width: 576px) {

            .error-page {
                padding: 35px 20px;
            }

            .site-name {
                font-size: 18px;
            }

            .error-code {
                font-size: 75px;
            }

            .error-title {
                font-size: 23px;
            }

            .error-text {
                font-size: 14px;
            }

            .back-btn {
                margin-left: 0;
                margin-top: 10px;
            }
        }
/* error page style end */


/* page loader style start */
.page-loader {
    position: fixed;
    inset: 0;
    z-index: 99999;
    background: var(--paper);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    transition: opacity .4s ease, visibility .4s ease;
}

.page-loader.hide {
    opacity: 0;
    visibility: hidden;
}

.logo-loader {
    width: 120px;
    height: 120px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.loader-ring {
    position: absolute;
    inset: 0;
    border: 5px solid var(--indigo);
    border-top-color: var(--maroon);
    border-right-color: var(--gold);
    border-radius: 50%;
    animation: loaderSpin 1.2s linear infinite;
}

.loader-logo {
    width: 78px;
    height: 78px;
    background: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.loader-logo img {
    width: 70px;
}

.page-loader p {
    margin-top: 18px;
    color: var(--maroon-dark);
}

@keyframes loaderSpin {
    to {
        transform: rotate(360deg);
    }
}
/* page loader style end */

/* gallary page style start */
        #gallery-section .card-image {
            position: relative;
            overflow: hidden;
           border-radius: 12px;
           height: 280px;
        }

        #gallery-section .card-image img {
            display: block;
            width: 100%;
            height: 100%;
            object-fit: cover;
            transition: transform .35s ease;
        }

        #gallery-section .card-image:hover img {
            transform: scale(1.08);
        }

        #gallery-section .gallery-caption {
            position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(84, 18, 27, 0.55);
    color: #fff;
    padding: 10px 12px;
    font-size: 16px;
    text-align: center;
    opacity: 0;
    transform: translateY(100%);
    transition: all .3s ease;
    z-index: 2;
        }

        #gallery-section .card-image:hover .gallery-caption {
            opacity: 1;
            transform: translateY(0);
        }
/* gallary page style end */


/* स्पर्धक लॉगिन page style start */
        .login-option-box {
            margin-top: 15px;
        }

        .divider {
            text-align: center;
            margin: 14px 0;
            position: relative;
            color: #888;
            font-size: 18px;
        }

        .divider::before,
        .divider::after {
            content: "";
            position: absolute;
            top: 50%;
            width: 42%;
            height: 1px;
            background: #ddd;
        }

        .divider::before {
            left: 0;
        }

        .divider::after {
            right: 0;
        }

        .divider span {
            /* background:#fff; */
            padding: 0 10px;
            font-weight: 600;
        }

        .otp-btn {
            background: #fff;
            color: #000000;
            border: 1px solid var(--gold);
        }

        .otp-btn:hover {
            background: var(--gold);
            ;
            color: #fff;
        }

        .input-group-btn {
            display: flex;
            gap: 10px;
        }

        .input-group-btn input {
            flex: 1;
        }

        .input-group-btn button {
            white-space: nowrap;
            padding: 0 15px;
        }
/* स्पर्धक लॉगिन page style end */

/* contact page style start */
    #contact-section {
        width: 100%;
    }

    #contact-section .contact-wrapper {
        display: flex;
        gap: 30px;
        align-items: flex-start;
        width: 100%;
    }

    #contact-section .contact-card {
        flex: 1 1 40%;
        min-width: 0;
    }

    #contact-section .contact-card-title,
    #contact-section .contact-form-title {
        margin-bottom: 18px;
        color: var(--maroon);
    }

    #contact-section .contact-info-item {
        display: flex;
        gap: 15px;
        margin-bottom: 20px;
        align-items: flex-start;
    }

    #contact-section .contact-info-icon {
        width: 52px;
        height: 52px;
        min-width: 52px;
        border-radius: 50%;
        background: var(--maroon);
        color: #fff;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 20px;
        flex-shrink: 0;
    }

    #contact-section .contact-info-content {
        min-width: 0;
    }

    #contact-section .contact-info-label {
        display: block;
        margin-bottom: 6px;
    }

    #contact-section .contact-info-text {
        margin: 0;
        color: var(--ink-soft);
        line-height: 1.7;
        word-break: break-word;
    }

    #contact-section .contact-info-link {
        text-decoration: none;
        color: inherit;
        word-break: break-word;
    }

    #contact-section .contact-info-link:hover {
        text-decoration: underline;
    }

    #contact-section .contact-follow {
        border-top: 1px solid var(--maroon);
        margin-top: 25px;
        padding-top: 5px;
    }

    #contact-section .contact-follow-title {
        margin-top: 20px;
        margin-bottom: 15px;
        color: var(--maroon);
    }

    #contact-section .contact-social-icons {
        display: flex;
        gap: 15px;
        flex-wrap: wrap;
    }

    #contact-section .contact-social-link {
        width: 46px;
        height: 46px;
        border-radius: 50%;
        background: var(--maroon);
        color: #fff;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 20px;
        text-decoration: none;
        transition: all 0.3s ease;
    }

    #contact-section .contact-social-link:hover {
        background: #b8860b;
        color: #fff;
        transform: translateY(-3px);
    }

    #contactFormWrapper {
        flex: 1 1 60%;
        min-width: 0;
        padding: 25px;
        box-sizing: border-box;
    }

    #contactForm .contact-form-row {
        display: flex;
        gap: 15px;
        width: 100%;
        margin-bottom: 15px;
    }

    #contactForm .contact-form-field {
        flex: 1 1 0;
        min-width: 0;
    }

    #contactForm .contact-input,
    #contactForm .contact-textarea {
        width: 100%;
        box-sizing: border-box;
        padding: 12px 14px;
        margin-bottom: 12px;
        border: 1px solid #ddd;
        border-radius: 6px;
        font-size: 15px;
        font-family: inherit;
        outline: none;
        transition: border-color 0.3s ease;
    }

    #contactForm .contact-input:focus,
    #contactForm .contact-textarea:focus {
        border-color: var(--maroon);
    }

    #contactForm .contact-textarea {
        resize: none;
        min-height: 120px;
    }

    #contactForm .contact-error {
        display: block;
        font-size: 12px;
        margin-top: -6px;
        margin-bottom: 5px;
    }

    #contactForm .contact-captcha-wrapper {
        margin-top: 10px;
    }

    #contactForm .contact-captcha {
        max-width: 100%;
        overflow: hidden;
    }

    #submitBtn {
        display: block;
        width: 100%;
        padding: 12px;
        border: none;
        border-radius: 8px;
        background: var(--maroon);
        color: #fff;
        font-size: 15px;
        font-family: inherit;
        cursor: pointer;
        transition: all 0.3s ease;
    }

    #submitBtn:hover {
        background: #b8860b;
    }

    #submitBtn:disabled {
        opacity: 0.7;
        cursor: not-allowed;
    }

    @media (max-width: 992px) {
        #contact-section .contact-wrapper {
            flex-direction: column;
            gap: 25px;
        }

        #contact-section .contact-card,
        #contactFormWrapper {
            width: 100%;
            flex: none;
        }

        #contactFormWrapper {
            padding: 22px;
        }
    }

    @media (max-width: 768px) {
        #contactForm .contact-form-row {
            flex-direction: row;
            gap: 12px;
        }

        #contactForm .contact-form-field {
            width: 50%;
        }

        #contactFormWrapper {
            padding: 20px;
        }

        #contact-section .contact-card-title,
        #contact-section .contact-form-title {
            font-size: 21px;
        }

        #contact-section .contact-info-item {
            gap: 12px;
        }
    }

    @media (max-width: 600px) {
        #contact-section .contact-wrapper {
            gap: 20px;
        }

        #contactFormWrapper {
            padding: 18px;
        }

        #contactForm .contact-form-row {
            flex-direction: column;
            gap: 0;
            margin-bottom: 0;
        }

        #contactForm .contact-form-field {
            width: 100%;
            flex: none;
        }

        #contactForm .contact-input,
        #contactForm .contact-textarea {
            padding: 11px 12px;
            font-size: 14px;
        }

        #contact-section .contact-info-item {
            gap: 12px;
            margin-bottom: 18px;
        }

        #contact-section .contact-info-icon {
            width: 45px;
            height: 45px;
            min-width: 45px;
            font-size: 17px;
        }

        #contact-section .contact-info-text {
            font-size: 14px;
            line-height: 1.6;
        }

        #contact-section .contact-card-title,
        #contact-section .contact-form-title {
            font-size: 20px;
            margin-bottom: 15px;
        }

        #contact-section .contact-social-icons {
            gap: 10px;
        }

        #contact-section .contact-social-link {
            width: 42px;
            height: 42px;
            font-size: 18px;
        }

        #contactForm .contact-captcha {
            transform: scale(0.85);
            transform-origin: left top;
        }
    }

    @media (max-width: 400px) {
        #contactFormWrapper {
            padding: 15px;
        }

        #contact-section .contact-card-title,
        #contact-section .contact-form-title {
            font-size: 19px;
        }

        #contact-section .contact-info-item {
            gap: 10px;
        }

        #contact-section .contact-info-icon {
            width: 42px;
            height: 42px;
            min-width: 42px;
            font-size: 16px;
        }

        #contact-section .contact-social-link {
            width: 40px;
            height: 40px;
            font-size: 17px;
        }

        #contactForm .contact-captcha {
            transform: scale(0.78);
        }
    }
/* contact page style end     */

