*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

body.policy-page {
    font-family: 'Outfit', sans-serif;
    background: linear-gradient(180deg, #f7f5f0 0%, #eef3ef 100%);
    color: #333;
    line-height: 1.65;
    min-height: 100vh;
}

.policy-header {
    background: linear-gradient(135deg, #062a14 0%, #0d5725 100%);
    padding: 16px 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
    border-bottom: 3px solid #dfa317;
}

.policy-back {
    color: #fff;
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 16px;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.25);
    transition: background 0.3s ease, border-color 0.3s ease;
}

.policy-back:hover {
    background: rgba(223, 163, 23, 0.2);
    border-color: #dfa317;
    color: #dfa317;
}

.policy-brand {
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 1px;
    color: #dfa317;
    text-transform: uppercase;
}

.policy-hero {
    text-align: center;
    padding: 48px 24px 36px;
    max-width: 760px;
    margin: 0 auto;
}

.policy-hero-badge {
    display: inline-block;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: #0d5725;
    background: rgba(13, 87, 37, 0.08);
    padding: 6px 16px;
    border-radius: 50px;
    margin-bottom: 14px;
}

.policy-hero h1 {
    font-size: clamp(1.75rem, 4vw, 2.4rem);
    font-weight: 800;
    color: #0d5725;
    line-height: 1.25;
}

.policy-wrap {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px 48px;
}

.policy-card {
    background: #fff;
    border-radius: 20px;
    padding: 28px 28px 26px;
    margin-bottom: 18px;
    box-shadow: 0 8px 32px rgba(13, 87, 37, 0.08);
    border: 1px solid rgba(13, 87, 37, 0.06);
    position: relative;
    overflow: hidden;
}

.policy-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #0d5725, #dfa317);
}

.policy-card h3 {
    font-size: 1.15rem;
    font-weight: 800;
    color: #0d5725;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.policy-card h3::before {
    content: "";
    width: 8px;
    height: 8px;
    background: #dfa317;
    border-radius: 50%;
    flex-shrink: 0;
}

.policy-card h4 {
    font-size: 0.95rem;
    font-weight: 700;
    color: #dfa317;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    margin: 18px 0 10px;
}

.policy-card h4:first-of-type {
    margin-top: 0;
}

.policy-card p {
    font-size: 15px;
    color: #555;
    margin-bottom: 0;
}

.policy-card p + p {
    margin-top: 12px;
}

.policy-card ol, .policy-card ul {
    margin: 8px 0 0 20px;
    color: #555;
    font-size: 15px;
}

.policy-card li + li {
    margin-top: 8px;
}

.policy-notice {
    background: linear-gradient(135deg, #0d5725 0%, #084020 100%);
    border-radius: 16px;
    padding: 20px 24px;
    margin-bottom: 18px;
    text-align: center;
}

.policy-notice span {
    font-size: 14px;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.55;
}

.policy-footer {
    background: #062a14;
    color: rgba(255, 255, 255, 0.75);
    text-align: center;
    padding: 28px 24px;
    margin-top: 12px;
}

.policy-footer p {
    font-size: 14px;
    margin-bottom: 12px;
}

.policy-footer a {
    color: #dfa317;
    text-decoration: none;
    font-weight: 600;
    font-size: 13px;
    margin: 0 10px;
}

.policy-footer a:hover {
    text-decoration: underline;
}

.policy-footer span[aria-hidden="true"] {
    color: rgba(255, 255, 255, 0.3);
    font-size: 13px;
}

.policy-table-wrap {
    overflow-x: auto;
    margin-bottom: 18px;
    border-radius: 14px;
    box-shadow: 0 8px 32px rgba(13, 87, 37, 0.08);
}

.policy-table {
    width: 100%;
    border-collapse: collapse;
    background: #fff;
    min-width: 480px;
}

.policy-table th {
    background: #0d5725;
    color: #fff;
    font-weight: 700;
    padding: 14px 18px;
    text-align: left;
    font-size: 14px;
}

.policy-table td {
    padding: 14px 18px;
    border-bottom: 1px solid #ececec;
    font-size: 14px;
    color: #333;
}

.policy-table th:first-child,
.policy-table td:first-child {
    text-align: center;
    width: 70px;
}

.policy-table th:last-child,
.policy-table td:last-child {
    text-align: center;
    font-weight: 700;
    white-space: nowrap;
}

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

.policy-table .grand-total td {
    background: #0d5725;
    color: #fff;
    font-weight: 800;
    font-size: 15px;
    text-align: center;
}

@media (max-width: 575px) {
    .policy-card {
        padding: 22px 20px;
    }

    .policy-hero {
        padding: 36px 20px 28px;
    }
}

/* Site header (from homepage) reused on inner pages: these pages have no
   dark hero banner behind it, so keep it in normal flow with the same
   solid/scrolled look the homepage header gets after scrolling. */
@media (min-width: 768px) {
    header.header-v2-inner {
        position: relative;
        background: linear-gradient(180deg, #f7f5f0 0%, #fff 100%);
    }

    header.header-v2-inner .navbar-brand img {
        filter: none;
    }

    header.header-v2-inner .light-logo {
        display: none;
    }

    header.header-v2-inner .dark-logo {
        display: block;
    }

    header.header-v2-inner .navbar-nav .nav-link {
        color: var(--primary-color);
    }
}

/* Payment table (plot-size-wise pricing) */
.payment-note {
    color: #d32f2f;
    font-weight: 700;
    font-size: 14px;
    line-height: 1.5;
    margin: 0 0 20px;
    text-align: left;
}

.payment-price-table {
    min-width: 900px;
}

.payment-price-table th,
.payment-price-table td {
    text-align: center;
    vertical-align: middle;
}

.payment-price-table thead th {
    background: #000;
    color: #fff;
    font-size: 13px;
    line-height: 1.35;
}

.payment-price-table td.num {
    text-align: right;
    font-weight: 600;
    white-space: nowrap;
}

.payment-apply-btn {
    display: inline-block;
    background: #0d5725;
    color: #fff;
    font-weight: 700;
    font-size: 13px;
    padding: 10px 20px;
    border-radius: 8px;
    text-decoration: none;
    white-space: nowrap;
    transition: background 0.3s ease;
}

.payment-apply-btn:hover {
    background: #084020;
    color: #fff;
}

@media (max-width: 575px) {
    .payment-price-table {
        min-width: 760px;
    }
}

/* Stage-wise Payment Plan (Sr. No. / Stage / Percentage) */
.stage-plan-section {
    margin-bottom: 40px;
}

.stage-plan-title {
    text-align: center;
    font-size: clamp(1.7rem, 4vw, 2.3rem);
    font-weight: 800;
    color: #1a1a1a;
    margin: 0 0 6px;
}

.stage-plan-subtitle {
    text-align: center;
    font-size: 1rem;
    color: #6b7280;
    margin: 0 0 24px;
}

.stage-plan-table thead th {
    background: #128a1e;
    color: #fff;
    text-align: center;
}

.stage-plan-table tbody td {
    text-align: center;
}

.stage-plan-table tbody td:nth-child(2) {
    text-align: left;
}

.stage-plan-table tbody tr.grand-total td {
    background: #128a1e;
    color: #fff;
}
