/* style.css */
@import url('https://fonts.googleapis.com/css2?family=Manrope:wght@400;500;600;700&family=Playfair+Display:wght@500;600;700&display=swap');

:root {
    --ink: #0f172a;
    --navy: #0b1f2a;
    --navy-2: #123244;
    --accent: #0c4da2;
    --accent-dark: #083a7a;
    --sand: #f4f7f6;
    --mist: #f7faf9;
    --line: #dbe3ea;
    --slate: #475569;
    --white: #ffffff;
}

* {
    box-sizing: border-box;
}

body {
    font-family: 'Manrope', sans-serif;
    color: var(--ink);
    line-height: 1.7;
    background:
        radial-gradient(circle at top right, rgba(11, 31, 42, 0.08), transparent 45%),
        radial-gradient(circle at 10% 20%, rgba(12, 77, 162, 0.08), transparent 40%),
        var(--mist);
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Playfair Display', serif;
    font-weight: 700;
    color: var(--navy);
}

.text-primary,
.text-warning {
    color: var(--accent) !important;
}

.border-warning {
    border-color: rgba(12, 77, 162, 0.45) !important;
}

a {
    text-decoration: none;
}

img {
    max-width: 100%;
}

/* Navbar */
.navbar {
    background: rgba(255, 255, 255, 0.98);
    padding: 18px 0;
    border-bottom: 1px solid var(--line);
    backdrop-filter: blur(10px);
}

.navbar-brand {
    font-weight: 700;
    color: var(--navy) !important;
    font-size: 1.4rem;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.navbar-logo {
    height: 34px;
    width: auto;
    display: block;
}

.nav-link {
    color: var(--navy) !important;
    font-weight: 600;
    margin-left: 18px;
    position: relative;
    display: inline-flex;
    align-items: center;
    padding: 6px 4px;
    text-transform: uppercase;
    letter-spacing: 1.2px;
    font-size: 0.75rem;
}

.nav-link::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -6px;
    width: 0;
    height: 2px;
    background: var(--accent);
    transition: width 0.3s ease;
}

.nav-link:hover::after,
.nav-link:focus-visible::after,
.nav-link.active::after {
    width: 100%;
}

.nav-link:hover,
.nav-link.active {
    color: var(--accent) !important;
}

/* Hero */
.hero-section {
    position: relative;
    padding: 120px 0 90px;
    background: linear-gradient(120deg, rgba(12, 77, 162, 0.06), rgba(255, 255, 255, 0.95));
    overflow: hidden;
}

.hero-section::before,
.hero-section::after {
    content: '';
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
}

.hero-section::before {
    width: 420px;
    height: 420px;
    right: -140px;
    top: -140px;
    background: radial-gradient(circle, rgba(11, 31, 42, 0.12), transparent 70%);
}

.hero-section::after {
    width: 360px;
    height: 360px;
    left: -160px;
    bottom: -160px;
    background: radial-gradient(circle, rgba(12, 77, 162, 0.12), transparent 70%);
}

.hero-section h1 {
    color: var(--navy);
}

.hero-section p {
    color: var(--slate);
}

.hero-media {
    position: relative;
}

.hero-graphic {
    position: absolute;
    inset: -40px 30px auto auto;
    width: 200px;
    height: 200px;
    border-radius: 40px;
    background: linear-gradient(135deg, rgba(11, 31, 42, 0.15), rgba(12, 77, 162, 0.15));
    border: 1px solid rgba(11, 31, 42, 0.1);
    z-index: 0;
}

.section-kicker {
    text-transform: uppercase;
    letter-spacing: 3px;
    font-size: 0.75rem;
    color: var(--slate);
    margin-bottom: 14px;
}

.section-kicker.text-dark {
    color: var(--slate);
}

.page-hero,
.page-header {
    background: linear-gradient(120deg, rgba(11, 31, 42, 0.08), rgba(255, 255, 255, 0.9));
    color: var(--navy);
    padding: 90px 0 70px;
    border-bottom: 1px solid var(--line);
}

.page-hero h1,
.page-header h1 {
    color: var(--navy);
}

.page-hero p,
.page-header p {
    color: var(--slate);
    margin-bottom: 0;
}

.page-header .container,
.page-hero .container {
    max-width: 900px;
}

