﻿html, body {
    font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
    overflow-x:hidden;
     height: 100vh;
}

h1:focus {
    outline: none;
}

a, .btn-link {
    color: #0071c1;
}

.btn-primary {
    color: #fff;
    background-color: #1b6ec2;
    border-color: #1861ac;
}


.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {
  box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;
}

.content {
    padding-top: 1.1rem;
}

.valid.modified:not([type=checkbox]) {
    outline: 1px solid #26b050;
}

.invalid {
    outline: 1px solid red;
}

.validation-message {
    color: red;
}

#blazor-error-ui {
    color-scheme: light only;
    background: lightyellow;
    bottom: 0;
    box-shadow: 0 -1px 2px rgba(0, 0, 0, 0.2);
    box-sizing: border-box;
    display: none;
    left: 0;
    padding: 0.6rem 1.25rem 0.7rem 1.25rem;
    position: fixed;
    width: 100%;
    z-index: 1000;
}

    #blazor-error-ui .dismiss {
        cursor: pointer;
        position: absolute;
        right: 0.75rem;
        top: 0.5rem;
    }

.blazor-error-boundary {
    background: url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNTYiIGhlaWdodD0iNDkiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1sbnM6eGxpbms9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkveGxpbmsiIG92ZXJmbG93PSJoaWRkZW4iPjxkZWZzPjxjbGlwUGF0aCBpZD0iY2xpcDAiPjxyZWN0IHg9IjIzNSIgeT0iNTEiIHdpZHRoPSI1NiIgaGVpZ2h0PSI0OSIvPjwvY2xpcFBhdGg+PC9kZWZzPjxnIGNsaXAtcGF0aD0idXJsKCNjbGlwMCkiIHRyYW5zZm9ybT0idHJhbnNsYXRlKC0yMzUgLTUxKSI+PHBhdGggZD0iTTI2My41MDYgNTFDMjY0LjcxNyA1MSAyNjUuODEzIDUxLjQ4MzcgMjY2LjYwNiA1Mi4yNjU4TDI2Ny4wN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gMjY2LjExNiA4Ni4wNTQ3IDI2My41NzYgODYuMDU0N1oiIGZpbGw9IiNGRkU1MDAiIGZpbGwtcnVsZT0iZXZlbm9kZCIvPjwvZz48L3N2Zz4=) no-repeat 1rem/1.8rem, #b32121;
    padding: 1rem 1rem 1rem 3.7rem;
    color: white;
}

    .blazor-error-boundary::after {
        content: "An error has occurred."
    }

.loading-progress {
    position: relative;
    display: block;
    width: 8rem;
    height: 8rem;
    margin: 20vh auto 1rem auto;
}

    .loading-progress circle {
        fill: none;
        stroke: #e0e0e0;
        stroke-width: 0.6rem;
        transform-origin: 50% 50%;
        transform: rotate(-90deg);
    }

        .loading-progress circle:last-child {
            stroke: #1b6ec2;
            stroke-dasharray: calc(3.141 * var(--blazor-load-percentage, 0%) * 0.8), 500%;
            transition: stroke-dasharray 0.05s ease-in-out;
        }

.loading-progress-text {
    position: absolute;
    text-align: center;
    font-weight: bold;
    inset: calc(20vh + 3.25rem) 0 auto 0.2rem;
}

    .loading-progress-text:after {
        content: var(--blazor-load-percentage-text, "Loading");
    }

code {
    color: #c02d76;
}

.form-floating > .form-control-plaintext::placeholder, .form-floating > .form-control::placeholder {
    color: var(--bs-secondary-color);
    text-align: end;
}

.form-floating > .form-control-plaintext:focus::placeholder, .form-floating > .form-control:focus::placeholder {
    text-align: start;
}
/* Login */
.login-card {
    max-width: 420px !important;
    width: 100%;
    z-index:2;
}

/* carousel home*/
.carousel-inner img {
    border-radius: 1rem;
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
    background-size: 60%, 60%;
    filter: invert(1);
}

.carousel-indicators [data-bs-target] {
    background-color: #333;
    width: 8px;
    height: 8px;
    border-radius: 50%;
}
/*topnav buttons*/
/* Brand Outline Button Style */
.btn-outline-prarambh {
    color: #0891b2; /* cyan-600 */
    border: 2px solid #0891b2; /* cyan-600 */
    background-color: transparent;
    transition: all 0.25s ease-in-out;
    font-weight: 500;
    border-radius: 999px;
}

    .btn-outline-prarambh:hover {
        background-color: #0891b2; /* cyan-600 */
        border-color: #0891b2;
        color: #fff;
        transform: translateY(-1px);
        box-shadow: 0 10px 18px rgba(103, 232, 249, 0.6);
    }

