/* ==========================================================================
   FSSAI page family — companion to trademark-page.css
   Adds: sub-navigation pills (jump between the 5 FSSAI pages) and an
   FAQ accordion. Reuses the same --tm-accent design tokens so it sits
   visually flush with the rest of the .tm-page system. Scoped to .tm-page.
   ========================================================================== */

/* ---- Sub-nav pills ---- */
.tm-subnav{
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	margin: 0 0 34px;
	padding: 0;
	list-style: none;
}
.tm-subnav li a{
	display: inline-block;
	padding: 11px 22px;
	border-radius: 30px;
	background: #f8fafc;
	border: 1px solid var(--tm-border);
	font-family: 'Poppins', sans-serif;
	font-size: 13.5px;
	font-weight: 600;
	color: var(--tm-heading);
	transition: all .3s ease;
}
.tm-subnav li a:hover{
	border-color: rgba(0, 191, 254, .4);
	color: var(--tm-accent-dark);
	transform: translateY(-2px);
}
.tm-subnav li.current a{
	background: linear-gradient(135deg, var(--tm-accent), #4bd2fe);
	border-color: transparent;
	color: #ffffff;
	box-shadow: 0 10px 20px rgba(0, 191, 254, .3);
}

/* ---- FAQ accordion ---- */
.tm-page .accordion-box{
	margin-top: 6px;
}
.tm-page .accordion-item{
	border-bottom: 1px solid var(--tm-border);
}
.tm-page .accordion-item:last-child{
	border-bottom: none;
}
.tm-page .accordion-question{
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	padding: 20px 2px;
	margin: 0;
	cursor: pointer;
	font-family: 'Poppins', sans-serif;
	font-size: 16px;
	font-weight: 600;
	color: var(--tm-heading);
	line-height: 26px;
}
.tm-page .accordion-question:hover{
	color: var(--tm-accent-dark);
}
.tm-page .accordion-question .acc-icon{
	flex-shrink: 0;
	width: 28px;
	height: 28px;
	border-radius: 50%;
	background: rgba(0, 191, 254, .1);
	color: var(--tm-accent-dark);
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 12px;
	transition: transform .3s ease, background .3s ease, color .3s ease;
}
.tm-page .accordion-question[aria-expanded="true"] .acc-icon{
	transform: rotate(180deg);
	background: var(--tm-accent);
	color: #ffffff;
}
.tm-page .accordion-body{
	padding: 0 30px 22px 2px;
	color: var(--tm-text);
	font-family: 'Lato', sans-serif;
	font-size: 15px;
	line-height: 26px;
}
.tm-page .accordion-body ul{
	margin: 10px 0 0;
	padding-left: 18px;
}
.tm-page .accordion-body li{
	margin-bottom: 6px;
}

/* ---- Responsive ---- */
@media (max-width: 767px){
	.tm-subnav li a{
		padding: 9px 16px;
		font-size: 12.5px;
	}
	.tm-page .accordion-question{
		font-size: 14.5px;
	}
}

/* ==========================================================================
   FSSAI page family v2 additions — tab sub-nav, pricing strip, license
   comparison grid, document checklist grid, numbered steps, and the
   button-based FAQ accordion (js/fssai-faq.js). Scoped to .fssai-page.
   ========================================================================== */

/* ---- Tab-style sub-nav ---- */
.fssai-page .fssai-subnav{
	display: flex;
	flex-wrap: wrap;
	gap: 6px;
	list-style: none;
	margin: 0 0 26px;
	padding: 0;
	border-bottom: 1px solid var(--tm-border);
}
.fssai-page .fssai-subnav li a{
	display: inline-block;
	padding: 12px 18px;
	font-family: 'Poppins', sans-serif;
	font-size: 13.5px;
	font-weight: 600;
	color: var(--tm-text);
	border-bottom: 2px solid transparent;
	margin-bottom: -1px;
	transition: all .3s ease;
}
.fssai-page .fssai-subnav li a:hover{
	color: var(--tm-accent-dark);
}
.fssai-page .fssai-subnav li.active a,
.fssai-page .fssai-subnav li.current a{
	color: var(--tm-accent-dark);
	border-bottom-color: var(--tm-accent);
}

/* ---- Pricing strip ---- */
.fssai-page .fssai-pricing-strip{
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 14px 20px;
	background: linear-gradient(135deg, rgba(0, 191, 254, .08), rgba(75, 210, 254, .05));
	border: 1px solid rgba(0, 191, 254, .2);
	border-radius: var(--tm-radius);
	padding: 18px 22px;
	margin-bottom: 26px;
}
.fssai-page .fssai-price{
	font-family: 'Poppins', sans-serif;
	font-size: 15px;
	color: var(--tm-heading);
	white-space: nowrap;
}
.fssai-page .fssai-price strong{
	color: var(--tm-accent-dark);
	font-size: 21px;
}
.fssai-page .fssai-note{
	font-size: 12.5px;
	color: var(--tm-text);
	flex: 1 1 200px;
}
.fssai-page .fssai-cta{
	margin-left: auto;
}

/* ---- License comparison grid (About FSSAI page) ---- */
.fssai-page .fssai-license-grid{
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 22px;
	list-style: none;
	margin: 20px 0 0;
	padding: 0;
}
.fssai-page .fssai-license-card{
	position: relative;
	height: 100%;
	background: #fff;
	border: 1px solid var(--tm-border);
	border-radius: var(--tm-radius);
	box-shadow: var(--tm-shadow);
	padding: 26px 22px;
	display: flex;
	flex-direction: column;
	transition: all .3s ease;
}
.fssai-page .fssai-license-card:hover{
	box-shadow: var(--tm-shadow-hover);
	transform: translateY(-4px);
}
.fssai-page .fssai-license-card.featured{
	border-color: var(--tm-accent);
	box-shadow: 0 16px 34px rgba(0, 191, 254, .18);
}
.fssai-page .fssai-tag{
	position: absolute;
	top: -12px;
	right: 20px;
	background: linear-gradient(135deg, var(--tm-accent), #4bd2fe);
	color: #fff;
	font-family: 'Poppins', sans-serif;
	font-size: 11px;
	font-weight: 700;
	letter-spacing: .04em;
	text-transform: uppercase;
	padding: 5px 12px;
	border-radius: 20px;
	box-shadow: 0 6px 14px rgba(0, 191, 254, .3);
}
.fssai-page .fssai-license-card h4{
	font-family: 'Poppins', sans-serif;
	font-size: 18px;
	font-weight: 700;
	color: var(--tm-heading);
	margin: 0 0 6px;
}
.fssai-page .fssai-turnover{
	display: block;
	font-size: 13px;
	color: var(--tm-text);
	margin-bottom: 14px;
}
.fssai-page .fssai-fee{
	font-family: 'Poppins', sans-serif;
	font-size: 22px;
	font-weight: 700;
	color: var(--tm-accent-dark);
	margin-bottom: 6px;
}
.fssai-page .fssai-fee span{
	font-size: 12px;
	font-weight: 400;
	color: var(--tm-text);
}
.fssai-page .fssai-timeline{
	font-size: 12.5px;
	color: var(--tm-text);
	margin-bottom: 16px;
}
.fssai-page .fssai-timeline i{
	color: var(--tm-accent-dark);
	margin-right: 5px;
}
.fssai-page .fssai-license-card > ul{
	list-style: none;
	margin: 0 0 20px;
	padding: 0;
	flex: 1;
}
.fssai-page .fssai-license-card > ul li{
	font-size: 13.5px;
	color: var(--tm-text);
	padding: 5px 0 5px 20px;
	position: relative;
}
.fssai-page .fssai-license-card > ul li::before{
	content: "\f00c";
	font-family: FontAwesome;
	position: absolute;
	left: 0;
	top: 5px;
	color: var(--tm-accent-dark);
	font-size: 11px;
}
.fssai-page .fssai-license-card .theme-btn{
	align-self: flex-start;
}

/* ---- Document checklist grid ---- */
.fssai-page .fssai-doc-grid{
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 10px 24px;
	list-style: none;
	margin: 16px 0 0;
	padding: 0;
}
.fssai-page .fssai-doc-grid li{
	font-size: 14.5px;
	color: var(--tm-text);
	line-height: 22px;
}
.fssai-page .fssai-doc-grid li i{
	color: var(--tm-accent-dark);
	margin-right: 8px;
}

/* ---- Numbered "How It Works" steps ---- */
.fssai-page .fssai-steps{
	list-style: none;
	counter-reset: fssai-step;
	margin: 16px 0 0;
	padding: 0;
}
.fssai-page .fssai-steps li{
	position: relative;
	padding: 0 0 22px 46px;
	border-left: 2px solid var(--tm-border);
	margin-left: 15px;
}
.fssai-page .fssai-steps li:last-child{
	border-left-color: transparent;
	padding-bottom: 0;
}
.fssai-page .fssai-steps li::before{
	counter-increment: fssai-step;
	content: counter(fssai-step);
	position: absolute;
	left: -17px;
	top: -2px;
	width: 32px;
	height: 32px;
	border-radius: 50%;
	background: linear-gradient(135deg, var(--tm-accent), #4bd2fe);
	color: #fff;
	font-family: 'Poppins', sans-serif;
	font-size: 13px;
	font-weight: 700;
	display: flex;
	align-items: center;
	justify-content: center;
	box-shadow: 0 6px 14px rgba(0, 191, 254, .3);
}
.fssai-page .fssai-steps strong{
	display: block;
	font-family: 'Poppins', sans-serif;
	font-size: 15.5px;
	font-weight: 600;
	color: var(--tm-heading);
	margin-bottom: 3px;
}
.fssai-page .fssai-steps span{
	font-size: 14px;
	color: var(--tm-text);
	line-height: 22px;
}

/* ---- Button-based FAQ accordion (js/fssai-faq.js) ---- */
.fssai-page .fssai-faq-item{
	border-bottom: 1px solid var(--tm-border);
}
.fssai-page .fssai-faq-item:last-child{
	border-bottom: none;
}
.fssai-page .fssai-faq-question{
	width: 100%;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	padding: 20px 2px;
	margin: 0;
	background: none;
	border: none;
	cursor: pointer;
	text-align: left;
	font-family: 'Poppins', sans-serif;
	font-size: 16px;
	font-weight: 600;
	color: var(--tm-heading);
	line-height: 26px;
}
.fssai-page .fssai-faq-question:hover{
	color: var(--tm-accent-dark);
}
.fssai-page .fssai-faq-icon{
	flex-shrink: 0;
	width: 28px;
	height: 28px;
	border-radius: 50%;
	background: rgba(0, 191, 254, .1);
	color: var(--tm-accent-dark);
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 12px;
	transition: background .3s ease, color .3s ease;
}
.fssai-page .fssai-faq-item.open .fssai-faq-icon{
	background: var(--tm-accent);
	color: #fff;
}
.fssai-page .fssai-faq-answer{
	max-height: 0;
	overflow: hidden;
	transition: max-height .35s ease;
}
.fssai-page .fssai-faq-item.open .fssai-faq-answer{
	max-height: 900px;
}
.fssai-page .fssai-faq-answer-inner{
	padding: 0 30px 22px 2px;
	color: var(--tm-text);
	font-family: 'Lato', sans-serif;
	font-size: 15px;
	line-height: 26px;
	text-align: justify;
}
.fssai-page .fssai-faq-answer-inner a{
	color: var(--tm-accent-dark);
	font-weight: 600;
}
.fssai-page .fssai-faq-answer-inner p{
	margin: 0 0 10px;
}
.fssai-page .fssai-faq-answer-inner ul{
	margin: 0;
	padding-left: 20px;
}
.fssai-page .fssai-faq-answer-inner li{
	margin-bottom: 6px;
}

/* ---- Responsive: FSSAI v2 components ---- */
@media (max-width: 991px){
	.fssai-page .fssai-license-grid{
		grid-template-columns: 1fr;
	}
}
@media (max-width: 767px){
	.fssai-page .fssai-doc-grid{
		grid-template-columns: 1fr;
	}
	.fssai-page .fssai-cta{
		margin-left: 0;
		width: 100%;
		text-align: center;
	}
	.fssai-page .fssai-faq-question{
		font-size: 14.5px;
	}
}
/* ===== FSSAI Hero Banner (add to css/fssai-page.css) ===== */

.fssai-hero-banner {
    width: 100%;
    line-height: 0;
    overflow: hidden;
}

.fssai-hero-img {
    display: block;
    width: 100%;
    height: auto;
}

/* Slim breadcrumb bar under the banner, replaces the old page-title text block */
.fssai-breadcrumb-bar {
    background-color: #0e1a26;
    padding: 12px 0;
}

.fssai-breadcrumb-bar .title-manu {
    display: flex;
    justify-content: center;
    align-items: center;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 8px;
    flex-wrap: wrap;
}

.fssai-breadcrumb-bar .title-manu li {
    color: #b7c4cf;
    font-size: 14px;
    text-transform: capitalize;
}

.fssai-breadcrumb-bar .title-manu li a {
    color: #ffffff;
    text-decoration: none;
}

.fssai-breadcrumb-bar .title-manu li a:hover {
    color: #2f8fe0;
}

/* Tablet */
@media (max-width: 991px) {
    .fssai-hero-img {
        /* Keep full image visible, just let height scale naturally */
        object-fit: cover;
    }
}

/* Mobile: the banner is a wide landscape graphic (≈1.87:1). On narrow screens
   the left-side text becomes tiny if we just scale it down as-is, so we cap
   the height and shift focus toward the text/left side, cropping the excess
   lab-photo on the right rather than shrinking everything uniformly. */
@media (max-width: 767px) {
    .fssai-hero-banner {
        height: 260px;
    }

    .fssai-hero-img {
        width: auto;
        min-width: 100%;
        height: 100%;
        object-fit: cover;
        object-position: left center;
    }
}

@media (max-width: 480px) {
    .fssai-hero-banner {
        height: 220px;
    }
}

/* ==========================================================================
   Blank-space fix — "About FSSAI" quickfacts / CTA card layout
   Bootstrap's default .row stretches col-xl-9 and col-xl-3 to equal height,
   so the short black CTA card leaves dead space once the taller left column
   finishes rendering. This scopes a fix to .fssai-page only so it can't
   affect other service pages sharing .services-left / .services-right.
   ========================================================================== */

.services-details.fssai-page .row{
	align-items: flex-start;
}

.fssai-page .services-right{
	position: sticky;
	top: 110px; /* adjust to match your actual fixed-header height */
}

.fssai-page .services-left{
	min-height: unset;
}

@media (max-width: 1199px){
	.fssai-page .services-right{
		position: static;
	}
}

/* ==========================================================================
   Tighten the gap between the quickfacts/CTA row and the next content card.
   style.css sets .services-left/.services-right margin-bottom:45px, and
   trademark-page.css sets .tm-content-card margin-top:36px + padding-top
   44px — stacked together that's 125px of dead space before any heading
   appears. Scoped to .fssai-page so the base template files stay untouched.
   ========================================================================== */
.services-details.fssai-page .row + .row .tm-content-card:first-child{
	margin-top: 0;
	padding-top: 30px;
}
.fssai-page.services-details .services-left,
.fssai-page.services-details .services-right{
	margin-bottom: 20px;
}

/* ---- Small banner strip (below quickfacts cards) ---- */
.fssai-page .fssai-banner-strip{
	position: relative;
	margin: 24px 0 0;
	border-radius: var(--tm-radius);
	overflow: hidden;
	box-shadow: var(--tm-shadow);
	height: 200px;
}
.fssai-page .fssai-banner-strip img{
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform .6s ease;
}
.fssai-page .fssai-banner-strip:hover img{
	transform: scale(1.03);
}
@media (max-width: 767px){
	.fssai-page .fssai-banner-strip{
		height: 140px;
	}
}