.hero-card {
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: 20px;
    padding: 24px;
    box-shadow: 0 20px 40px rgba(11, 31, 58, 0.08);
    margin-bottom: 16px;
    position: relative;
    z-index: 1;
}

.hero-card-muted {
    background: rgba(11, 31, 58, 0.04);
}

.metric {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    padding: 12px 0;
    border-bottom: 1px solid var(--line);
}

.metric:last-child {
    border-bottom: none;
}

.metric-value {
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--accent);
}

.metric-label {
    font-size: 0.95rem;
    color: var(--slate);
}

/* Trust bar */
.trust-bar {
    background: var(--white);
    padding: 20px 0;
    border-bottom: 1px solid var(--line);
}

.trust-items {
    display: flex;
    flex-wrap: wrap;
    gap: 12px 16px;
    font-weight: 600;
    color: var(--navy-2);
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.72rem;
    justify-content: center;
}

.trust-items span {
    padding: 6px 12px;
    border-radius: 999px;
    border: 1px solid var(--line);
    background: rgba(11, 31, 58, 0.04);
}

/* Sections */
.section-soft {
    background: var(--sand);
    padding: 70px 0;
}

.vision-page {
    background: #f4f6f9;
}

.vision-page .page-hero {
    background: linear-gradient(135deg, #eaf0f6, #ffffff);
}

.vision-page .page-hero p {
    color: #435261;
}

.vision-page .section-soft {
    background: #eef2f6;
}

.vision-page .vision-card,
.vision-page .mission-card,
.vision-page .about-card {
    border-color: rgba(11, 31, 58, 0.12);
    box-shadow: 0 16px 32px rgba(11, 31, 58, 0.08);
}

.vision-page .mission-list {
    color: #4a5a6a;
}

.about-page {
    background: #f2f4f8;
}

.about-page .page-hero {
    background: linear-gradient(135deg, #e6edf6, #ffffff);
}

.about-page .page-hero p {
    color: #435261;
}

.about-page p,
.about-page li {
    color: #4a5a6a;
    line-height: 1.7;
}

.about-page .text-secondary {
    color: #4a5a6a !important;
}

.about-overview {
    padding: 80px 0;
    background: #f5f7fb;
}

.about-values {
    padding: 70px 0;
    background: linear-gradient(120deg, rgba(11, 31, 42, 0.06), rgba(255, 255, 255, 0.92));
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
}

.about-focus {
    padding: 80px 0 90px;
    background: #f9fafc;
}

.text-link {
    color: var(--accent);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.72rem;
    position: relative;
    display: inline-flex;
    align-items: center;
    z-index: 0;
}

.text-link::before {
    content: '';
    position: absolute;
    left: -6px;
    right: -6px;
    bottom: 0.1em;
    height: 0.55em;
    background: rgba(12, 77, 162, 0.18);
    border-radius: 999px;
    z-index: -1;
}

.pillar-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 18px;
}

.pillar-card {
    background: var(--white);
    border-radius: 18px;
    padding: 22px;
    border: 1px solid var(--line);
    box-shadow: 0 14px 30px rgba(11, 31, 58, 0.08);
}

.about-card {
    background: var(--white);
    border-radius: 20px;
    padding: 26px;
    border: 1px solid var(--line);
    box-shadow: 0 16px 30px rgba(11, 31, 58, 0.08);
    height: 100%;
}

.csr-focus-card {
    position: relative;
    background-size: cover;
    background-position: center;
    overflow: hidden;
}

.csr-focus-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.92), rgba(255, 255, 255, 0.78));
    z-index: 0;
}

.csr-focus-card > * {
    position: relative;
    z-index: 1;
}

.csr-focus-education {
    background-image: url("https://stage.pagirnthidu.in/static/web/assets/frontend/img/mission/educationForAll.jpg");
}

.csr-focus-animal {
    background-image: url("https://stage.pagirnthidu.in/static/web/assets/frontend/img/mission/AnimalWelfare.jpg");
}

.csr-focus-ecosystem {
    background-image: url("https://stage.pagirnthidu.in/static/web/assets/frontend/img/mission/ecosYs.jpg");
}

.csr-focus-sports {
    background-image: url("https://stage.pagirnthidu.in/static/web/assets/frontend/img/mission/sportS.jpg");
}

