:root {
    --secondary: #ffffff;
    --ternary: #363839;

    /* Generated Scale (Relative to --accent-color-500) */
    --accent-color-50: color-mix(in srgb, var(--accent-color-500), white 90%);
    --accent-color-100: color-mix(in srgb, var(--accent-color-500), white 80%);
    --accent-color-200: color-mix(in srgb, var(--accent-color-500), white 60%);
    --accent-color-300: color-mix(in srgb, var(--accent-color-500), white 40%);
    --accent-color-400: color-mix(in srgb, var(--accent-color-500), white 20%);
    --accent-color-450: color-mix(in srgb, var(--accent-color-500), white 10%);
    --accent-color-475: color-mix(in srgb, var(--accent-color-500), white 5%);
    --accent-color-600: color-mix(in srgb, var(--accent-color-500), black 10%);
    --accent-color-700: color-mix(in srgb, var(--accent-color-500), black 40%);
    --accent-color-800: color-mix(in srgb, var(--accent-color-500), black 60%);
    --accent-color-900: color-mix(in srgb, var(--accent-color-500), black 80%);

    /* Helpers */
    --accent-10: var(--accent-color-50);
}

.bg-primary-dynamic {
    background-color: var(--accent-color-500) !important;
}

.bg-primary-light-dynamic {
    background-color: var(--accent-color-600) !important;
}

.bg-header-dynamic {
    background-color: var(--header-bg) !important;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    position: relative;
    z-index: 10;
}

.bg-button-dynamic {
    background-color: var(--button-color) !important;
}

.text-primary-dynamic {
    color: var(--accent-color-500) !important;
}

.text-label-dynamic {
    color: var(--label-color) !important;
}

/* Section Backgrounds */
.project-info,
.counter-container {
    background-color: var(--accent-color-50) !important;
}

* {
    box-sizing: border-box;
    padding: 0;
    margin: 0;
    font-family: "Inter", sans-serif;
}

body {
    font-family: "Inter", sans-serif;
    -webkit-font-smooothing: antialiased;
}

/* Utility Classes */
.field-form {
    border: 1px solid #ccc;
    height: 40px;
    outline: none;
}

.btn1 {
    background: var(--secondary);
    color: var(--accent-color-500);
    text-decoration: none;
    font-size: 16px;
    font-weight: 500;
    text-transform: uppercase;
    border: none;
    padding: 1.2rem 3rem;
    border-radius: 4px;
    margin: 0 auto;
    margin-top: 20px;
    margin-bottom: 40px;
    display: block;
    text-align: center;
    letter-spacing: 1px;
    max-width: 300px;
    transition: all 0.3s ease;
}

.btn1:hover {
    color: var(--accent-color-500);
    transform: translateY(-5px);
}

.btn2 {
    text-decoration: none;
    background: var(--accent-color-500);
    color: var(--secondary);
    font-size: 16px;
    font-weight: 500;
    text-transform: uppercase;
    border: none;
    padding: 1.3rem 3.5rem;
    border-radius: 4px;
    margin: 0 auto;
    display: block;
    text-align: center;
}

.l-text {
    margin-top: 8px;
    font-weight: 600;
    font-size: 16px;
    color: var(--accent-color-500);
    text-transform: capitalize;
}

.l-text_1 {
    color: var(--ternary);
    font-weight: 600;
    font-size: 20px;
    text-transform: capitalize;
}

.bf-text {
    font-size: 14px;
    font-weight: 500;
    color: var(--ternary);
    text-align: center;
}

.b-heading {
    color: var(--secondary);
    text-transform: uppercase;

    text-align: center;
    z-index: 100;
    letter-spacing: 2.5px;

    font-weight: 500;
    font-family: "Inter", sans-serif;
    font-size: 38px;
    margin-top: 0;
    margin-bottom: 0;
}

.buy-text {
    font-size: 1.25rem;
    font-weight: 400;
    color: var(--secondary);
    text-align: center;
    padding: .65rem 0 0 0;
    margin: 0;
}

.s-heading {
    color: var(--ternary);
    text-transform: uppercase;
    font-weight: 500;
    font-size: 40px;
    text-align: center;
    z-index: 100;
    letter-spacing: 1.2px;
    line-height: 1.1;
    margin-bottom: 25px;
}

.s-text {
    font-size: 20px;
    font-weight: 400;
    color: var(--ternary);
    text-align: center;
}

.c-heading {
    color: var(--ternary);
    font-weight: 700;
    font-size: 30px;
    text-align: center;
    z-index: 100;
    letter-spacing: 1px;
    padding-left: 20px;
    padding-right: 20px;
}

.buy-header {
    text-align: center;
    margin-bottom: 15px;
    width: 100%;
}

.buy-title {
    color: var(--secondary);
    font-weight: 500;
    font-size: 40px;
    text-align: center;
    letter-spacing: 1.2px;
    line-height: 1.1;
    margin-bottom: 15px;
    display: block;
}

.buy-sub-title {
    color: var(--secondary);
    font-weight: 400;
    font-size: 20px;
    text-align: center;
    letter-spacing: 1.2px;
    line-height: 1.1;
    display: block;
}

.error-heading {
    color: var(--ternary);
    text-transform: uppercase;
    font-weight: 700;
    font-size: 36px;
    text-align: center;
    z-index: 100;
    letter-spacing: 1px;
}

/* Core Grid Definitions */
.unit-img {
    height: auto !important;
    width: 100% !important;
    overflow: hidden !important;
    border-radius: 20px !important;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
    margin: 0 auto;
}

.unit-img-pc {
    display: grid !important;
    grid-template-columns: repeat(44, 1fr);
    grid-template-rows: repeat(36, 1fr);
    grid-auto-rows: 1fr;
    row-gap: 1px !important;
    column-gap: 1px !important;
    background-size: cover !important;
    background-position: center !important;
    aspect-ratio: 44 / 36;
}

.unit-img-mob {
    display: grid !important;
    grid-template-columns: repeat(16, 1fr);
    grid-template-rows: repeat(24, 1fr);
    grid-auto-rows: 1fr;
    row-gap: 1px !important;
    column-gap: 1px !important;
    background-size: cover !important;
    background-position: center !important;
    aspect-ratio: 16 / 24;
}

.pc-overlay,
.mobile-overlay {
    display: contents !important;
}

.img_unit_change {
    width: 100% !important;
    height: 100% !important;
    border: none !important;
    object-fit: cover !important;
    box-sizing: border-box;
    display: block;
}

.grid-text-pc,
.grid-text-mob {
    font-size: 16px;
    text-align: center;
    font-weight: 500;
    width: 100%;
}

.grid-text-pc,
.grid-text-mob {
    padding-bottom: 10px;
}

section.logo-main .logo-img a img {
    border-radius: 6px;
    margin: 0 auto;
    display: block;
    height: auto;
    width: auto;
    max-height: 100px;
    max-width: 100px;
}

section.logo-main {
    background: #d3d5d4;
}

/* ==========================================================================
   UNIT SEARCH & POPUP
   ========================================================================== */

.search-unit {
    background-color: var(--accent-color-50) !important;
    padding: 80px 0;
}

section.search-unit {
    padding: 80px 0;
}

section.search-unit .search-center {
    margin: 0 auto;
}

section.search-unit .search-bar {
    position: relative;
}

section.search-unit .search {
    position: relative;
    box-shadow: 0 0 0px rgba(51, 51, 51, 0.1);
}

section.search-unit .search input {
    height: 60px;
    text-indent: 10px;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 2px;
    border: 1px solid var(--accent-color-500);
    border-radius: 4px;
    width: 100%;
    box-sizing: border-box;
}

section.search-unit .search input:focus {
    box-shadow: none;
    border: 2px solid var(--accent-color-500);
}

section.search-unit .search .fa-search {
    position: absolute;
    top: 20px;
    left: 16px;
}

section.search-unit .search button {
    position: absolute;
    top: 5px;
    right: 5px;
    height: 50px;
    width: 110px;
    background: var(--accent-color-500);
    border: none;
    font-size: 14px;
    font-weight: 400;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.search-modal-name {
    font-size: 24px;
    font-weight: 600;
    color: var(--accent-color-500);
    text-align: center;
}

.search-modal-date {
    font-size: 16px;
    font-weight: 500;
    color: var(--ternary);
    text-align: center;
    margin: 0;
}

section.error-pg {
    width: 40%;
    margin: 80px auto;
}

section.error-pg .error-found .c-icon {
    margin: 50px auto;
    color: var(--secondary);
    border-radius: 6rem;
    height: 160px;
    width: 160px;
    text-decoration: none;
    font-size: 7rem;
    padding-top: 1.3rem;
}

section.error-pg .error-found .s-icon {
    margin: 50px auto;
    color: var(--accent-color-500);
    text-decoration: none;
    font-size: 12rem;
}

/* Dedicated Payment Status Icon */

section.success-pg {
    width: 40%;
    margin: 80px auto;
}

.btn4 {
    text-decoration: none;
    font-weight: 500;
    font-size: 14px;
    text-transform: uppercase;
    background: var(--accent-color-500);
    padding: 1rem 2rem;
    color: var(--secondary);
    margin: 2rem 0;
    border-radius: 4px;
    letter-spacing: 1px;
}

.btn4:hover {
    background: var(--secondary);
    color: var(--accent-color-500);
    border: 1px solid var(--accent-color-500);
    transition: all 0.4s ease;
}

section.counter-container {
    padding: 50px 0;
}

/* Counter Chart */
.counter-chart-container {
    text-align: center;
    margin-bottom: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    overflow: hidden;
}

#counter-chart-graph {
    display: block;
    margin: 0 auto;
    max-width: 100%;
    width: 500px;
    height: 300px;
}

@media screen and (max-width: 768px) {
    #counter-chart-graph {
        width: 100%;
        height: 250px;
    }
}

section.counter-container .counter .counter-img img {
    margin: 0 auto;
    display: block;
    height: 250px;
    width: 250px;
}

section.counter-container .counter .counter-heading span {
    font-weight: 800;
    color: var(--accent-color-500);
}

section.counter-container .counter-heading {
    margin: 25px 0;
}

/* Price Brick */
section.buy-container {
    height: auto;
    padding: 100px 0;
    background: radial-gradient(ellipse at center, var(--accent-color-400) 0%, var(--accent-color-500) 100%);
    text-align: center;
}

