/* Figma 2147:5888: shared visual treatment for the three hero slides. */
:root { --ink: #151c28; --navy: #00123a; --gold: #F5B123; }
body { background: #faf8f6; }
main { overflow: clip; }
main { overflow: clip; }
.site-header { top: 0; padding: 0; width: calc(100% - 160px); left: 80px; right: auto; height: 96px; align-items: flex-start; }
.site-header>a img { width: 110px; height: 120px; object-fit: cover; object-position: bottom; border-radius: 0 0 12px 12px; }
.site-header nav { padding-top: 16px; }
.site-header .contact-button, .subscribe button { background: var(--gold); color: #00123a; }
.hero { height: 640px; min-height: 640px; padding: 230px 0 166px; align-items: flex-start; }
#slide-label, .overview>.eyebrow, .vision { display: none; }
.hero h1 { font-size: 54px; line-height: 1.2; }
.hero h1 em { color: var(--gold); font-style: normal; }
.hero-tagline { font-size: 20px; margin-top: 16px; }
.hero-tagline em { color: #fff; }
.hero[data-active-slide="1"] .hero-tagline em,
.hero[data-active-slide="2"] .hero-tagline em { color: #fff; }
.hero-description { font-size: 18px; margin-top: 24px; }
.hero-bottom { margin-top: 50px; }
.hero .slider-controls .round { width: 38px; height: 38px; flex-basis: 38px; }
.hero .slider-controls .round svg { width: 18px; height: 18px; stroke-width: 1.5; }
.hero-dots button.active { background: var(--gold); }
.hero-dots button.active::after { background: var(--gold); }
.overview { padding: 80px 0; }
.overview h2 { margin: 0 0 10px; }
.overview h2 em, .recap h2 em, .testimonials h2 em { color: inherit; font-style: normal; }
.overview .intro { max-width: 900px; font-size: 14px; line-height: 22px; }
.timeline { margin-top: 44px; gap: 48px; }
.day { grid-template-columns: minmax(0,1fr) 46px minmax(0,1.09fr); }
.day-copy { gap: 16px; }
.day>img { border-radius: 8px; }
.day-marker span { background: var(--navy); }
.timeline-progress::after { background: #073763; }
.day-detail { font-size: 16px; line-height: 24px; }
.conclave-timeline-scroll { margin-top: 44px; overflow-x: auto; padding: 4px 4px 16px; }
.conclave-timeline-scroll:focus-visible { outline: 2px solid var(--navy); outline-offset: 4px; border-radius: 8px; }
.conclave-timeline { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 40px; min-width: 600px; padding: 0; margin: 0; list-style: none; }
.conclave-timeline-step { position: relative; min-width: 0; display: flex; flex-direction: column; gap: 24px; }
.conclave-timeline-marker { position: relative; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--navy); color: #fff; font: 18px/1 var(--serif); }
.conclave-timeline-step article { display: flex; flex: 1; flex-direction: column; align-items: flex-start; gap: 16px; text-align: left; }
.conclave-timeline-step h3 { font: 400 clamp(22px, 2.4vw, 30px)/1.25 var(--text-serif); color: #d14a1b; }
.conclave-timeline-step article > p:not(.date) { flex: 1; font-size: 16px; line-height: 24px; }
.conclave-timeline-step img { width: 100%; height: 230px; object-fit: cover; border-radius: 8px; }
.looking-back { background: #ffe8b3; padding: 64px 0; }
.recap h2 { margin: 16px 0; }
.recap .eyebrow, .snapshots .eyebrow { letter-spacing: .28em; }
.stats>div { padding: 24px; border: 0; }
.conclave-panels { position: relative; isolation: isolate; padding: 90px 0 120px; background: linear-gradient(115deg,#faf6f5,#d3e5f2); }
.conclave-panels::before { content: ''; position: absolute; z-index: -1; top: 0; right: 0; width: 537px; height: 612px; max-width: 65%; background: url('../new_assests/nbcsc/what_bg.png') right top/contain no-repeat; opacity: .055; pointer-events: none; }
.conclave-panels .panel>.row:first-child { text-align: center; margin-bottom: 40px; }
.panel-subheading { font-size: 12px; color: #db591c; letter-spacing: .28em; margin-bottom: 10px; }
.panel-heading { font-size: 46px; line-height: 1.2; }
.panel-subheading2 { color: #8e8e93; font-size: 18px; margin-top: 16px; }
.conclave-panels .row.g-4 { display: grid; grid-template-columns: 386fr 862fr; gap: 32px; }
.panel-tabs-container { display: flex; flex-direction: column; gap: 30px; }
.panel-tab-card { width: 100%; min-height: 132px; text-align: left; padding: 24px 20px; border: 0; border-radius: 20px; background: #fff; box-shadow: 0 0 18px #1225490f; }
.panel-tab-card>.d-flex { display: flex; justify-content: space-between; }
.panel-tab-num { font: 30px/1.2 var(--serif); color: #6a7181; }
.panel-tab-title { font-size: 16px; line-height: 1.2; color: #122549; margin-top: 12px; }
.panel-tab-card.active { background: var(--active-bg); }
.panel-tab-card.active .panel-tab-title { color: white; }
.panel-tab-card.active .panel-tab-num { color: #f34a16; }
.panel-tab-card.active path { stroke: #f34a16; }
.panel-tab-card.active:not([data-panel="panel1"]) .panel-tab-num { color: white; }
.panel-tab-card.active:not([data-panel="panel1"]) path { stroke: white; }
.panel-detail-card { border-radius: 22px; overflow: hidden; background: #fff; height: 100%; }
.panel-detail-img-wrapper { height: 236px; position: relative; }
.panel-detail-img-wrapper:after { content: ''; position: absolute; inset: 0; background: linear-gradient(transparent,#07376388); }
#panel-detail-image { width: 100%; height: 100%; object-fit: cover; }
.panel-detail-body { padding: 24px 45px 52px; }
.panel-badge { display: inline-block; border-radius: 100px; background: #d6e6f5; color: #073763; padding: 5px 12px; font-size: 12px; margin-bottom: 20px; }
.panel-detail-heading { font-size: 28px; font-style: italic; margin-bottom: 12px; }
.panel-detail-desc { font-size: 16px; line-height: 1.4; color: #6a7181; }
.panel-divider { border: 0; border-top: 1px solid #e2e8f0; margin: 20px 0 40px; }
.panel-detail-body>.d-flex:last-child { display: flex; align-items: center; gap: 16px; }
.moderator-avatar { width: 72px; height: 72px; object-fit: cover; border-radius: 50%; }
.moderator-label { font-size: 14px; letter-spacing: 3px; color: #6a7181; margin-bottom: 12px; }
.moderator-info { font-size: 16px; color: #151c28; }
.snapshots { text-align: center; background: linear-gradient(110deg,#00123a,#073763); padding: 80px 0; }
.snapshots>.container { width: 100%; max-width: none; }
.snapshots h2 { margin: 12px 0; }
.gallery { grid-template-columns: 1.5fr 1fr 1fr; gap: 4px; }
.gallery .snapshot-frame:nth-child(n) { grid-column: auto; height: 320px; border-radius: 0; }
.testimonials { height: auto; min-height: 759px; padding: 80px 24px; background: #FEE7B6; }
.testimonial-track { margin-top: 40px; align-items: center; gap: 24px; }
.testimonial-card { width: 680px; height: 480px; padding: 32px; border-radius: 8px; background: linear-gradient(180deg,#00123a 38%,#000 98%); color: #fff; box-shadow: 0 20px 40px #0005; }
.testimonial-card blockquote { font-size: 16px; line-height: 1.3; font-style: normal; letter-spacing: 0; }
.testimonial-card>div { align-self: stretch; text-align: left; }
.testimonial-card>img { filter: brightness(0) invert(1); opacity: .7; }
.testimonial-card>img { filter: brightness(0) invert(1); opacity: .7; }
.testimonial-card h3 { color: white; font-size: 22px; text-transform: uppercase; }
.testimonial-card small { color: white; font-size: 13px; text-transform: uppercase; }
.testimonial-side { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 18px; width: 72px; height: 440px; padding: 20px; color: white; background: #39372b; border: 1px solid #ffffff55; border-radius: 6px; font-weight: bold; letter-spacing: 4px; box-shadow: 0 8px 16px #0004; }
.testimonial-side b { writing-mode: vertical-rl; text-orientation: upright; }
.testimonial-side { background-image: url('../assets/conclave/figma/testimonial-network.svg'); background-position: center; background-size: 100% 100%; }
.testimonial-side span { writing-mode: horizontal-tb; border-top: 1px solid #ffffff77; padding-top: 10px; }
.testimonials>.slider-controls { display: none; }
.about-footer { background: #00123a; padding: 50px 80px 22px; }
.about-footer .footer-top { grid-template-columns: 396fr 283fr 117fr 404fr; gap: 30px; border: 0; padding: 0; }
.foundation { display: flex; align-items: flex-start; gap: 16px; }
.foundation img { width: 80px; height: 81px; object-fit: contain; }
.foundation h4 { font: 20px/1.2 var(--text-serif); margin-bottom: 13px; }
.foundation p { font-size: 14px; color: #cecece; }
.footer-top a { font-size: 14px; }
.about-footer .subscribe { width: 100%; }
.subscribe input { width: 75%; }
.footer-bottom { margin-top: 65px; }
.footer-bottom p em { color: white; }
.about-footer .footer-bottom { grid-template-columns: 1fr auto 45px; gap: 30px; }
.about-footer .footer-bottom>small { grid-column: 1; grid-row: 1; }
.about-footer .footer-bottom>p { grid-column: 2; grid-row: 1; }
@media(max-width:1100px) {
 .container { width: calc(100% - 64px); }
 .site-header { left: 32px; width: calc(100% - 64px); }
 .recap { gap: 32px; }
 .about-footer .footer-top { grid-template-columns: 2fr 1.5fr 1fr; }
 .subscribe { grid-column: 1/-1; max-width: 404px; justify-self: start; }
 .about-footer { padding: 40px 32px; }
 .panel-detail-body { padding: 24px; }
}
@media(max-width:767px) {
 /* "Building India Conclave 2027" timeline: stack the two days vertically */
 .conclave-timeline-scroll { overflow: visible; padding: 4px 0 0; }
 .conclave-timeline { grid-template-columns: minmax(0, 1fr); min-width: 0; gap: 36px; }
 .container { width: calc(100% - 40px); }
 .site-header { left: 20px; width: calc(100% - 40px); height: 80px; align-items: flex-start; }
 .site-header>a img { width: 85px; height: 93px; border-radius: 0 0 10px 10px; }
 .menu-toggle { margin-top: 20px; }
 .hero { height: 600px; min-height: 600px; padding: 210px 0 80px; }
 .hero h1 { font-size: 38px; }
 .hero-tagline { font-size: 18px; }
 .hero-description { font-size: 16px; }
 .hero-bottom { margin-top: 36px; }
 .overview { padding: 56px 0; }
 .overview h2,.panel-heading,.recap h2,.testimonials h2 { font-size: 32px; }
 .day { grid-template-columns: 30px minmax(0,1fr); gap: 20px; text-align: left; }
 .day .day-marker { grid-column: 1; grid-row: 1/3; }
 .day .day-copy { grid-column: 2; grid-row: 1; }
 .day>img { grid-column: 2; grid-row: 2; height: 190px; }
 .day-detail { border-right: 0; border-left: 1px solid #aaa; padding: 0 0 0 12px; }
 .recap { grid-template-columns: 1fr; }
 .conclave-panels { padding: 56px 0; }
 .conclave-panels .row.g-4 { grid-template-columns: 1fr; }
 .panel-tabs-container { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
 .panel-tab-card { padding: 16px; min-height: 155px; border-radius: 12px; }
 .panel-tab-title { font-size: 14px; }
 .panel-subheading2 { font-size: 16px; }
 .panel-detail-img-wrapper { height: 210px; }
 .panel-detail-body { padding: 24px 20px; }
 .panel-detail-heading { font-size: 25px; }
 .moderator-info { font-size: 14px; }
 .moderator-avatar { width: 56px; height: 56px; }
 .snapshots { padding: 56px 0; }
 .snapshots h2+p { padding: 0 20px; }
 .gallery { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; }
 .gallery .snapshot-frame:nth-child(n) { flex: 0 0 80%; height: 240px; scroll-snap-align: center; }
 .testimonials { padding: 56px 16px; min-height: 0; background: #FEE7B6; }
 .testimonial-track { gap: 8px; width: 100%; }
 .testimonial-card { width: calc(100% - 72px); height: auto; min-height: 540px; padding: 24px 16px; gap: 24px; }
 .testimonial-card blockquote { font-size: 13px; }
 .testimonial-side { width: 28px; padding: 8px 4px; height: 360px; font-size: 11px; }
 .about-footer .footer-top { grid-template-columns: 1fr 1fr; gap: 30px; }
 .foundation,.subscribe { grid-column: 1/-1; }
 .about-footer { padding: 40px 20px 24px; }
 .about-footer .footer-bottom { grid-template-columns: 1fr 45px; }
 .about-footer .footer-bottom>p { grid-column: 1/-1; grid-row: 1; }
 .about-footer .footer-bottom>small { grid-column: 1; grid-row: 2; }
}
/* Two equal groups let the photo carousel loop without a jump. */
.gallery { display: block; overflow: hidden; scroll-snap-type: none; }
.gallery-track { display: flex; width: max-content; animation: gallery-drift 40s linear infinite; }
.gallery-group { display: flex; flex: none; gap: 4px; padding-right: 4px; }
.gallery .snapshot-frame:nth-child(n) { flex: none; width: 28.5vw; height: 320px; }
.gallery .snapshot-frame:first-child { width: 42.5vw; }
.gallery:hover .gallery-track, .gallery:focus-within .gallery-track { animation-play-state: paused; }
@keyframes gallery-drift { to { transform: translateX(-50%); } }
@media(max-width:767px) {
 .gallery .snapshot-frame:nth-child(n) { width: 80vw; height: 240px; }
}
@media(prefers-reduced-motion:reduce) {
 .gallery { overflow-x: auto; }
 .gallery-track { animation: none; }
 .gallery-group[aria-hidden="true"] { display: none; }
}
/* Panel interactions keep the card layout stable while content changes. */
.panel-tab-card { transition: background-color 250ms ease, box-shadow 250ms ease, transform 250ms ease; }
.panel-tab-num, .panel-tab-title { transition: color 250ms ease; }
.panel-tab-arrow { transition: transform 250ms ease; }
.panel-tab-arrow path { transition: stroke 250ms ease; }
.panel-tab-card.active .panel-tab-arrow { transform: translateX(3px); }
@media (hover: hover) {
 .panel-tab-card:hover { transform: translateY(-3px); box-shadow: 0 10px 24px #12254920; }
}
@media (prefers-reduced-motion: reduce) {
 .panel-tab-card, .panel-tab-num, .panel-tab-title, .panel-tab-arrow, .panel-tab-arrow path { transition: none; }
 .panel-tab-card:hover, .panel-tab-card.active .panel-tab-arrow { transform: none; }
}
/* Navigation emphasis without shifting adjacent items as the text thickens. */
#main-nav > a:not(.contact-button), #main-nav .work-toggle, #main-nav .work-links a {
 position: relative;
 transition: text-shadow 220ms ease;
}
#main-nav > a:not(.contact-button)::after, #main-nav .work-toggle::after, #main-nav .work-links a::after {
 content: '';
 position: absolute;
 left: 0;
 right: 0;
 bottom: -6px;
 height: 2px;
 background: var(--gold);
 transform: scaleX(0);
 transform-origin: left center;
 transition: transform 280ms cubic-bezier(.22,1,.36,1);
 pointer-events: none;
}
#main-nav .work-links a::after { left: 12px; right: 12px; bottom: 4px; }
#main-nav > a:not(.contact-button):focus-visible, #main-nav .work-toggle:focus-visible, #main-nav .work-links a:focus-visible {
 text-shadow: .3px 0 currentColor, -.3px 0 currentColor;
}
#main-nav > a:not(.contact-button):focus-visible::after, #main-nav .work-toggle:focus-visible::after, #main-nav .work-links a:focus-visible::after { transform: scaleX(1); }
@media (hover: hover) {
 #main-nav > a:not(.contact-button):hover, #main-nav .work-toggle:hover, #main-nav .work-links a:hover { text-shadow: .3px 0 currentColor, -.3px 0 currentColor; }
 #main-nav > a:not(.contact-button):hover::after, #main-nav .work-toggle:hover::after, #main-nav .work-links a:hover::after { transform: scaleX(1); }
}
@media (prefers-reduced-motion: reduce) {
 #main-nav > a:not(.contact-button), #main-nav .work-toggle, #main-nav .work-links a,
 #main-nav > a:not(.contact-button)::after, #main-nav .work-toggle::after, #main-nav .work-links a::after { transition: none; }
}

/* Single-slide hero: no inactive carousel controls or autoplay. */
.hero.single-highlight .hero-bottom { display: none; }
.site-header #main-nav .contact-button, .site-header #main-nav .contact-button:hover { background: var(--gold); color: #00123a; transition: none; text-shadow: none; transform: none; box-shadow: none; }
/* Keep dropdown link text in its normal color on hover and keyboard focus. */
#main-nav .work-links a:hover,
#main-nav .work-links a:focus-visible { color: inherit; }

/* Back navigation matches the About Us page. */
.hero .hero-back-link { display: block; top: 136px; }
.hero-back-link a { font-size: 14px; line-height: 22px; color: #fefefe; }
.hero-back-link a:hover { color: #ffd891; }
@media (max-width: 767px) {
 .hero .hero-back-link { top: 109px; }
 .hero-back-link a { font-size: 12px; }
}

/* Preserve the wide NBFI logo and its contrast on the navy footer. */
.about-footer .foundation .nbfi-footer-logo { flex: none; width: 120px; max-width: 40%; height: auto; box-sizing: border-box; padding: 6px; background: #fff; object-fit: contain; }