.csr-focus-innovation {
    background-image: url("https://stage.pagirnthidu.in/static/web/assets/frontend/img/mission/innovatioN.jpg");
}

.focus-list,
.mission-list {
    padding-left: 18px;
    color: var(--slate);
    font-weight: 600;
}

.focus-list li,
.mission-list li {
    margin-bottom: 10px;
}

.vision-card,
.mission-card {
    background: var(--white);
    border-radius: 22px;
    padding: 32px;
    border: 1px solid var(--line);
    box-shadow: 0 18px 36px rgba(11, 31, 58, 0.08);
    height: 100%;
}

.vision-card--pro {
    position: relative;
    border: 1px solid rgba(11, 31, 58, 0.12);
    box-shadow: 0 22px 40px rgba(11, 31, 58, 0.1);
    background: linear-gradient(140deg, rgba(255, 255, 255, 0.96), rgba(247, 250, 252, 0.95));
}

.vision-card--pro::before {
    content: '';
    position: absolute;
    top: 20px;
    right: 20px;
    width: 84px;
    height: 4px;
    border-radius: 999px;
    background: linear-gradient(90deg, rgba(12, 77, 162, 0.2), rgba(12, 77, 162, 0.7));
}

.vision-card--pro h2 {
    font-size: clamp(1.5rem, 2.2vw, 1.9rem);
    line-height: 1.25;
}

.vision-card--pro .mission-list {
    list-style: none;
    padding-left: 0;
    margin-bottom: 0;
}

.vision-card--pro .mission-list li {
    position: relative;
    padding-left: 20px;
    margin-bottom: 14px;
    color: #4a5a6a;
}

.vision-card--pro .mission-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.6em;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--accent);
}

.vision-card {
    background: linear-gradient(140deg, rgba(11, 31, 58, 0.06), rgba(255, 255, 255, 0.95));
}

.vertical-card {
    background: var(--white);
    border-radius: 18px;
    padding: 26px;
    border: 1px solid var(--line);
    box-shadow: 0 14px 30px rgba(11, 31, 58, 0.08);
    height: 100%;
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
    overflow: hidden;
    position: relative;
    min-height: 220px;
}

.vertical-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 40px rgba(11, 31, 58, 0.12);
    border-color: rgba(11, 31, 58, 0.3);
}

.vertical-card:hover .card-header {
    background: rgba(11, 31, 58, 0.08);
    color: var(--navy);
}

.vertical-logo {
    position: absolute;
    inset: 26px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.3s ease, transform 0.5s ease;
    opacity: 1;
}

.vertical-logo img {
    max-width: 140px;
    height: auto;
}

.vertical-details {
    position: absolute;
    inset: 26px;
    opacity: 0;
    transition: opacity 0.3s ease;
    display: flex;
    flex-direction: column;
    justify-content: center;
    text-align: center;
}

.vertical-details .card-header {
    font-weight: 700;
    text-align: center;
}

.vertical-details .card-body {
    text-align: center;
}

.vertical-card:hover .vertical-logo {
    opacity: 0;
    transform: rotateY(180deg);
}

.vertical-card:hover .vertical-details {
    opacity: 1;
}

/* Index-only verticals layout */
.index-verticals .index-verticals-header {
    text-align: center;
}

.index-verticals .index-verticals-header .text-link {
    display: inline-block;
}

.index-verticals .vertical-card {
    text-align: center;
    min-height: 200px;
    padding: 22px;
}

/* Impact */
.impact-band {
    padding: 70px 0;
    background: var(--white);
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
}

.impact-metric {
    background: var(--white);
    border-radius: 18px;
    padding: 24px;
    border: 1px solid var(--line);
    box-shadow: 0 14px 30px rgba(11, 31, 58, 0.08);
}

.impact-value {
    font-size: 2.6rem;
    font-weight: 700;
    color: var(--navy);
}

.impact-label {
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.72rem;
    color: var(--slate);
}

.verticals-grid {
    padding-top: 36px;
}

/* Quote */
.quote-card {
    background: var(--white);
    border-radius: 22px;
    padding: 30px;
    box-shadow: 0 20px 40px rgba(11, 31, 58, 0.08);
    border: 1px solid var(--line);
}

.quote-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.leadership-photo {
    width: 100%;
    max-width: 520px;
    aspect-ratio: 5 / 6;
    object-fit: cover;
    border-radius: 20px;
    box-shadow: 0 18px 40px rgba(11, 31, 58, 0.14);
}