section.buy-container .buy-pricing {
    color: var(--secondary);
    font-weight: 700;
    font-size: 8rem;
    margin: 0 auto;
    display: block;
    text-align: center;
}

section.buy-container .buy-pricing sup {
    color: var(--secondary);
    font-weight: 700;
    font-size: 1.6rem;
    vertical-align: top;
    position: relative;
    top: 2.8rem;
}

.buy-gateway-logos {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 16px;
    margin-top: 24px;
    /* margin-bottom: 16px; */
}

.buy-gateway-logos img {
    height: 48px;
    width: auto;
    object-fit: contain;
    display: block;
    opacity: 0.5;
}

/* Form Page */
section.unit-form .form-check .radio-btn label {
    font-size: 16px;
    color: var(--ternary);
    font-weight: 500;
    text-transform: capitalize;
}

.form-check-input:checked {
    background-color: var(--accent-color-500) !important;
    border-color: #fff !important;
}

footer {
    height: auto;
    padding: 40px 0;
}

footer .footer-text {
    text-align: center;
}
footer .footer-logo-link {
    display: inline-block;
    margin-bottom: 0.5rem;
}
footer .footer-logo {
    max-height: 48px;
    width: auto;
    display: block;
}
footer .footer-site-title {
    font-size: 1.1rem;
    font-weight: 600;
    color: #ffffff;
    margin: 0 0 0.5rem;
}
footer .footer-tagline {
    font-size: 14px;
    font-weight: 400;
    font-style: italic;
    color: #ffffff;
    margin: 0 0 1.25rem;
    opacity: 0.95;
}
footer .footer-text h5 {
    font-size: 13px;
    font-weight: 300;
    text-align: center;
    color: #ffffff;
    margin-bottom: 0;
}

/* Certificate */
section.unit-cert .top-main {
    background: var(--accent-color-500);
    padding: 0.7rem 2rem;
    height: 80px;
    width: 100%;
}

section.brick-cert .card {
    width: 80%;
    text-align: center;
    margin: 0 auto;
    display: block;
    height: 750px;
    border: 1px solid #ccc;
    margin-top: 2rem;
}

/* section.brick-cert .top-main p {
    margin-bottom: 0.5rem;
} */

section.unit-cert .top-main img {
    margin: 0 auto;
    display: block;
    height: 80px;
    width: 150px;
}

section.unit-cert .card .text-cert h2 {
    font-family: "Inter", sans-serif;
    text-align: center;
    margin: 0 auto;
    display: block;
    text-transform: uppercase;
    font-size: 4.5rem;
    font-weight: 500;
    color: var(--accent-color-500);
    margin-top: 6.5rem;
}

section.unit-cert .card .text-cert span {
    font-family: "Inter", sans-serif;
    text-transform: uppercase;
    font-size: 30px;
    font-weight: 300;
    color: var(--accent-color-500);
    text-align: right;
    margin: 0 auto;
    display: block;
    width: 64%;
}

section.unit-cert .card .cert-name {
    margin: 1.5rem 0;
}

section.unit-cert .card .cert-name span {
    font-size: 24px;
    font-weight: 600;
    color: var(--ternary);
    text-transform: uppercase;
}

section.unit-cert .card .cert-name h3 {
    font-size: 30px;
    font-weight: 600;
    color: var(--ternary);
    text-transform: uppercase;
}

section.unit-cert .card .cert-name .unit-number span {
    color: red;
    font-size: 20px;
    font-weight: 700;
}

section.unit-cert .card .cert-foot {
    height: 190px;
    width: 100%;
    background: #f6f6f6;
}

section.unit-cert .card .cert-foot img {
    height: 150px;
    width: 150px;
    float: left;
    margin-left: 1.5rem;
}

/* section.brick-cert .card .cert-foot p {
    float: right;
    margin-top: 2.9rem;
    text-align: left;
    margin-right: 1rem;
    width: 68%;
    font-size: 16px;
    color: var(--ternary);
    font-weight: 500;
} */

.j-text {
    text-align: center;
    display: block;
    font-weight: 600;
    text-transform: sentence;
    font-size: 32px;
    letter-spacing: 1px;
    line-height: 30px;
    color: var(--accent-color-500);
}

.b-text {
    text-align: center;
    margin: 0 auto;
    display: block;
    font-size: 20px;
    font-weight: 500;
    color: var(--secondary);
}

.b-cert {
    color: var(--secondary);
    text-transform: uppercase;
    font-weight: 800;
    font-size: 34px;
    text-align: center;
    z-index: 100;
    letter-spacing: 1px;
}

.btn3 {
    text-decoration: none;
    font-weight: 500;
    font-size: 16px;
    text-transform: uppercase;
    padding: 1rem 2.5rem;
    color: var(--secondary);
    margin: 2rem 0;
    border-radius: 4px;
    letter-spacing: 1px;
}

.btn3:hover {
    color: var(--secondary);
}

section.unit-form .radio-btn .span_btn {
    width: 100%;
    width: auto;
    display: flex;
    align-items: center;
    justify-content: center;
}

section.unit-form .radio-btn .span_btn .span_btn_1 {
    width: 39px;
}

section.unit-form .radio-btn .span_btn input {
    width: 10%;
    height: 38px;
    text-align: center;
    padding: 10px 20px;
    margin: 0 20px;
}

.btn-check:focus+.btn,
.btn:focus {
    outline: 0;
    box-shadow: none !important;
}

.unit-form .radio-btn .row {
    row-gap: 20px;
}

/* Create two equal columns that floats next to each other */
.column {
    float: left;
    width: 50%;
    padding: 10px;
    height: 50px;
}

/* Clear floats after the columns */
.row:after {
    content: "";
    display: table;
    clear: both;
}

.cert-progress .container11 {
    padding: 15px;
}

.circular-progress {
    height: 200px;
    width: 200px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    margin: 0 auto;
}

.value-container {
    position: relative;
    font-family: "Inter", sans-serif;
    font-size: 50px;
    color: #231c3d;
}

.circular-progress_pdf {
    position: relative;
    height: 150px;
    width: 150px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    left: 40%;
}

.circular-progress_pdf:before {
    content: "";
    position: absolute;
    height: 84%;
    width: 84%;
    border-radius: 50%;
}

.value-container_pdf {
    position: relative;
    font-family: "Inter", sans-serif;
    font-size: 30px;
    color: #231c3d;
}

section.unit-cert .card .cert-foot .certicate {
    float: right;
    margin-top: 2.9rem;
    text-align: left;
    margin-right: 1rem;
    width: 100%;
    font-size: 19px;
    color: var(--ternary);
    font-weight: 500;
    position: relative;
    left: -15%;
    top: 16px;
}

.search-modal-description {
    text-align: center;
    margin: 0 auto;
    display: block;
    color: var(--ternary);
    font-size: 26px;
}

.unit_section {
    height: 300px;
    position: absolute;
    border: 1px solid var(--accent-color-500);
    border-radius: 10px;
    background-color: #fff !important;
}

.unit_section .unit_section_div img {
    height: 120px;
    width: 180px;
    margin: 0 auto;
    display: block;
    text-align: center;
}

/* Certificate */
section.cert-pg {
    margin-top: 30px;
    margin-bottom: 30px;
}

section.cert-pg .cert-name img {
    width: 200px;
    height: 200px;
    margin: 1rem auto;
    display: block;
}

section.cert-pg .cert-name .cert-icon {
    width: 120px;
    height: 120px;
    margin: 2rem auto;
    display: block;
    color: var(--accent-color-500);
}

section.cert-pg .cert-name span {
    text-align: center;
    margin: 0.5rem auto;
    display: block;
    color: var(--ternary);
    font-weight: 500;
    font-size: 26px;
    text-transform: uppercase;
}

section.cert-pg .cert-name h3 {
    color: var(--ternary);
    font-weight: 600;
    font-size: 40px;
    letter-spacing: 2px;
}

section.cert-pg .cert-name .brick-number span {
    line-height: 76px;
    color: #010000;
    font-weight: 600;
    font-size: 30px;
}

/* Certificate Page Social Icons */
section.cert-pg .social-icon .icons {
    width: 100%;
}

section.cert-pg .social-icon .icons a {
    text-decoration: none;
    color: #ffffff;
    background: var(--accent-color-500);
    width: 48px;
    height: 48px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    font-size: 14px;
    margin: 10px 4px;
    transition: all 0.3s ease;
}