/*  Brand Filled Button */
.btn-prarambh {
    background-color: #0891b2; /* cyan-600 */
    color: white;
    font-weight: 500;
    border-radius: 999px;
    border: none;
    box-shadow: 0 10px 18px rgba(103, 232, 249, 0.6);
    transition: all 0.2s ease;
}

    .btn-prarambh:hover {
        background-color: #0e7490; /* cyan-700 */
    }


.text-prarambh {
    color: #0891b2;
}

.nav-pills .nav-link {
    color: #6DA544;
    font-weight: 500;
    transition: 0.3s;
}

    .nav-pills .nav-link.active {
        background: #6DA544;
        color: #fff;
    }

.green-outline {
    border-color: #6DA544 !important;
    color: #6DA544;
}

.bg-prarambh {
    background-color: #0891b2 !important; /* cyan-600 */
    color: #fff !important;
    border-radius: 999px;
    font-weight: 500;
    transition: all 0.25s ease-in-out;
    box-shadow: 0 10px 18px rgba(103, 232, 249, 0.6);
}

    .bg-prarambh:hover {
        background-color: #0e7490 !important; /* cyan-700 */
    }


.hero-bg {
    background: linear-gradient(to right, #f8fbfd, #eaf3f7);
}
/* Wrapper */
.section-wrapper {
    max-width: 1200px;
    margin: auto;
    padding: 0 20px;
    text-align: center;
}

/* Titles */
.prob-title {
    color: #6c8f12;
    font-size: 42px;
    margin-bottom: 30px;
}

/* Sections */
.prob-sec, .road-sec {
    padding: 10px 0;
    margin: 0;
}

/* Image */
/* Image styling */ .prob-img, .road-img {
    width: 100%;
    height: 580px;
    object-fit: cover;
    padding: 10px;
    border-radius: 12px;
    box-shadow: 0 4px 18px rgba(0,0,0,0.25); /* soft shadow */
}

/* Overlay layout */
.prob-wrap, .road-wrap {
    position: relative;
}

/* Text Overlay */
.prob-box, .road-box {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 75%;
    background: rgba(255,255,255,0.7);
    backdrop-filter: blur(6px);
    padding: 18px;
    border-radius: 10px;
}

/* Subtitles */
.prob-sub, .road-title {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 8px;
}

/* ⭐ Mobile Responsive Fix */
@media (max-width: 768px) {
    .prob-img, .road-img {
        height: auto;
    }

    .prob-box, .road-box {
        position: static;
        transform: none;
        width: 100%;
    }
}

@media (max-width: 480px) {
    .prob-title {
        font-size: 22px;
    }
}

/*----ourvision/ keycampaign----*/
/* Section spacing */
.vision-cards-section {
    padding: 30px 0;
}

/* Layout */
.vision-cards-wrapper {
    display: flex;
    gap: 20px;
    max-width: 1200px;
    margin: auto;
}

/* Card styles */
.vision-card {
    flex: 1;
    border-radius: 10px;
    background: #fff;
    box-shadow: 0 4px 10px rgba(0,0,0,0.06);
    overflow: hidden;
}

/* Image with overlay title */
.vision-card-img {
    position: relative;
    height: 50vh;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.12);
}

.vision-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.vision-card-title {
    position: absolute;
    bottom: 15px;
    left: 15px;
    color: #C4FF00;
    text-shadow: 2px 2px 5px #000;
    font-size: 42px;
}

/* Text */
.vision-card-text {
    padding: 15px;
    margin: 0;
    font-size: 16px;
    line-height: 1.45;
}

/* 📱 Mobile Responsive */
@media (max-width: 768px) {
    .vision-cards-wrapper {
        flex-direction: column;
    }

    .vision-card-img {
        height: 280px;
    }

    .vision-card-title {
        font-size: 22px;
    }
}

/* 📱 Small mobiles */
@media (max-width: 480px) {
    .vision-card-img {
        height: 230px;
    }

    .vision-card-title {
        font-size: 20px;
    }
}