.leadership-name {
    color: #0d3a6f;
}

.leadership-title {
    color: #8b6a2b;
    letter-spacing: 1.2px;
}

.leadership-page {
    background: #f3f5f9;
}

.leadership-page .page-hero {
    background: linear-gradient(135deg, #e7edf5, #ffffff);
}

.leadership-overview {
    padding: 80px 0 100px;
    background: #f6f8fb;
}

.leadership-photo-card {
    background: var(--white);
    border-radius: 24px;
    padding: 18px;
    border: 1px solid var(--line);
    box-shadow: 0 20px 40px rgba(11, 31, 58, 0.1);
}

.leadership-profile {
    margin-bottom: 22px;
}

.leadership-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 18px;
}

.leadership-card {
    background: var(--white);
    border-radius: 20px;
    padding: 22px;
    border: 1px solid var(--line);
    box-shadow: 0 14px 30px rgba(11, 31, 58, 0.08);
}

.leadership-card h6 {
    letter-spacing: 1.4px;
    color: var(--slate);
}

.leadership-list {
    padding-left: 18px;
    margin-bottom: 0;
    color: var(--slate);
    font-weight: 600;
}

.leadership-quote {
    background: linear-gradient(140deg, rgba(11, 31, 58, 0.06), rgba(255, 255, 255, 0.96));
}

/* CTA */
.cta-section {
    padding: 80px 0 100px;
    background: linear-gradient(120deg, rgba(11, 31, 42, 0.06), rgba(12, 77, 162, 0.05));
}

.cta-card {
    background: var(--white);
    border-radius: 28px;
    padding: 34px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    box-shadow: 0 24px 50px rgba(11, 31, 58, 0.12);
    border: 1px solid var(--line);
}

/* Feature panels */
.section-panels {
    padding: 90px 0;
    background: linear-gradient(120deg, rgba(11, 31, 42, 0.06), rgba(255, 255, 255, 0.92));
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
}

.panel-grid {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    gap: 24px;
}

.panel-card {
    background: var(--white);
    border-radius: 22px;
    border: 1px solid var(--line);
    padding: 28px;
    box-shadow: 0 18px 40px rgba(11, 31, 58, 0.08);
    position: relative;
    min-height: 240px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    overflow: hidden;
}

.panel-card--wide {
    grid-column: span 7;
    min-height: 280px;
}

.panel-card--tall {
    grid-column: span 5;
    min-height: 320px;
}

.panel-card--csr {
    position: relative;
    color: var(--navy);
    background-color: #eef3f7;
    background-size: cover;
    background-position: center;
    animation: csrBackgroundSwap 6s infinite;
}

.panel-card--csr::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.92), rgba(255, 255, 255, 0.78));
    border-radius: inherit;
    z-index: 0;
}

.panel-card--csr > * {
    position: relative;
    z-index: 1;
}

.panel-card--accent {
    background: #0b1c24;
    color: var(--white);
}

.panel-card--accent .panel-kicker,
.panel-card--accent .panel-title,
.panel-card--accent .panel-text,
.panel-card--accent .panel-link {
    color: var(--white);
}

.panel-kicker {
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 0.7rem;
    color: var(--slate);
    margin-bottom: 10px;
}

.panel-title {
    font-size: 1.6rem;
    margin-bottom: 12px;
}

.panel-text {
    color: var(--slate);
    margin-bottom: 0;
}

.panel-link {
    color: var(--navy);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.72rem;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.panel-link::after {
    content: '→';
}

.panel-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    align-items: center;
}

.btn-csr {
    padding: 6px 14px;
    font-size: 0.7rem;
    letter-spacing: 0.6px;
}

.panel-stat {
    font-size: 2.4rem;
    font-weight: 700;
    color: var(--accent);
    margin-bottom: 6px;
}

.panel-stat-label {
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.72rem;
    color: var(--slate);
}

/* Buttons */
.btn-gold,
.btn-primary {
    background-color: var(--accent);
    color: var(--white);
    font-weight: 600;
    border: none;
    padding: 12px 30px;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: 0.3s ease;
    position: relative;
    overflow: hidden;
}

.btn-gold:hover,
.btn-primary:hover {
    background-color: var(--accent-dark);
    color: var(--white);
}