section.cert-pg .social-icon .icons a:hover {
    background: var(--accent-color-600);
    transform: translateY(-5px) scale(1.08);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.btn5 {
    background: #ffffff;
    border: 1px solid var(--accent-color-500);
    color: var(--accent-color-500);
    text-decoration: none;
    text-align: center;
    margin: 3.5rem auto;
    display: block;
    padding: 0.8rem 2rem;
    max-width: 300px;
    font-size: 14px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: 4px;
    transition: all 0.4s ease;
}

.btn5:hover {
    background: #ffffff;
    border: 1px solid var(--accent-color-600);
    color: var(--accent-color-600);
    transform: translateY(-2px) scale(1.02);
}

.btn6 {
    background: var(--accent-color-500);
    border: 1px solid var(--accent-color-500);
    color: var(--secondary);
    text-decoration: none;
    text-align: center;
    margin: 3.5rem auto;
    display: block;
    padding: 0.8rem 2rem;
    max-width: 300px;
    font-size: 14px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: 4px;
    transition: all 0.4s ease;
}

.btn6:hover {
    background: #f6f6f6;
    border: 1px solid var(--accent-color-500);
    color: var(--accent-color-500);
    transform: translateY(-2px) scale(1.02);
}

.cert-heading {
    color: var(--ternary);
    text-transform: uppercase;
    font-weight: 700;
    font-size: 40px;
    text-align: center;
    z-index: 100;
    letter-spacing: 1px;
    line-height: 50px;
    letter-spacing: 1px;
}

.cert-text {
    text-transform: uppercase;
    font-size: 26px;
    font-weight: 600;
    color: var(--ternary);
    text-align: center;
    line-height: 0.5;
    letter-spacing: 1px;
    letter-spacing: 1px;
}

.text {
    font-size: 18px;
    font-weight: 600;
    color: var(--ternary);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.google_pay_image {
    width: 23%;
    border-radius: 4px;
    margin: 0 auto;
    display: block;
    margin-bottom: -20px;
}

img.google_pay_image.active {
    display: none;
}

.txt_google_apple_pay.active {
    display: none;
}

/* ==========================================================================
   PROJECT CONTAINERS
   ========================================================================== */

.grid-container .content-container {
    padding-top: 40px;
}

/* ==========================================================================
   PROJECT CARDS - CENTRALIZED DESIGN SYSTEM
   ========================================================================== */

.content-container,
.grid-container {
    background: #ffffff;
}

.project-info {
    text-align: center;
    padding: 2.75rem 0 3rem;
}

.project-info h2 {
    color: var(--accent-color-500);
    font-size: 2.1rem;
    font-weight: 600;
    margin: 0 0 0.35rem 0;
}

.project-info h3 {
    color: #1a1a1a;
    font-size: 1.85rem;
    font-weight: 600;
    margin: 0.6rem 0 0.25rem 0;
    line-height: 1.25;
}

.project-info h4 {
    color: #555;
    font-size: 1.05rem;
    font-weight: 400;
    margin: 0.5rem 0 0 0;
}

.header-cta {
    width: 50%;
    margin-left: auto;
    margin-right: auto;
    margin-top: 3rem;
    background-color: rgba(255, 255, 255, 0.88);
    border-radius: 12px;
    padding: 2rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
    border: 1px solid rgba(0, 0, 0, 0.06);
}
.header-cta .btn,
.header-cta .btn-primary {
    width: 100%;
    max-width: 150px;
    margin-left: auto;
    margin-right: auto;
    display: block;
    padding: 0.75rem 1.5rem;
    font-size: 1.25rem;
    font-weight: 600;
    background-color: var(--accent-color-500);
    border-color: var(--accent-color-500);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.header-cta .btn:hover,
.header-cta .btn-primary:hover {
    background-color: var(--accent-color-600);
    border-color: var(--accent-color-600);
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.15);
}
@media (max-width: 767px) {
    .header-cta {
        width: 80%;
        margin-top: 3rem;
    }
}

@media (max-width: 1199px) {
    .header-cta {
        width: 70%;
        margin-top: 2.5rem;
    }
}

.org-link {
    color: var(--accent-color-500);
    font-size: 0.95rem;
    font-weight: 500;
    margin: 0.2rem 0 0 0;
    display: block;
    text-decoration: none;
    opacity: 0.95;
}

.org-link:hover {
    color: var(--accent-color-600);
    text-decoration: none;
    opacity: 1;
}

.project-mini-chart {
    height: 120px;
    width: 120px;
    margin: 0 auto;
    display: block;
}

.payment-icon {
    width: 4rem;
    margin-bottom: 1rem;
    display: inline-block;
}

.error-text {
    color: red;
}

.project-card-container {
    color: #ffffff;
    max-width: 1200px;
    margin: 0 auto;
    width: 100%;
}

.project-card-container-footer {
    color: #ffffff;
    max-width: 1200px;
    margin: 0 auto;
}

/* 3D Carousel (accent-based, no Slick) – spacing/sizes in rem */
.carousel-3d-wrap {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2.5rem 1.25rem;
    background: transparent;
    margin: 0 -1.25rem;
    transform-origin: center center;
    /* scale() applied via JS on small viewports so nav arrows stay visible */
}

.carousel-3d {
    position: relative;
    width: 23rem;
    height: 44rem; /* 1:2 ratio */
    perspective: 31.25rem;
    transform-style: preserve-3d;
    flex-shrink: 0;
}

.carousel-3d-card-container {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    transform:
        rotateY(calc(var(--offset) * 50deg))
        scale(calc(1 + var(--abs-offset) * -0.4))
        translateZ(calc(var(--abs-offset) * -30rem))
        translateX(calc(var(--direction) * -5rem));
    filter: blur(calc(var(--abs-offset) * 1rem));
    transition: transform 0.3s ease-out, filter 0.3s ease-out, opacity 0.3s ease-out;
    --active: 1;
    --offset: 0;
    --direction: 0;
    --abs-offset: 0;
}

.carousel-3d .carousel-3d-card {
    width: 100%;
    height: 100%;
    max-width: none;
    display: flex;
    flex-direction: column;
    border-radius: 1rem;
    overflow: hidden;
    background: color-mix(in srgb, #fff, var(--accent-color-200) calc(var(--abs-offset) * 50%));
    transition: transform 0.3s ease, box-shadow 0.3s ease, background 0.3s ease-out;
    border: none;
    outline: none;
    box-shadow: none;
}

.carousel-3d-card-container.carousel-3d-active .carousel-3d-card {
    box-shadow: 0 1.25rem 3.125rem rgba(0, 0, 0, 0.25), 0 0.5rem 1.25rem rgba(0, 0, 0, 0.15);
}

.carousel-3d .carousel-3d-card:hover {
    transform: translateY(-10px) scale(1.03) rotate(1deg);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
}

.carousel-3d-card-container .project-card-header,
.carousel-3d-card-container .project-card-footer {
    /* opacity: var(--active); */
    transition: opacity 0.3s ease-out;
}

.carousel-3d-nav {
    color: #fff;
    font-size: 3rem;
    position: absolute;
    display: flex;
    align-items: center;
    justify-content: center;
    top: 50%;
    z-index: 2;
    cursor: pointer;
    user-select: none;
    background: none;
    border: none;
    padding: 0.5rem;
    line-height: 1;
}

.carousel-3d-nav:hover {
    opacity: 0.9;
}

.carousel-3d-nav-left {
    left: 0;
    transform: translateX(-100%) translateY(-50%);
}

.carousel-3d-nav-right {
    right: 0;
    transform: translateX(100%) translateY(-50%);
}

.project-card-section {
    padding: 2.75rem 0;
    background: radial-gradient(circle at center, var(--accent-color-200) 20%, var(--accent-color-400) 70%);
    position: relative;
    overflow: hidden;
}

/* Tighter top/bottom spacing + no blur on carousel (faster on mobile) */
@media (max-width: 767px) {
    .project-card-section {
        padding: 0;
    }
    .project-card-container .carousel-3d-wrap {
        padding: 0 .5rem;
        margin: 0;
    }
    .carousel-3d-card-container {
        filter: none;
        transition: transform 0.3s ease-out, opacity 0.3s ease-out;
    }
    .payment-icon {
        margin-bottom: 2rem;
    }
}

/* Section header (Metrics-style: icon + label above content) */
.section-header {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
}
.section-header svg {
    width: 1.75rem;
    height: 1.75rem;
    margin-right: 0.625rem;
    flex-shrink: 0;
    stroke: var(--accent-color-300);
}
.section-header h4 {
    margin: 0;
    font-weight: 600;
    color: var(--accent-color-300);
}

.project-card-section .section-header h4,
.project-card-section .section-header svg {
    color: var(--accent-color-200);
    stroke: var(--accent-color-200);
}

/* ========== Metric cards (website + dashboard) & Live metric cards ========== */
.metrics-section {
    background: var(--accent-color-100);
}
.metric-card {
    background: white;
    padding: 20px;
    border-radius: 10px;
    height: 100%;
    transition: transform 0.25s ease;
}
.metric-card:hover {
    transform: translateY(-5px) scale(1.03) rotate(1deg);
}
.metric-card .metric-card-title {
    color: #6c757d;
    font-size: 0.875rem;
    margin-bottom: 10px;
    font-weight: 500;
}
.metric-card .metric-card-body {
    display: flex;
    align-items: center;
}
.metric-card .metric-card-icon-wrap {
    width: 40px;
    height: 40px;
    background: var(--accent-color-50);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 10px;
    flex-shrink: 0;
}
.metric-card .metric-card-icon-wrap svg {
    width: 20px;
    height: 20px;
    fill: none;
    stroke: var(--accent-color-500);
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}
.metric-card .metric-card-value {
    font-weight: bold;
    margin: 0;
    font-size: 1.75rem;
}
/* Live campaign metric cards */
.live-metrics-stack {
    display: flex;
    flex-direction: column;
    gap: 2.25rem;
}
.live-main-top .live-metrics-stack {
    max-width: 90%;
}
.live-metric-card {
    background: var(--accent-color-500);
    padding: 44px 50px;
    border-radius: 18px;
    border: 2px solid rgba(255, 255, 255, 0.2);
    display: flex;
    align-items: center;
    gap: 3rem;
    min-height: auto;
}
.live-metric-card .live-metric-label {
    color: rgba(255, 255, 255, 0.75);
    font-size: 1.2rem;
    font-weight: 400;
    margin: 0 0 4px 0;
    line-height: 1.3;
}
.live-metric-card .live-metric-value {
    color: #fff;
    font-size: 3.2rem;
    font-weight: 500;
    margin: 0;
}
.live-metric-card .live-metric-icon-wrap {
    width: 95px;
    height: 95px;
    min-width: 95px;
    min-height: 95px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    background: rgba(255, 255, 255, 0.12);
}
.live-metric-card .live-metric-icon-wrap svg {
    width: 48px;
    height: 48px;
    color: #fff;
    flex-shrink: 0;
}
.live-metric-card .live-metric-text {
    flex: 1;
    min-width: 0;
}

/* Project card item (used inside 3D carousel and elsewhere) */
.project-card-item {
    position: relative;
    display: flex !important;
    flex-direction: column;
    background: #fff;
    border-radius: 0.9375rem;
    overflow: hidden;
    text-decoration: none !important;
    transition: all 0.3s ease;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 100%;
    max-width: 25rem;
}

.project-card-item:hover {
    transform: translateY(-10px) scale(1.03) rotate(1deg);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
}

/* Share icon: sibling of accent, above card content so it receives clicks */
.project-card-share-btn {
    position: absolute;
    left: 0.75rem;
    top: 0.75rem;
    z-index: 20;
    width: 2.25rem;
    height: 2.25rem;
    border-radius: 50%;
    background: #fff;
    color: var(--ternary, #1f2937);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    box-sizing: border-box;
    pointer-events: auto;
    cursor: pointer;
}

.project-card-share-btn i {
    font-size: 1rem;
    color: inherit;
}

.project-card-share-btn:hover {
    opacity: 0.9;
}

/* Combined thumbnail + header: one accent block with clip-path */
.project-card-accent {
    background: var(--accent-color-500);
    clip-path: polygon(0 0, 100% 0, 100% 78%, 50% 100%, 0 78%);
    overflow: hidden;
    flex-shrink: 0;
}

.project-card-thumbnail-wrap {
    width: 100%;
    padding: 1.25rem;
    box-sizing: border-box;
    background: transparent;
    flex-shrink: 0;
}
.project-card-thumbnail-inner {
    width: 100%;
    aspect-ratio: 4 / 3;
    position: relative;
    overflow: hidden;
    border-radius: 0.625rem;
}
.project-card-thumbnail {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    border-radius: 0.625rem;
}

.project-card-header {
    background: transparent;
    padding-top: 0.75rem;
    padding-bottom: 4.25rem;
    text-align: center;
    color: #fff;
    min-height: auto;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.project-card-header-org {
    font-size: 1.5rem;
    font-weight: 700;
    text-transform: uppercase;
    margin-bottom: 0.9375rem;
    letter-spacing: 0.0625rem;
    line-height: 1.0;
}

.project-card-header-url {
    font-size: 0.875rem;
    opacity: 0.8;
    margin-bottom: 0.75rem;
    display: block;
    color: #fff;
    line-height: 1.0;
}

.project-card-header-title {
    font-size: 2rem;
    font-weight: 700;
    line-height: 1.0;
    margin-bottom: 0.625rem;
    text-transform: uppercase;
}

.project-card-header-description {
    font-size: 1rem;
    font-weight: 500;
    margin-bottom: 0.5rem;
    line-height: 1.0;
    color: #fff;
}

.project-card-header-location {
    font-size: 0.875rem;
    font-weight: 400;
    opacity: 0.9;
    line-height: 1.0;
}

.project-card-pricing-value {
    padding-top: 1.25rem;
    font-size: 5rem;
    font-weight: 800;
    line-height: 1;
    display: block;
}

.project-card-pricing-value i {
    font-style: normal;
    font-size: 1.5rem;
    vertical-align: top;
    margin-right: 0;
    position: relative;
    top: 0.9375rem;
    line-height: 1.0;
}

.project-card-pricing-unit {
    font-size: 0.8125rem;
    font-weight: 600;
    text-transform: uppercase;
    margin-top: 0.3125rem;
    letter-spacing: 0.0625rem;
    line-height: 1.0;
}

/* Body Checklist Area */
.project-card-body {
    display: none;
    flex-direction: column;
    padding: 1.25rem 1.875rem;
    flex-grow: 1;
    background: #fff;
}

.project-card-body-list {
    margin: 0;
    padding: 0;
}

.project-card-body-list ul {
    padding-left: 1.25rem;
    list-style: none;
    padding: 0;
    margin: 0;
}

.project-card-body-list ul li {
    padding-left: 2.5rem;
    position: relative;
    margin-bottom: 1.25rem;
    color: var(--accent-color-500);
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.875rem;
    line-height: 1.0;
    text-align: left;
}

.project-card-body-list ul li::before {
    content: '\f00c';
    font-family: 'FontAwesome';
    position: absolute;
    left: 0;
    top: 0;
    font-size: 1.25rem;
    color: var(--accent-color-500);
}

/* Footer Progress Area */
.project-card-footer {
    background-color: #ffffff;
    padding: 2rem .75rem;
    text-align: center;
    color: #fff;
}

.project-card-footer-amount {
    color: #252525;
    font-size: 1.5rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.03125rem;
    line-height: 1.0;
}

.project-card-footer-graph {
    margin-bottom: 0.625rem;
}

.project-card-progress-bar {
    height: 0.875rem;
    border-radius: 0.1875rem;
    border: 0.1rem solid var(--accent-color-500);
    margin: 1.25rem 2.5rem;
    background: #fff;
    overflow: hidden;
    box-sizing: border-box;
}

.project-card-progress-fill {
    height: 100%;
    min-width: 0;
    max-width: 100%;
    background: var(--accent-color-500);
    border-radius: 0;
    transition: width 0.3s ease;
    box-sizing: border-box;
}

.project-card-footer-description {
    color: var(--accent-color-500);
    font-size: 0.9375rem;
    font-weight: 600;
    margin-top: 0;
    text-transform: uppercase;
    line-height: 1.0;
}

/* .project-card-footer-btn {
    display: none;
} */

.other-project .right-part .cart-header h6 span {
    font-size: 22px;
    line-height: 22px;
}

.other-project .right-part .cart-header h6 span.city_text {
    font-size: 16px;
    line-height: 20px;
}

.other-project .right-part .cart-body-top h6 {
    font-size: 40px;
    line-height: 36px;
}

.other-project .right-part .cart-body-top {
    padding: 8px 40px 27px 40px;
}

.other-project .right-part .cart-body-top h6 span {
    font-size: 12px;
    line-height: 18px;
}

.other-project .right-part .cart-footer {
    padding: 20px;
    min-height: 150px;
}

.other-project .right-part .cart {
    width: 31%;
    margin: 0 auto;
}

.other-project .right-part .cart-list {
    margin: 0 24px;
    padding: 8px 0 15px 0;
}

.other-project .right-part .cart-list li {
    font-size: 12px;
    line-height: 26px;
    padding: 0 0px 0 26px;
}

.other-project .right-part .project-description-area ul {
    margin: 0 24px;
    padding: 8px 0 15px 0;
}

.other-project .right-part .project-description-area ul li {
    font-size: 15px;
    padding: 0 0px 0 26px;
    line-height: 30px;
}

.cart-footer h4,
.cart-footer h6 {
    font-size: 14px;
    letter-spacing: 1px;
    line-height: 20px;
    padding: 0;
    margin: 0;
}

.other-project .right-part .cart-footer img {
    padding: 6px 0;
}

.other-project .content {
    max-width: 495px;
    margin: 23px auto 0 auto;
    text-align: center;
    font-size: 16px;
    line-height: 25px;
    font-weight: 500;
    color: #707070;
}

.other-project .title {
    text-align: center;
    font-size: 20px;
    line-height: 30px;
    text-transform: uppercase;
    letter-spacing: 3px;
    font-weight: 400;
    margin-bottom: 48px;
    color: #4d4d4d;
    position: relative;
    padding-bottom: 14px;
}

.other-project .title::after {
    position: absolute;
    content: '';
    width: 8px;
    height: 8px;
    line-height: 8px;
    background-color: #4d4d4d;
    top: 100%;
    left: 0;
    right: 0;
    margin: 0 auto;
    transform: rotate(45deg);
}

.other-project .icon img {
    max-width: 7%;
    margin-bottom: 9px;
}

.other-project .cart-footer .chart {
    font-size: 30px;
    line-height: 42px;
    font-weight: 700;
    color: #fff;
    padding: 0px 0;
}

.other-project .cart-footer img {
    padding: 6px 0;
}

.counter-container .counter-part-wrap {
    display: none;
}

.form-control:focus {
    color: #212529;
    background-color: #fff;
    outline: 0;
    box-shadow: none !important;
    border-color: #ced4da !important;
}

/* #region Media - Large Screens (max-width: 1400px) */
@media screen and (max-width: 1400px) {
    .grid-brick {
        max-width: 1140px !important;
    }
}

/* #endregion */

/* #region Media - Tablet/Desktop (max-width: 1199px) */
@media (max-width: 1199px) {

    .grid-brick {
        max-width: 1140px !important;
    }

    section.buy-container {
        padding: 80px 0;
    }

    section.buy-container .buy-pricing {
        font-size: 6rem;
    }

    .buy-text {
        font-size: 18px;
    }

    .buy-title {
        font-size: 30px;
    }

    .buy-sub-title {
        font-size: 18px;
    }

    .buy-gateway-logos img {
        height: 32px;
    }
}

/* #endregion */

/* #region Mobile Breakpoint Logic (768px Boundary) */

/* Helper: Tablet & Desktop Helpers (>= 768px) */
@media (min-width: 768px) {
    .d-md-none {
        display: none !important;
    }

    .d-md-flex {
        display: flex !important;
    }

    .d-md-block {
        display: block !important;
    }
}

/* Mobile: Styles & Helpers (< 768px) */
@media (max-width: 767px) {

    /* Helpers */
    .d-flex:not(.d-md-flex) {
        display: flex !important;
    }

    .d-block:not(.d-md-block) {
        display: block !important;
    }

    /* General Layout */
    section.error-pg,
    section.success-pg {
        width: 70%;
    }

    /* Typography */
    .s-heading {
        font-size: 32px;
        letter-spacing: 0.5px;
    }

    .s-text {
        font-size: 18px;
    }
}

/* #endregion */

/* #region Media - Small Mobile (max-width: 599px) */
@media (max-width: 599px) {
    .brick-img {
        width: 100% !important;
        border: none;
    }
}

/* #endregion */

/* #region Media - Small Mobile (max-width: 578px) */
@media screen and (max-width: 578px) {

    .s-heading {
        font-size: 28px;
    }

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

    .b-heading {
        font-size: 36px;
    }

    .c-heading {
        font-size: 18px;
    }

    .buy-title {
        font-size: 28px;
    }

    .buy-sub-title {
        font-size: 16px;
    }

    section.buy-container .buy-pricing {
        font-size: 5rem;
    }
}

/* #endregion */

/* #region Media - Small Mobile (max-width: 576px) */
@media screen and (max-width: 576px) {

    section.error-pg,
    section.success-pg {
        width: 70%;
    }

    section.brick-cert .card .text-cert h2 {
        font-size: 3rem;
        margin-top: 4.8rem;
    }

    .circular-progress {
        left: 27%;
        top: 0px;
    }

    section.buy-container .buy-pricing sup {
        font-size: 1rem;
        top: 1.8rem;

    }

    section.search-unit .search input {
        font-size: 12px;
    }

    .btn1 {
        width: 80%;
    }

    .b-cert {
        font-size: 28px;
    }

    section.brick-cert .card {
        width: 98%;
        height: 675px;
    }

    section.brick-cert .top-main img {
        height: 110px;
        width: 130px;
    }

    section.brick-cert .card .text-cert span {
        font-size: 22px;
    }

    section.brick-cert .card .cert-foot img {
        height: 130px;
        width: 130px;
        float: left;
        margin-left: 0;
    }

    section.brick-form .radio-btn .span_btn input {
        width: 50%;
        margin-bottom: 0;
    }

    .j-text {
        font-size: 18px;
    }

    .text {
        font-size: 12px;
    }

    section.cert-pg .social-icon .icons a {
        width: 35px;
        height: 35px;
        font-size: 14px;
    }

    footer .footer-text h5 {
        font-size: 10px;
    }

    .total_amount_value {
        margin: 0 auto;
        display: block;
        text-align: center;
    }

    section.cert-pg .cert-name span {
        font-size: 24px;
    }

    section.cert-pg .cert-name h3 {
        font-size: 34px;
    }

    section.cert-pg .cert-name .brick-number span {
        font-size: 18px;
    }

    .btn5 {
        text-align: center;
        margin: 2.5rem 0px;
        padding: 0.8rem 0.5rem;
        font-size: 12px;
        letter-spacing: 0px;
    }

    .btn6 {
        text-align: center;
        padding: 0.8rem 1.3rem;
        font-size: 12px;
        letter-spacing: 0px;
        margin: 2.5rem 0rem;
    }

    .text {
        font-size: 12px;
    }

    .content-video>video {
        width: 385px;
    }

    .btn10 {
        padding: 0.5rem 1rem;
    }
}

/* #endregion */

/* #region Media - Small Mobile (max-width: 450px) */
@media screen and (max-width: 450px) {

    .content-video>video {
        width: 380px;
        height: 50%;
    }

    .content-video>span {
        font-size: 12px;
    }

    .btn10 {
        padding: 0.5rem 1rem;
        font-size: 8px;
    }
}

/* #endregion */

/* #region Media - Small Mobile (max-width: 393px) */
@media screen and (max-width: 393px) {

    .content-video>video {
        height: 180px;
        width: 320px;
    }

    .content-video>span {
        font-size: 12px;
    }

    .btn10 {
        padding: 0.5rem 1rem;
        font-size: 10px;
    }
}

/* #endregion */

/* #region Media - Small Mobile (max-width: 378px) */
@media screen and (max-width: 378px) {

    section.error-pg,
    section.success-pg {
        width: 70%;
    }

    .s-heading {
        font-size: 24px;
    }
}

/* #endregion */

/* #region Media - Small Mobile (max-width: 360px) */
@media screen and (max-width: 360px) {

    .content-video>video {
        width: 310px;
    }

    .btn10 {
        font-size: 5px;
        padding: 0.5rem 1rem;
    }

}

/* #endregion */

/* #region Media - tooltip */

.tooltip-inner {
    background-color: #fff !important;
    border: 2px solid var(--accent-color-500) !important;
    color: var(--accent-color-500) !important;
    font-size: 14px;
    font-weight: 600;
    border-radius: 6px !important;
    padding: 12px 16px !important;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15) !important;
    white-space: pre-line !important;
    max-width: 250px !important;
}

.tooltip {
    opacity: 0.8 !important;
    z-index: 10000 !important;
}


/* Speech Bubble Arrow - All directions */
.tooltip .tooltip-arrow::before,
.bs-tooltip-top .tooltip-arrow::before,
.bs-tooltip-auto[data-popper-placement^="top"] .tooltip-arrow::before {
    border-top-color: #fff !important;
    border-width: 12px 12px 0 !important;
}

.bs-tooltip-end .tooltip-arrow::before,
.bs-tooltip-auto[data-popper-placement^="right"] .tooltip-arrow::before {
    border-right-color: #fff !important;
    border-width: 12px 12px 12px 0 !important;
}

.bs-tooltip-bottom .tooltip-arrow::before,
.bs-tooltip-auto[data-popper-placement^="bottom"] .tooltip-arrow::before {
    border-bottom-color: #fff !important;
    border-width: 0 12px 12px !important;
}

.bs-tooltip-start .tooltip-arrow::before,
.bs-tooltip-auto[data-popper-placement^="left"] .tooltip-arrow::before {
    border-left-color: #fff !important;
    border-width: 12px 0 12px 12px !important;
}

/* #endregion */

/* #region Media - search modal */

.search-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    z-index: 9999;
    display: none;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.search-modal-overlay.active {
    display: flex;
    opacity: 1;
}

.search-modal-container {
    background: #ffffff;
    border-radius: 15px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
    width: 450px;
    max-width: 95%;
    padding: 60px 30px;
    position: relative;
    text-align: center;
}

.search-modal-close {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    color: #333;
    cursor: pointer;
    line-height: 1;
    transition: all 0.2s;
    border-radius: 50%;
}

.search-modal-close:hover {
    background: #f5f5f5;
    color: var(--accent-color-500);
}

.search-modal-container img {
    max-width: 150px;
    margin: 1.5rem 0;
}

/* #endregion */

/* #region Share modal (PC) */

.share-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    z-index: 10000;
    display: none;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.share-modal-overlay.active {
    display: flex;
    opacity: 1;
}

.share-modal-container {
    background: #fff;
    border-radius: 0.9375rem;
    box-shadow: 0 1.25rem 3.125rem rgba(0, 0, 0, 0.25);
    width: 22rem;
    max-width: 95%;
    padding: 2rem 1.5rem;
    position: relative;
    text-align: center;
}

.share-modal-close {
    position: absolute;
    top: 0.75rem;
    right: 0.75rem;
    width: 2rem;
    height: 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--ternary, #333);
    cursor: pointer;
    line-height: 1;
    border: none;
    background: none;
    border-radius: 50%;
    transition: background 0.2s, color 0.2s;
}

.share-modal-close:hover {
    background: #f0f0f0;
    color: var(--accent-color-500);
}

.share-modal-title {
    margin: 0 0 1rem;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--ternary, #1f2937);
}

.share-modal-url-wrap {
    margin: 0 0 1rem;
    padding: 0.5rem 0;
    word-break: break-all;
    font-size: 0.875rem;
    color: #666;
}

.share-modal-url {
    display: block;
    text-align: left;
}

.share-modal-copy {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1.25rem;
    padding: 0.5rem 1rem;
    font-size: 0.9375rem;
    font-weight: 600;
    color: #fff;
    background: var(--accent-color-500);
    border: none;
    border-radius: 0.375rem;
    cursor: pointer;
    transition: opacity 0.2s, background 0.2s;
}

.share-modal-copy:hover {
    opacity: 0.95;
    background: var(--accent-color-600);
}

.share-modal-social {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.75rem;
}

.share-modal-social-link {
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    text-decoration: none;
    transition: transform 0.2s, opacity 0.2s;
}

.share-modal-social-link:hover {
    opacity: 0.9;
    transform: scale(1.05);
}

.share-modal-fb { background: #1877f2; }
.share-modal-twitter { background: #000; }
.share-modal-whatsapp { background: #25d366; }
.share-modal-email { background: #666; }

/* #endregion */

/* #region icons */

.fa-solid.fa-circle-check {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 132px;
    color: var(--accent-color-500);
    padding: 2rem;
    will-change: transform;
}

.fa-solid.fa-circle-check::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 1.2em;
    height: 1.2em;
    border-radius: 100%;
    border: 10px solid var(--accent-color-300);
    z-index: -1;
    animation: ring-pulse 2s ease-in-out infinite;
    pointer-events: none;
}

.fa-solid.fa-circle-xmark {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 132px;
    color: #dc3545;
    padding: 2rem;
    will-change: transform;
}

.fa-solid.fa-circle-xmark::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 1.2em;
    height: 1.2em;
    border-radius: 100%;
    border: 10px solid rgba(220, 53, 69, 0.3);
    z-index: -1;
    animation: ring-pulse 2s ease-in-out infinite;
    pointer-events: none;
}

@keyframes ring-pulse {
    0% {
        width: 1em;
        height: 1em;
        transform: translate(-50%, -50%) scale(1.0);
        opacity: 1;
        border-width: 17px;
    }

    100% {
        transform: translate(-50%, -50%) scale(1.1);
        opacity: 0;
        border-width: 1px;
    }
}

/* #endregion */

/* #region Media - quantity input and styling */

.span_btn {
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Strict reset for the wrapper spans */
.span_btn>span,
.span_btn_1,
.span_btn_2 {
    margin: 0 !important;
    padding: 0 !important;
    border: none !important;
    width: auto !important;
    display: block !important;
}

.btn-number {
    width: 60px !important;
    height: 60px !important;
    padding: 0 !important;
    line-height: 60px !important;
    font-size: 20px !important;
    border-radius: 50% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
}

.input-number {
    width: 100px !important;
    height: 50px !important;
    text-align: center !important;
    font-size: 24px !important;
    font-weight: 600 !important;
    margin: 0 15px !important;
    padding: 0 !important;
    display: inline-block !important;
    vertical-align: middle !important;
}

/* #endregion */

/* ==========================================================================
   Fee Recovery / Donation Summary Styles
   ========================================================================== */

.fee-recovery-container {
    background-color: var(--accent-color-50);
    border: 1px solid var(--accent-color-200);
    padding: 30px;
    border-radius: 8px;
    margin-bottom: 30px;
}

.fee-recovery-header {
    font-size: 24px;
    font-weight: 700;
    color: #1a2b3c;
    margin-bottom: 30px;
}

.fee-recovery-row {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 25px;
}

.fee-recovery-description {
    font-size: 18px;
    color: #333;
    font-weight: 400;
}

.fee-recovery-amount {
    font-size: 18px;
    color: #333;
    font-weight: 400;
}

.fee-recovery-fees {
    font-weight: 400;
    font-size: 13px;
    color: #666;
    display: block;
    margin-top: 10px;
}

.fee-recovery-sub-description {
    font-size: 13px;
    color: #666;
    display: block;
    margin-top: 5px;
}

.fee-recovery-separator {
    border-top: 1px solid var(--accent-color-200);
    margin: 20px 0;
}

.fee-recovery-total-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 20px;
}

.fee-recovery-total-description {
    font-size: 20px;
    font-weight: 700;
    color: #1a2b3c;
}

.fee-recovery--total-amount {
    font-size: 26px;
    font-weight: 700;
    color: #000;
}

.form-section-header {
    text-align: center;
    margin-top: 0 !important;
    margin-bottom: .6rem;
    font-weight: 700;
}

.form-section-container {
    background: #ffffff;
    padding: 60px;
    border-radius: 10px;
    box-shadow: 0 0 28px rgba(0, 0, 0, 0.08);
}

.form-section-checkout {
    background: var(--accent-color-50);
    padding: 60px;
    margin-top: 30px;
    margin-bottom: 60px;
    border-radius: 10px;
    border: 1px solid var(--accent-color-200);
    box-shadow: 0 0 28px rgba(0, 0, 0, 0.08);
}

.form-section-submit {
    text-decoration: none;
    background-color: var(--accent-color-500);
    color: var(--secondary);
    font-size: 16px;
    font-weight: 500;
    text-transform: uppercase;
    border: none;
    padding: 1.5rem 2.0rem 1.5rem 2.0rem;
    border-radius: 4px;
    margin: 0 auto;
    display: block;
    text-align: center;
    margin-top: 20px;
    transition: all 0.3s ease;
    cursor: pointer;
}

.form-section-submit:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
    background-color: var(--accent-color-600);
}

@media (max-width: 767px) {
    .form-section-container {
        padding-left: 20px !important;
        padding-right: 20px !important;
    }
}

/* ==========================================================================
   Admin Media / File Upload Styles
   ========================================================================== */

/* #region Media */
.custom-file-upload {
    position: relative;
    display: flex;
    align-items: stretch;
}

.file-input {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
    cursor: pointer;
}

.file-label {
    flex: 1;
    display: flex;
    align-items: center;
    padding: 10px 15px;
    border: 1px solid #e3e3e3;
    border-radius: 4px 0 0 4px;
    background: #fff;
    margin-bottom: 0;
    font-weight: normal;
    transition: all 0.3s ease;
    pointer-events: auto;
}

.file-label:hover {
    background: #f8f9fa;
}

.custom-file-upload::after {
    content: 'Browse...';
    padding: 10px 20px;
    background: #f8f9fa;
    border: 1px solid #e3e3e3;
    border-left: none;
    border-radius: 0 4px 4px 0;
    cursor: pointer;
    display: flex;
    align-items: center;
    font-weight: 500;
    transition: all 0.3s ease;
}

.custom-file-upload:hover::after {
    background: #e9ecef;
}

.file-label .text-muted {
    color: #6c757d !important;
}

/* #endregion */

/* Certificate Pie Chart - Maintain 1.3:1 Aspect Ratio */
#certificatePieChart {
    max-width: 481px;
    max-height: 370px;
    width: 100%;
    height: auto;
    aspect-ratio: 1.3 / 1;
    margin: 0 auto;
    display: block;
}

/* Certificate Footer - Side by Side Centered Buttons */
.cert-footer-container {
    max-width: 700px;
    margin: 0 auto;
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    gap: 20px;
    padding: 20px 0;
}

.cert-footer-container .btn5,
.cert-footer-container .btn6 {
    display: inline-block;
    margin: 0;
}

@media (max-width: 768px) {
    .cert-footer-container {
        max-width: 100%;
        flex-direction: column;
        gap: 15px;
        padding: 10px 20px;
        margin-bottom: 40px;
    }

    .cert-footer-container .btn5,
    .cert-footer-container .btn6 {
        margin: 0;
        width: 70%;
        max-width: 70%;
    }
}

/* A4 Certificate Styles */

/* A4 Certificate Container */
.a4-certificate {
    width: 210mm;
    height: 297mm;
    background: white;
    margin: 0 auto;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.1);
    position: relative;
    overflow: hidden;
}

/* Header: SVG shape (PDF/html2canvas compatible) + content on top */
.cert-header {
    position: relative;
    width: 100%;
    min-height: 480px;
    text-align: center;
    color: white;
    overflow: hidden;
}
.cert-header .cert-header-shape {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    display: block;
    pointer-events: none;
}
.cert-header .cert-header-content {
    position: relative;
    z-index: 1;
    padding: 90px 20px 0;
    line-height: normal;
}
/* Certificate header: logo + site title + tagline (cert-* classes), then meta line, then seo_title */
.cert-header .cert-header-content .cert-header-brand-block {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 1rem;
    line-height: 1.3;
}
.cert-logo {
    width: 50px;
    height: 50px;
    margin: 0 0 0.5rem 0;
    object-fit: contain;
    display: block;
}
.cert-brand {
    font-size: 1.5rem;
    color: #fff;
    font-weight: 500;
    margin: 0 0 0.2rem 0;
}
.cert-tagline {
    font-size: .85rem;
    color: #fff;
    font-weight: 300;
    font-style: italic;
    margin: 0;
    opacity: 0.95;
}
.cert-header .cert-header-content .cert-header-meta {
    font-size: 0.95rem;
    color: #fff;
    font-weight: 500;
    margin: 0 0 1rem 0;
    text-decoration: none;
    line-height: 1.4;
}
.cert-header .cert-header-content .cert-header-seo {
    font-size: 2rem;
    font-weight: 500;
    color: #fff;
    margin: 0 0 1.5rem 0;
    line-height: 1.2;
}

/* Body */
.cert-body {
    padding: 20px 30px 30px;
    text-align: center;
}

.cert-title {
    font-family: 'Playfair Display', serif;
    font-size: 56px;
    font-weight: 700;
    font-style: italic;
    letter-spacing: 1.2px;
    color: var(--accent-color);
    margin-bottom: 20px;
    text-shadow: 3px 3px 0 #cccccc;
}

.cert-awarded {
    font-size: 18px;
    font-weight: 600;
    color: var(--accent-color);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 15px;
}

.cert-recipient {
    font-size: 32px;
    font-weight: 700;
    color: #000;
    margin-bottom: 25px;
    text-transform: uppercase;
}

.cert-thanks {
    font-size: 20px;
    font-weight: 500;
    color: #555;
    margin: 25px 0;
}

.cert-range {
    font-size: 36px;
    font-weight: 700;
    color: var(--accent-color);
    margin-top: 30px;
}

.cert-date {
    font-size: 18px;
    font-weight: 600;
    color: var(--accent-color);
    margin-top: 8px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Footer */
.cert-footer {
    background: #ededed;
    padding: 30px 40px 40px;
    position: absolute;
    bottom: 0;
    width: 100%;
    margin: 0 auto;
}

.cert-footer-content {
    text-align: center;
}

.cert-footer-chart {
    width: 150px;
    height: 150px;
}

.cert-footer-desc {
    font-size: 18px;
    font-weight: 500;
    color: #555;
}

.cert-footer-desc span {
    font-weight: 800;
    color: var(--accent-color);
    font-size: 24px;
}

@media print {
    body {
        background: white;
        padding: 0;
    }

    .a4-certificate {
        box-shadow: none;
    }
}

/* Custom Radio Toggle Switch */
.custom-toggle-switch {
    position: relative;
    display: inline-block;
    width: 44px;
    height: 22px;
}

.custom-toggle-switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.custom-toggle-slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #ccc;
    -webkit-transition: .4s;
    transition: .4s;
    border-radius: 34px;
}

.custom-toggle-slider:before {
    position: absolute;
    content: "";
    height: 16px;
    width: 16px;
    left: 4px;
    bottom: 3px;
    background-color: white;
    -webkit-transition: .4s;
    transition: .4s;
    border-radius: 50%;
}

.custom-toggle-switch input:checked+.custom-toggle-slider {
    background-color: var(--accent-color-500);
}

.custom-toggle-switch input:checked+.custom-toggle-slider:before {
    -webkit-transform: translateX(20px);
    -ms-transform: translateX(20px);
    transform: translateX(20px);
}

/* ==========================================================================
   Home Intro Section
   ========================================================================== */

.intro-container {
    padding: 80px 0 40px;
    background-color: #ffffff;
}

.intro-title {
    font-size: 3rem;
    font-weight: 700;
    color: var(--accent-color-500);
    margin-bottom: 2rem;
    letter-spacing: -0.5px;
}

.intro-text {
    font-size: 1.25rem;
    line-height: 1.6;
    color: #444;
    max-width: 900px;
    margin: 0 auto 2.5rem;
    font-weight: 400;
}

.intro-tagline {
    font-size: 1.2rem;
    font-weight: 500;
    color: #444;
    letter-spacing: 1.4px;
}

.video-duration-text {
    font-size: 0.9rem;
    color: #666;
}

/* ==========================================================================
   Project Content Section
   ========================================================================== */

.project-content-section {
    background-color: #f9f9f9;
}

.project-content-logo {
    display: block;
    text-align: center;
}
.project-content-logo-img {
    max-height: 80px;
    width: auto;
    display: block;
    margin-left: auto;
    margin-right: auto;
}
.project-content-text {
    font-size: 1.25rem;
    line-height: 1.4;
    color: #333;
    text-align: left;
    padding-left: 0;
    padding-bottom: 0;
    font-style: normal;
}

.project-content-text h2,
.project-content-text p {
    font-style: italic !important; /* Ensure no italic styling */
}

@media (max-width: 578px) {
    .project-content-text {
        font-size: 1.1rem;
        line-height: 1.3;
        margin-top: 1.25rem !important;
    }
}

@media (max-width: 767px) {
    .project-content-text {
        font-size: 1.15rem;
        line-height: 1.3;
        margin-top: 1.2rem !important;
    }
}

@media (max-width: 1199px) {
    .project-content-text {
        font-size: 1.2rem;
        line-height: 1.3;
        margin-top: 1.15rem !important;
    }
}

.project-content-container {
    background-color: #fff;
    max-width: 100%;
    height: auto;
    margin: 0 auto;
    border: 1px solid rgba(15, 23, 42, 0.06);
    border-radius: 10px;
    padding: 1.75rem 1rem 1.75rem 1rem; /* top matches left/right (row gutter adds ~0.75rem to sides) */
    display: flex;
    align-items: center; /* vertical centering */
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.project-content-container:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0,0,0,0.1) !important;
}

.project-thumbnail-wrapper {
    position: relative;
    width: 100%;
    padding-top: 100%; /* 1:1 Aspect Ratio (Square) */
    overflow: hidden;
    border-radius: 10px;
}

.project-thumbnail-wrapper img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover; /* Crop instead of stretch */
    transition: transform 0.5s ease;
}

.project-thumbnail-wrapper:hover img {
    transform: scale(1.03);
}

/* Video Embed Wrapper */
.video-embed-wrapper {
    position: relative;
    width: 100%;
    padding-top: 56.25%; /* 16:9 Aspect Ratio */
    overflow: hidden;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

.video-embed-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
    border-radius: 10px;
}

.video-duration-info {
    font-size: 0.95rem;
    color: #666;
    margin-top: 1rem;
    font-style: normal !important;
}

.video-duration-info i {
    color: var(--accent-color-500);
    margin-right: 5px;
}

/* Global Header Styling */
.site-header-title,
section.logo-main .site-header-title {
    margin-top: 15px;
    margin-bottom: 0.25rem;
    font-size: 24px;
    font-weight: 600;
    color: #333;
}

.site-header-tagline {
    margin: 0;
    font-size: 14px;
    color: #666;
    font-style: italic;
}

.logo-img {
    width: 100%;
}

/* NavBar under header */
.navbar-main {
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--header-bg, #f8f9fa);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
}
.navbar-main-inner {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    flex-wrap: wrap;
}
.btn-navbar {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.4rem 1.4rem;
    font-size: 0.9rem;
    font-weight: 500;
    text-align: center;
    text-decoration: none;
    border-radius: 0.25rem;
    color: var(--accent-color-500, #0d6efd);
    background: transparent;
    transition: color 0.2s, background-color 0.2s, border-color 0.2s;
    white-space: nowrap;
}
.btn-navbar:hover {
    background-color: var(--accent-color-400, #0d6efd);
    color: #fff;
    text-decoration: none;
}

/* NavBar – more space on mobile so menu isn't cramped */
@media screen and (max-width: 768px) {
    .navbar-main {
        min-height: 50px;
        height: auto;
        padding: 0.75rem 0;
    }
    .navbar-main-inner {
        gap: 1rem 1.25rem;
        padding: 0 1rem;
        justify-content: center;
    }
    .btn-navbar {
        padding: 0.5rem 1rem;
        font-size: 0.85rem;
    }
}

/* Smaller mobile: tighter padding and smaller font so all items stay on one line */
@media screen and (max-width: 576px) {
    .navbar-main-inner {
        gap: 0.4rem 0.5rem;
        padding: 0 0.5rem;
    }
    .btn-navbar {
        padding: 0.4rem 0.5rem;
        font-size: 0.8rem;
    }
}

@media screen and (max-width: 400px) {
    .navbar-main-inner {
        gap: 0.25rem 0.4rem;
        padding: 0 0.4rem;
    }
    .btn-navbar {
        padding: 0.35rem 0.4rem;
        font-size: 0.75rem;
    }
}

/* Donor portal buttons */
.btn-donor-email-link {
    border: 1px solid var(--accent-color-500);
    background-color: #fff;
    color: var(--accent-color-500);
    display: inline-block;
    padding: 0.4rem 1rem;
    font-size: 0.9rem;
    font-weight: 500;
    text-align: center;
    text-decoration: none;
    border-radius: 0.25rem;
    transition: color 0.2s, background-color 0.2s, border-color 0.2s;
}

.btn-donor-email-link:hover {
    text-decoration: none;
    background-color: var(--accent-color-500);
    color: #fff;
}

.btn-donor-generate-password {
    border: 1px solid var(--accent-color-500);
    background-color: #fff;
    color: var(--accent-color-500);
    padding: 0.35rem 0.75rem;
    font-size: 0.875rem;
    font-weight: 500;
    border-radius: 0.25rem;
    white-space: nowrap;
    position: relative;   /* or absolute / fixed */
    z-index: 1000;
}   

.btn-link-donor-magic {
    font-size: 0.9rem;
    color: var(--accent-color-500, #0d6efd);
    text-decoration: none;
}
.btn-link-donor-magic:hover {
    color: var(--accent-color-600, #0a58ca);
    text-decoration: underline;
}

.donor-auth-card .nav-tabs .nav-link:not(.active) {
    color: var(--accent-color-500);
}
.donor-auth-card .nav-tabs .nav-link:not(.active):hover {
    color: var(--accent-color-600, color-mix(in srgb, var(--accent-color-500), black 15%));
}

.donor-dashboard .nav-tabs .nav-link:not(.active) {
    color: var(--accent-color-500);
}

.donor-dashboard .nav-tabs .nav-link:not(.active):hover {
    color: var(--accent-color-500);
    text-decoration: none;
}

/* Donor password strength indicator */
.donor-password-strength {
    margin-top: 0.5rem;
}
.donor-password-strength-bar {
    height: 4px;
    border-radius: 2px;
    background: #e9ecef;
    overflow: hidden;
    margin-bottom: 0.25rem;
}
.donor-password-strength-fill {
    height: 100%;
    width: 0;
    border-radius: 2px;
    transition: width 0.2s, background-color 0.2s;
}
.donor-password-strength-fill[data-strength="weak"]   { width: 25%; background-color: #dc3545; }
.donor-password-strength-fill[data-strength="fair"]  { width: 50%; background-color: #fd7e14; }
.donor-password-strength-fill[data-strength="good"]  { width: 75%; background-color: #ffc107; }
.donor-password-strength-fill[data-strength="strong"] { width: 100%; background-color: #198754; }
.donor-password-strength-label {
    font-size: 0.8rem;
    color: #6c757d;
}

/* ==========================================================================
   Donor invoice (A4, minimal, .invoice- prefix)
   ========================================================================== */

.invoice-preview {
    font-family: 'Inter', sans-serif;
    background: #f5f5f5;
    padding: 20px;
    margin: 0;
}

.invoice-page {
    width: 210mm;
    height: 297mm;
    min-height: 297mm;
    background: #fff;
    margin: 0 auto;
    overflow: hidden;
    position: relative;
    display: flex;
    flex-direction: column;
}

.invoice-header {
    background-color: var(--header-bg, #f8f9fa);
    padding: 24px 20px;
    text-align: center;
}

.invoice-header-logo {
    display: block;
    margin: 0 auto 12px;
    max-height: 80px;
    max-width: 120px;
    height: auto;
    width: auto;
}

.invoice-header-title {
    margin: 0 0 4px;
    font-size: 22px;
    font-weight: 600;
    color: #333;
}

.invoice-header-tagline {
    margin: 0;
    font-size: 13px;
    color: #666;
    font-style: italic;
}

.invoice-body {
    padding: 32px 28px 40px;
    flex: 1;
}

.invoice-title {
    font-size: 24px;
    font-weight: 600;
    color: #222;
    margin: 0 0 8px;
}

.invoice-id {
    font-size: 13px;
    color: #666;
    margin: 0 0 24px;
}

.invoice-details {
    border-top: 1px solid #eee;
    padding-top: 20px;
}

.invoice-details-row {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    padding: 10px 0;
    border-bottom: 1px solid #f0f0f0;
    gap: 16px;
}

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

.invoice-label {
    font-size: 14px;
    color: #666;
    flex-shrink: 0;
}

.invoice-value {
    font-size: 14px;
    color: #222;
    text-align: right;
}

.invoice-footer {
    padding: 20px 28px;
    border-top: 1px solid #eee;
    text-align: center;
    margin-top: auto;
}

.invoice-footer-url {
    font-size: 12px;
    color: #666;
    text-decoration: none;
}

/* ----- Live Campaign (project page section) ----- */
.live-campaign-container {
    padding: 3.5rem 0;
    background: linear-gradient(180deg, var(--accent-color-50) 0%, rgba(255, 255, 255, 0) 100%);
}
.live-campaign-card {
    max-width: 960px;
    margin: 0 auto;
    padding: 2rem;
    background: #fff;
    border-radius: 1.25rem;
    box-shadow: 0 4px 24px rgba(15, 23, 42, 0.08), 0 1px 3px rgba(15, 23, 42, 0.06);
    border: 1px solid rgba(15, 23, 42, 0.06);
}
.live-campaign-right {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    min-height: 280px;
}
.live-campaign-header {
    margin-bottom: 1.25rem;
}
.live-campaign-header h4 {
    font-size: 1.35rem;
    letter-spacing: 0.02em;
}
.live-campaign-header svg {
    width: 30px;
    height: 30px;
}
.live-campaign-image-wrap {
    width: 100%;
    max-width: 100%;
    margin: 0;
}
.live-campaign-slideshow {
    position: relative;
    width: 100%;
    max-width: 560px;
    aspect-ratio: 1;
    margin-left: auto;
    margin-right: auto;
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: 0 12px 32px rgba(15, 23, 42, 0.12);
}
.live-campaign-slideshow .live-campaign-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 1rem;
    opacity: 0;
    transition: opacity 0.5s ease;
}
.live-campaign-slideshow.slide-0 .live-campaign-slide:nth-child(1),
.live-campaign-slideshow.slide-1 .live-campaign-slide:nth-child(2),
.live-campaign-slideshow.slide-2 .live-campaign-slide:nth-child(3),
.live-campaign-slideshow.slide-3 .live-campaign-slide:nth-child(4),
.live-campaign-slideshow.slide-4 .live-campaign-slide:nth-child(5),
.live-campaign-slideshow.slide-5 .live-campaign-slide:nth-child(6) {
    opacity: 1;
    z-index: 1;
}
.live-campaign-image-wrap .img-fluid {
    width: 100%;
    max-width: 560px;
    aspect-ratio: 1;
    object-fit: cover;
    display: block;
    margin-left: auto;
    margin-right: auto;
    border-radius: 1rem;
    box-shadow: 0 12px 32px rgba(15, 23, 42, 0.12);
}
.live-campaign-right .live-campaign-section {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    margin: 0;
}
.live-campaign-desc {
    margin: 0 auto 1.25rem;
    max-width: 32em;
    font-size: 1.05rem;
    line-height: 1.65;
    color: var(--ternary, #363839);
    opacity: 0.95;
}
.live-campaign-container .live-live-pill {
    box-shadow: 0 4px 14px rgba(255, 30, 0, 0.35);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.live-campaign-container .live-live-pill:hover {
    transform: scale(1.04);
    box-shadow: 0 6px 20px rgba(255, 30, 0, 0.45);
}
.live-campaign-container .live-live-pill:focus {
    outline: 2px solid rgba(255, 30, 0, 0.5);
    outline-offset: 2px;
}

.promo-card {
    height: 100%;
    padding: 1.5rem;
    background: #fff;
    border-radius: 1rem;
    box-shadow: 0 4px 24px rgba(15, 23, 42, 0.08), 0 1px 3px rgba(15, 23, 42, 0.06);
    border: 1px solid rgba(15, 23, 42, 0.06);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.promo-card:hover {
    transform: translateY(-10px) scale(1.03) rotate(1deg);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
}
.promo-card-img {
    width: 100%;
    max-width: 560px;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    display: block;
    margin: 0 auto 1.25rem;
    border-radius: 0.75rem;
}
.promo-card-title {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
    text-align: center;
    color: var(--ternary, #363839);
}
.promo-card-desc {
    font-size: 0.9rem;
    line-height: 1.3;
    color: var(--ternary, #363839);
    opacity: 0.95;
    text-align: center;
    margin: 0;
    max-width: 28em;
    margin-left: auto;
    margin-right: auto;
}

/* ----- Live Campaign fullscreen page ----- */
.live-page {
    background: var(--accent-color-500, #3F30C6);
    min-height: 100vh;
    color: #fff;
}
.live-f11-hint {
    position: fixed;
    top: 12px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 9999;

    width: fit-content;
    max-width: calc(100% - 2rem);
    margin: 0;

    background: #333;
    color: #fff;
    padding: 0.7rem 1rem;
    text-align: center;
    border-radius: 0.35rem;
}
/* Fullscreen: hide scrollbar and F11 hint */
html.live-fullscreen-active,
body.live-fullscreen-active {
    overflow: hidden;
}
.live-fullscreen-active .live-f11-hint {
    display: none;
}
@media (max-width: 768px) {
    .live-f11-hint {
        display: none;
    }
}

/* Step 02: Main outer container */
.live-container {
    max-width: 100%;
}
/* Step 01: Row split into 2/3 and 1/3 */
.live-row {
    display: flex;
    flex-wrap: nowrap;
}
.live-fullscreen-active .live-row.live-main-row {
    min-height: 100vh;
}
.live-row:last-of-type {
    margin-bottom: 0;
}

.live-col-two-thirds {
    width: 75%;
    flex: 0 0 75%;
    max-width: 75%;
    min-width: 0;
}

.live-col-one-third {
    width: 25%;
    flex: 0 0 25%;
    max-width: 25%;
    min-width: 0;
}

@media (max-width: 768px) {
    .live-row {
        flex-wrap: wrap;
    }
    .live-col-two-thirds,
    .live-col-one-third {
        width: 100%;
        flex: 0 0 100%;
        max-width: 100%;
        margin-left: 0;
    }
}
/* Left column (mockup): metrics + donut same row, then progress, then footer */
.live-col-main {
    display: flex;
    flex-direction: column;
    gap: 0;
}
.live-main-top {
    display: grid;
    flex: 1 1 auto;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    align-items: center;
    padding: 0.5rem 6rem;
    gap: 1rem;
    background: var(--accent-color-475, #3F30C6);
    border-top: 5px solid var(--accent-color-450, #3F30C6);
}
.live-main-top .live-pie-wrap {
    justify-self: center;
}
.live-col-main .live-description-line {
    text-align: center;
    background: var(--accent-color-475, #3F30C6);
    border-bottom: 5px solid var(--accent-color-450, #3F30C6);
}
/* Right column (mockup): QR + donators, lighter background */
.live-col-sidebar {
    background:var(--accent-color-100, #3F30C6);
    padding: 3rem;
    align-self: stretch;
}
.live-sidebar-inner {
    display: flex;
    flex-direction: column;
    gap: 4rem;
}
.live-sidebar-inner .live-qr-wrap {
    margin: 0 auto;
}
.live-donator-cards {
    margin-top: 0;
}
@media (max-width: 768px) {
    .live-main-top {
        flex-wrap: wrap;
    }
    .live-main-top .live-pie-wrap {
        width: 200px;
        height: 200px;
        min-width: 200px;
        min-height: 200px;
    }
    .live-col-sidebar {
        align-self: auto;
    }
}
.live-header-block {
    padding: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    column-gap: 1.5rem;
}
.live-header-left {
    flex: 0 0 16.666667%;
    max-width: 16.666667%;
    display: flex;
    align-items: center;
    justify-content: center;
    /* background-color: var(--accent-color-50);
    border-radius: 1rem; */
}
.live-header-right {
    flex: 0 0 83.333333%;
    max-width: 83.333333%;
    text-align: center;
}
.live-header-block > :last-child {
    margin-bottom: 0;
}
.live-header-right > :last-child {
    margin-bottom: 0;
    padding-bottom: 0;
}
.live-live-pill {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.75rem 1.25rem;
    border-radius: .3rem;
    background: rgb(255, 30, 0);
    color: #fff;
    text-transform: uppercase;
    font-size: 1.8rem;
    font-weight: 600;
    letter-spacing: 0.16em;
    transform-origin: center;
    animation: livePulseScale 1.1s ease-in-out infinite alternate;
    text-decoration: none;
}
.live-live-pill:hover,
.live-live-pill:focus {
    text-decoration: none;
    color: #fff;
}
.live-live-icon {
    width: 26px;
    height: 26px;
    stroke: currentColor;
    /* margin-right: 0.5rem; */
}
.live-live-text {
    display: inline-block;
    font-size: 1.2rem;
    font-weight: 400;
}
@keyframes livePulseScale {
    0% {
        transform: scale(1);
    }
    100% {
        transform: scale(1.05);
    }
}
.live-header-two-thirds {
    width: 66.666667%;
    max-width: 100%;
    margin-left: 0;
    margin-right: auto;
    text-align: left;
}
@media (max-width: 768px) {
    .live-header-block {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    .live-header-left,
    .live-header-right,
    .live-header-two-thirds {
        width: 100%;
        max-width: 100%;
    }
    .live-header-left {
        justify-content: center;
        margin-bottom: 0.75rem;
    }
}
.live-header-block h1 {
    margin: 0;
}
.live-header-block .live-org-url {
    font-size: 0.9rem;
    opacity: 0.9;
    text-decoration: none;
}
.live-header-block .live-org-url a {
    color: #fff;
    text-decoration: none;
}
.live-header-block .live-org-url a:hover {
    text-decoration: none;
}
.live-header-block .live-title {
    margin-top: 0;
    margin-bottom: 0.25rem;
    font-size: 2.2rem;
    font-weight: 700;
}
.live-header-block .live-subheader {
    font-size: 1rem;
    opacity: 0.9;
}
.live-description-line {
    font-size: 1.7rem;
    margin: 0 0 0.75rem;
    padding-bottom: 2rem;
    font-weight: 400;
    letter-spacing: 0.05em;
}
.live-footer {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding-top: 0.6rem;
    padding-bottom: 2rem;
    text-align: center;
}
.live-footer-logo {
    width: 40px;
    height: 40px;
    margin: 0 0 .5rem 0;
    object-fit: contain;
}
.live-footer-brand {
    font-size: 1.2rem;
    color: #fff;
    font-weight: 500;
    margin: 0;
}
.live-footer-tagline {
    font-size: .7rem;
    color: #fff;
    font-weight: 300;
    font-style: italic;
    margin: 0.15rem 0 0;
    opacity: 0.95;
}
.live-pie-wrap {
    width: 500px;
    height: 500px;
    min-width: 500px;
    min-height: 500px;
    aspect-ratio: 1 / 1;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
}
.live-pie-inner {
    width: 440px;
    height: 440px;
    min-width: 440px;
    min-height: 440px;
    aspect-ratio: 1 / 1;
    border-radius: 50%;
    background: var(--accent-color-500, #3F30C6);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 3.75rem;
}
.live-qr-wrap {
    max-width: 220px;
    margin: 0 auto;
    background-color: #ededed;
}
.live-qr-wrap img {
    width: 100%;
    height: auto;
    display: block;
}
.live-qr-code.live-qr-pulse {
    animation: live-qr-pulse 0.6s linear;
}
@keyframes live-qr-pulse {
    0%   { transform: scale(1)    rotate(0deg); }
    15%  { transform: scale(1.03) rotate(5deg); }
    30%  { transform: scale(1.05) rotate(-5deg); }
    45%  { transform: scale(1.05) rotate(4deg); }
    60%  { transform: scale(1.04) rotate(-3deg); }
    80%  { transform: scale(1.02) rotate(1deg); }
    100% { transform: scale(1)    rotate(0deg); }
}
#liveDonatorCards {
    overflow: hidden;
}
.card-donators {
    background: #fff;
    /* color: var(--accent-color-500, #3F30C6); */
    /* border-radius: .8rem; */
    padding: 0.5rem 0.5rem;
    margin-bottom: 1.4rem;
    border: 1px solid var(--accent-color-200, #3F30C6);
    /* border-left: 24px solid var(--accent-color-500, #3F30C6);
    border-right: 1px solid color-mix(in srgb, var(--accent-color-500, #3F30C6) 45%, white 55%);
    border-top: 1px solid color-mix(in srgb, var(--accent-color-500, #3F30C6) 45%, white 55%);
    border-bottom: 1px solid color-mix(in srgb, var(--accent-color-500, #3F30C6) 45%, white 55%); */
    text-align: center;
    transition: margin-bottom 0.35s ease, transform 0.35s ease;
}
.card-donators-exit {
    animation: card-donators-exit 0.4s ease forwards;
}
@keyframes card-donators-exit {
    0% {
        transform: scale(1);
        opacity: 1;
        max-height: 280px;
        margin-bottom: 1.4rem;
        padding: 0.5rem;
    }
    100% {
        transform: scale(0.5);
        opacity: 0;
        max-height: 0;
        margin-bottom: 0;
        padding-top: 0;
        padding-bottom: 0;
        overflow: hidden;
    }
}
.card-donators-enter {
    animation: card-donators-enter 1s ease-out forwards;
}
@keyframes card-donators-enter {
    0% {
        transform: scale(0.3);
        opacity: 0.6;
    }
    33% {
        transform: scale(1.10);
        opacity: 1;
    }
    100% {
        transform: scale(1);
        opacity: 1;
    }
}
.card-donators .card-donator-name {
    font-weight: 600;
    font-size: 1.2rem;
    letter-spacing: 0.02em;
    color: var(--accent-color-500, #3F30C6);
}
.card-donators .card-donator-meta {
    font-size: 0.9rem;
    color: var(--accent-color-500, #3F30C6);
}
.card-donators .card-donator-meta .card-donator-amount {
    font-weight: 700;
    font-size: 1.1rem;
    color: var(--accent-color-700, #2a1f8a);
}
.live-pulse {
    animation: live-pulse 0.5s ease-in-out;
}
#livePercent {
    display: inline-block;
}
@keyframes live-pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}
@media (max-width: 768px) {
    .live-page .row.live-metrics-row {
        flex-direction: column;
    }
    .live-pie-wrap {
        width: 160px;
        height: 160px;
        min-width: 160px;
        min-height: 160px;
    }
    .live-pie-inner {
        width: 110px;
        height: 110px;
        min-width: 110px;
        min-height: 110px;
        font-size: 1.4rem;
    }
}