/* Campaigns Section */
.campaigns-section {
    margin-top: 3rem;
    margin-bottom: 3rem;
    background: linear-gradient(to right, #f8fbfd, #eaf3f7);
}

/* Section header */
.section-title {
    color: #6c8f12;
    font-size: 42px;
    margin-bottom: 30px;
}

.section-subtitle {
    color: #6c757d;
}

/* Campaigns Row */
.campaigns-row {
    flex-wrap: wrap;
    gap: 20px;
}

/* Campaign Card */
.campaign-card {
    width: 100%;
    max-width: 80%;
    background: #fff;
    border: 1px solid #eaeaea;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.05);
    overflow: hidden;
    margin: 0 auto;
}

/* Image on left - Desktop */
.campaign-img-wrapper {
    flex: 0 0 40%;
    max-width: 40%;
    overflow: hidden;
}

.campaign-img {
    width: 60%;
    height: auto;
    object-fit: contain;
    display: block;
    margin: 0 auto;
}

/* Content */
.campaign-body {
    flex: 1;
    padding: 0 20px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.campaign-title {
    font-style: italic;
    color: #6c8f12;
    margin-bottom: 0.5rem;
}

.campaign-subtitle {
    color: #6c757d;
    margin-bottom: 10px;
}

.center-ul {
    max-width: 900px;
    margin: 0 auto;
    text-align: left;
    display: block;
}

/* -------------------------------- */
/* 📱 Mobile & Tablet Responsiveness */
/* -------------------------------- */
@media (max-width: 992px) {

    .campaign-card {
        flex-direction: column;
        align-items: center;
        max-width: 100%;
        width: 100%;
    }

        .campaign-card > .campaign-title {
            order: 1;
            width: 100%;
            padding: 0 10px;
        }

        .campaign-card .d-flex {
            flex-direction: column !important;
            width: 100%;
            align-items: center;
        }

    .campaign-img-wrapper {
        order: 2;
        width: 100%;
        max-width: 100% !important;
        display: flex;
        justify-content: center;
        margin-bottom: 10px;
    }

    .campaign-img {
        width: 90%;
        height: auto;
    }

    .campaign-body {
        order: 3;
        width: 100%;
        padding: 12px;
    }

    .center-ul {
        order: 4;
        width: 100%;
        padding: 0 20px;
        text-align: left;
        margin-top: 10px;
    }
}

@media (max-width: 576px) {
    .campaign-img {
        width: 100%;
    }
}

/* ============= UNIQUE SECTION ============= */

.unique-section {
    padding: 40px;
}

.unique-heading {
    margin-left: 60px;
    margin-bottom: 30px;
}

    .unique-heading h2 {
        color: #6c8f12;
        font-size: 42px;
        margin-bottom: 30px;
    }

/* Desktop style remains same */
.unique-images {
    display: flex;
    justify-content: center;
    gap: 20px;
    max-width: 1200px;
    margin: auto;
}

    .unique-images img {
        width: 33%;
        border-radius: 10px;
        box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    }

/* Responsive */
@media (max-width: 992px) {
    .unique-images {
        flex-direction: column;
        align-items: center;
    }

        .unique-images img {
            width: 90%;
        }

    .unique-heading {
        margin-left: 0;
    }

        .unique-heading h2 {
            font-size: 30px;
        }
}

@media (max-width: 576px) {
    .unique-images img {
        width: 100%;
    }

    .unique-heading h2 {
        font-size: 26px;
    }
}

/* Wrapper */
.info-section {
    display: flex;
    max-width: 1200px;
    margin: auto;
    gap: 50px;
    padding: 7rem 0;
    background: linear-gradient(to right, #f8fbfd, #eaf3f7);
}

/* Each block */
.info-box {
    align-items: center; /* 🔥 Ensures both title + list start at top */
    gap: 50px;
    margin: 40px 20px;
}

    /* Reverse row for second block */
    .info-box.reverse {
        flex-direction: row-reverse;
        align-items: center; /* keep top alignment */
    }

/* Title section */
.info-title-box {
    padding: 0; /* 🔥 Remove padding so title sits at top */
    padding-right: 20px;
    color: #6c8f12;
}

.info-title {
    color: #6c8f12;
    font-size: 42px;
    margin-bottom: 30px;
}

/* Text content */
.info-content {
    padding: 0; /* 🔥 remove extra spacing so list aligns with title top */
    margin-top:30px;
}

    .info-content ul {
        padding: 0;
        margin: 0;
        line-height: 2;
    }

/* Responsive */
@media (max-width: 768px) {
    .info-section {
        flex-direction: column;
    }

    .info-box,
    .info-box.reverse {
        flex-direction: column;
        align-items: flex-start;
    }
}

/* Achievement */

/* Section wrapper */
.achievements-section {
    max-width: 1200px;
    margin: 50px auto;
    text-align: center; /* Center alignment in desktop */
}

/* Heading */
.achievements-title {
    color: #6c8f12;
    font-size: 42px;
    margin-bottom: 30px;
}

/* Main row */
.achievements-row {
    display: flex;
    gap: 40px;
    align-items: flex-start;
    justify-content: center;
    text-align: left; /* Keep text aligned left inside */
}

/* Left content */
.achievements-content {
    flex: 1;
    line-height: 1.8;
}

    .achievements-content ul {
        padding: 0;
    }

/* Sub list */
.sub-list {
    padding-left: 20px;
    margin-top: 10px;
}

/* Right images */
.achievements-images {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 20px;
    align-items: center;
}

/* Images */
.ach-img {
    width: 60%;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.12);
}

/* Responsive */
@media (max-width: 992px) {
    .achievements-title {
        font-size: 34px;
    }
}

@media (max-width: 768px) {
    .achievements-row {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .achievements-content ul,
    .sub-list {
        text-align: left; /* Keep bullet alignment readable */
    }

    .ach-img {
        width: 90%;
    }
}

@media (max-width: 480px) {
    .achievements-title {
        font-size: 28px;
    }
}

/*----- Footer ------*/
.footer {
    background: linear-gradient(to right, #f8fbfd, #eaf3f7);
    padding: 40px 20px;
}

.contact-heading {
    margin-left: 60px;
    margin-bottom: 30px;
}

    .contact-heading h2 {
        color: #6c8f12;
        font-size: 42px;
        margin: 0;
    }

.contact-list-container {
    margin: 0 auto;
    line-height: 2;
}

.contact-list {
    list-style-type: none;
    margin-left: 140px;
    padding: 0;
}

    .contact-list li {
        text-decoration: none;
    }

/* Responsive */
@media (max-width: 992px) {
    .contact-heading {
        margin-left: 0;
    }

        .contact-heading h2 {
            font-size: 28px;
        }

    .contact-list {
        margin-left: 0;
    }
}



.certificate-page-wrapper {
    padding: 1rem;
}

.certificate-page {
    background: #f8fafc;
    padding: 1.5rem;
}

/* main A4-ish card */
.certificate-border-outer {
    border: 4px solid #cbd5e1;
    background: #fdfdf9;
    padding: 16px;
}

.certificate-border-inner {
    border: 2px solid #94a3b8;
    padding: 32px 40px;
    background: #fcfcf5;
}

/* header */
.certificate-subtitle {
    letter-spacing: 0.2em;
    font-size: 0.7rem;
    color: #64748b;
}

.certificate-title {
    margin-top: 0.5rem;
    font-size: 2rem;
    font-weight: 600;
    font-family: "Georgia", "Times New Roman", serif;
    color: #14532d;
}

/* name + text */
.certificate-label {
    font-size: 0.9rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: #64748b;
}

.certificate-name {
    font-size: 2.2rem;
    font-weight: 500;
    font-family: "Georgia", "Times New Roman", serif;
    color: #111827;
}

.certificate-text {
    max-width: 520px;
    margin: 0 auto;
    font-size: 0.95rem;
    color: #4b5563;
}

/* meta */
.certificate-meta .meta-label {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #94a3b8;
}

.certificate-meta .meta-value {
    font-size: 0.9rem;
    color: #111827;
}

/* footer */
.signature-line {
    border-bottom: 1px solid #94a3b8;
    width: 80%;
    margin-left: auto;
    margin-right: auto;
    height: 24px;
}

.certificate-seal {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 96px;
    height: 96px;
    border-radius: 50%;
    border: 3px solid #15803d;
    background: radial-gradient(circle, #fefce8 0%, #facc15 60%, #fbbf24 100%);
    box-shadow: 0 4px 8px rgba(15, 23, 42, 0.15);
}

    .certificate-seal .seal-inner {
        text-align: center;
        font-size: 0.7rem;
        text-transform: uppercase;
        letter-spacing: 0.1em;
        color: #1f2937;
    }

        .certificate-seal .seal-inner strong {
            display: block;
            font-size: 0.8rem;
        }

/* print only the certificate area if you want */
@media print {
    body {
        background: #ffffff !important;
    }

    .no-print {
        display: none !important;
    }

    .certificate-print-area {
        margin: 0;
        padding: 0;
    }
}