.btn-outline-light {
    border: 2px solid var(--navy);
    color: var(--navy);
    padding: 12px 30px;
    text-transform: uppercase;
    font-weight: 600;
    letter-spacing: 1px;
    position: relative;
    overflow: hidden;
}

.btn-outline-dark {
    border: 2px solid var(--navy);
    color: var(--navy);
    padding: 12px 26px;
    text-transform: uppercase;
    font-weight: 600;
    letter-spacing: 1px;
    position: relative;
    overflow: hidden;
}

.btn-gold::after,
.btn-primary::after,
.btn-outline-light::after,
.btn-outline-dark::after {
    content: '';
    position: absolute;
    left: 50%;
    top: 50%;
    width: 0;
    height: 0;
    background: rgba(255, 255, 255, 0.25);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    opacity: 0;
    transition: width 0.4s ease, height 0.4s ease, opacity 0.4s ease;
}

.btn-gold:hover::after,
.btn-primary:hover::after,
.btn-outline-light:hover::after,
.btn-outline-dark:hover::after,
.btn-gold:focus-visible::after,
.btn-primary:focus-visible::after,
.btn-outline-light:focus-visible::after,
.btn-outline-dark:focus-visible::after {
    width: 220%;
    height: 220%;
    opacity: 1;
}

.form-control {
    border-radius: 14px;
    border: 1px solid var(--line);
    padding: 12px 14px;
}

.form-control:focus {
    border-color: rgba(11, 31, 58, 0.45);
    box-shadow: 0 0 0 0.2rem rgba(11, 31, 58, 0.12);
}

/* Contact popup */
.contact-popup {
    position: fixed;
    inset: 0;
    background: rgba(11, 19, 32, 0.55);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.25s ease;
    z-index: 1050;
    padding: 24px;
}

.contact-popup.is-visible {
    opacity: 1;
    pointer-events: auto;
}

.contact-popup-card {
    background: var(--white);
    color: var(--ink);
    border-radius: 16px;
    padding: 24px;
    width: min(420px, 100%);
    box-shadow: 0 24px 60px rgba(11, 31, 58, 0.25);
    border: 1px solid var(--line);
}

.contact-popup.is-error .contact-popup-card {
    border-color: rgba(176, 48, 48, 0.4);
}

.contact-popup-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 12px;
}

.contact-popup-header h5 {
    margin: 0;
}

.contact-popup-close {
    border: 1px solid rgba(11, 31, 58, 0.2);
    background: transparent;
    color: var(--ink);
    width: 32px;
    height: 32px;
    border-radius: 50%;
    font-weight: 700;
    line-height: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

.contact-popup-close:hover,
.contact-popup-close:focus-visible {
    border-color: var(--accent);
    color: var(--accent);
}

/* Footer */
.site-footer {
    background: #0b1c24;
    color: var(--white);
    padding: 60px 0 40px;
    text-align: left;
}

.site-footer .row {
    justify-content: flex-start;
}

.site-footer p,
.site-footer a,
.site-footer h4,
.site-footer h6,
.site-footer .text-white-50,
.site-footer .text-muted {
    color: var(--white) !important;
}

.site-footer h6 {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.75rem;
    letter-spacing: 1.6px;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    font-weight: 600;
}

.footer-links a:hover {
    color: var(--accent);
}

.footer-socials {
    display: flex;
    gap: 12px;
    margin-top: 12px;
}

.footer-social {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.25);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, 0.8);
    transition: border-color 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.footer-social:hover,
.footer-social:focus-visible {
    color: var(--accent);
    border-color: var(--accent);
    transform: translateY(-1px);
}

.footer-social svg {
    width: 18px;
    height: 18px;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    margin-top: 30px;
    padding-top: 16px;
    text-align: center;
}

/* Reveal animations */
.reveal {
    opacity: 0;
    transform: translateY(16px);
    animation: reveal 0.8s ease forwards;
}

.reveal-delay-1 {
    animation-delay: 0.1s;
}

.reveal-delay-2 {
    animation-delay: 0.25s;
}

.reveal-delay-3 {
    animation-delay: 0.4s;
}

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

@keyframes csrBackgroundSwap {
    0%,
    49% {
        background-image: url("https://stage.pagirnthidu.in/static/web/assets/frontend/img/mission/activities/activity_img2.png");
    }
    50%,
    100% {
        background-image: url("https://stage.pagirnthidu.in/static/web/assets/frontend/img/mission/activities/activity_img9.png");
    }
}

/* Verticals showcase */
.verticals-showcase {
    padding: 90px 0 110px;
    background: linear-gradient(120deg, rgba(11, 31, 42, 0.08), rgba(255, 255, 255, 0.9));
    border-top: 1px solid var(--line);
}

.showcase-stage {
    display: grid;
    grid-template-columns: minmax(280px, 1.1fr) minmax(280px, 1fr);
    gap: 40px;
    align-items: center;
    margin-bottom: 36px;
}


.showcase-media {
    background: var(--white);
    border-radius: 28px;
    border: 1px solid var(--line);
    padding: 48px;
    position: relative;
    min-height: 320px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    box-shadow: 0 24px 50px rgba(11, 31, 58, 0.12);
}

.showcase-media,
.showcase-content {
    transition: opacity 0.22s ease, transform 0.22s ease;
}

.showcase-exit {
    opacity: 0;
    transform: translateX(-18px);
}

.showcase-enter {
    opacity: 0;
    transform: translateX(18px);
}

.showcase-photo {
    position: absolute;
    inset: 16px;
    border-radius: 24px;
    background: linear-gradient(135deg, rgba(11, 31, 42, 0.15), rgba(12, 77, 162, 0.1));
}

.showcase-logo {
    position: relative;
    max-width: 200px;
    height: auto;
    z-index: 1;
}

.showcase-content h2 {
    margin-bottom: 16px;
}

.showcase-strip {
    display: flex;
    align-items: center;
    gap: 16px;
}

.showcase-nav {
    border: 1px solid var(--line);
    background: var(--white);
    width: 44px;
    height: 44px;
    border-radius: 50%;
    font-weight: 700;
    color: var(--navy);
    box-shadow: 0 12px 24px rgba(11, 31, 58, 0.12);
}

.showcase-thumbs {
    display: flex;
    gap: 14px;
    overflow-x: auto;
    padding-bottom: 8px;
    scrollbar-width: thin;
    scroll-behavior: smooth;
}

.showcase-thumb {
    border: 1px solid var(--line);
    background: var(--white);
    border-radius: 16px;
    padding: 14px 18px;
    flex: 0 0 160px;
    height: 92px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 12px 24px rgba(11, 31, 58, 0.1);
    transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.showcase-thumb img {
    max-height: 44px;
    width: auto;
}

.showcase-thumb.is-active {
    border-color: var(--accent);
    transform: translateY(-4px);
    box-shadow: 0 18px 36px rgba(11, 31, 58, 0.16);
}

.showcase-thumb:focus-visible {
    outline: 2px solid rgba(11, 31, 58, 0.5);
    outline-offset: 3px;
}

/* News layout */
.news-section {
    padding: 90px 0;
    background: var(--mist);
}

.news-header {
    margin-bottom: 24px;
}

.news-header span {
    display: inline-block;
    background: var(--white);
    border: 1px solid var(--line);
    padding: 8px 16px;
    border-radius: 10px;
    font-weight: 600;
    color: var(--navy);
    box-shadow: 0 10px 24px rgba(11, 31, 58, 0.08);
}

.news-grid {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    gap: 24px;
}

.news-card {
    background: var(--white);
    border-radius: 22px;
    border: 1px solid var(--line);
    box-shadow: 0 18px 40px rgba(11, 31, 58, 0.08);
    padding: 24px;
    position: relative;
    overflow: hidden;
}

.news-kicker {
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 0.7rem;
    color: var(--slate);
    margin-bottom: 10px;
}

.news-title {
    font-size: 1.4rem;
    margin-bottom: 12px;
}

.news-text {
    color: var(--slate);
    margin-bottom: 0;
}

.news-cta {
    margin-top: 18px;
}

.news-card--hero {
    grid-column: span 5;
    padding: 0;
    min-height: 320px;
}

.news-hero-media {
    position: relative;
    height: 100%;
    background: linear-gradient(135deg, rgba(11, 31, 58, 0.9), rgba(11, 31, 58, 0.6));
}

.news-hero-media img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    mix-blend-mode: lighten;
    opacity: 0.9;
}

.news-hero-body {
    position: relative;
    z-index: 1;
    padding: 26px;
    color: var(--white);
    background: linear-gradient(120deg, rgba(11, 31, 58, 0.92), rgba(11, 31, 58, 0.6));
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
}

.news-hero-body .news-kicker,
.news-hero-body .news-title,
.news-hero-body .news-text {
    color: var(--white);
}

.news-card--note {
    grid-column: span 4;
    min-height: 320px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.news-card--fact {
    grid-column: span 3;
    min-height: 320px;
    background: #0c4da2;
    color: var(--white);
}

.news-card--fact .news-kicker,
.news-card--fact .news-title,
.news-card--fact .news-text {
    color: var(--white);
}

.news-card--social {
    grid-column: span 4;
    min-height: 240px;
    background: linear-gradient(140deg, rgba(11, 31, 42, 0.92), rgba(11, 31, 42, 0.7));
    color: var(--white);
}

.news-card--social .news-kicker,
.news-card--social .news-title,
.news-card--social .news-text {
    color: var(--white);
}

.news-card--spotlight {
    grid-column: span 8;
    min-height: 240px;
    background:
        radial-gradient(circle at 85% 40%, rgba(12, 77, 162, 0.08), transparent 55%),
        linear-gradient(135deg, rgba(12, 77, 162, 0.1), rgba(11, 31, 42, 0.06));
    position: relative;
    overflow: hidden;
}

.news-card--spotlight::after {
    content: "";
    position: absolute;
    inset: 0;
    background: url("https://pagirnthidu.in/static/web/assets/frontend/img/Pagirnthidu-Logo.svg") no-repeat right 28px center/180px auto;
    opacity: 0.12;
    pointer-events: none;
    z-index: 0;
}

.news-card--spotlight > * {
    position: relative;
    z-index: 1;
}

.news-card--spotlight > * {
    position: relative;
    z-index: 1;
}

@media (max-width: 991px) {
    .navbar-brand {
        font-size: 1.2rem;
    }

    .navbar-nav .nav-link {
        margin-left: 0;
        padding: 8px 0;
    }

    .cta-card {
        flex-direction: column;
        align-items: flex-start;
    }

    .hero-section {
        padding: 100px 0 70px;
    }

    .page-hero,
    .page-header {
        padding: 70px 0 50px;
    }

    .showcase-stage {
        grid-template-columns: 1fr;
    }

    .panel-card,
    .panel-card--wide,
    .panel-card--tall {
        grid-column: span 12;
    }

    .news-card--hero,
    .news-card--note,
    .news-card--fact,
    .news-card--social,
    .news-card--spotlight {
        grid-column: span 12;
    }
}

@media (max-width: 767px) {
    .hero-section::before {
        width: 300px;
        height: 300px;
        right: -140px;
        top: -160px;
    }

    .hero-section::after {
        width: 260px;
        height: 260px;
        left: -160px;
        bottom: -180px;
    }

    .navbar {
        padding: 12px 0;
    }

    .section-kicker {
        letter-spacing: 2px;
        font-size: 0.7rem;
    }

    .hero-section h1,
    .page-hero h1,
    .page-header h1 {
        font-size: clamp(2rem, 7vw, 2.6rem);
    }

    .hero-section p.lead,
    .page-hero p.lead {
        font-size: 1rem;
    }

    .cta-card {
        padding: 24px;
    }

    .cta-card .btn,
    .hero-section .btn {
        width: 100%;
        text-align: center;
    }

    .quote-meta {
        flex-direction: column;
        align-items: flex-start;
        gap: 6px;
    }

    .trust-items {
        font-size: 0.7rem;
        gap: 10px 16px;
    }

    .hero-card {
        margin-top: 18px;
    }

    .hero-graphic {
        display: none;
    }

    .showcase-strip {
        flex-direction: column;
        align-items: stretch;
    }

    .showcase-nav {
        width: 100%;
        border-radius: 999px;
        height: 44px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .showcase-media,
    .showcase-content {
        transition: none;
    }
}

@media (max-width: 575px) {
    .impact-band {
        padding: 50px 0;
    }

    .impact-value {
        font-size: 1.6rem;
    }

    .btn-gold,
    .btn-primary,
    .btn-outline-light,
    .btn-outline-dark {
        padding: 10px 20px;
        font-size: 0.85rem;
    }
}
