/* ==========================================================================
   AFD Body Shop — visual refresh (2026)
   Loaded AFTER css/bootstrap.css. Overrides only; no markup dependencies
   beyond the classes that already exist in the pages.
   ========================================================================== */

/* ---- Self-hosted Inter ------------------------------------------------- */
@font-face {
	font-family: 'Inter';
	font-style: normal;
	font-weight: 400;
	font-display: swap;
	src: url('../fonts/inter-latin-400.woff2') format('woff2');
}
@font-face {
	font-family: 'Inter';
	font-style: normal;
	font-weight: 500;
	font-display: swap;
	src: url('../fonts/inter-latin-500.woff2') format('woff2');
}
@font-face {
	font-family: 'Inter';
	font-style: normal;
	font-weight: 600;
	font-display: swap;
	src: url('../fonts/inter-latin-600.woff2') format('woff2');
}
@font-face {
	font-family: 'Inter';
	font-style: normal;
	font-weight: 700;
	font-display: swap;
	src: url('../fonts/inter-latin-700.woff2') format('woff2');
}
@font-face {
	font-family: 'Inter';
	font-style: normal;
	font-weight: 800;
	font-display: swap;
	src: url('../fonts/inter-latin-800.woff2') format('woff2');
}

/* ---- Design tokens ------------------------------------------------------ */
:root {
	--afd-navy: #14213d;        /* deep surfaces: nav, footer */
	--afd-navy-2: #1d2f56;      /* gradient partner for navy */
	--afd-brand: #3652a2;       /* logo blue — brand continuity */
	--afd-blue: #2b62c9;        /* interactive blue (links, buttons) */
	--afd-blue-dark: #234fa3;
	--afd-sky: #58a8e0;         /* logo light-blue accent */
	--afd-amber: #f5a623;       /* warm accent, used sparingly */
	--afd-ink: #1c2536;         /* body text */
	--afd-muted: #5b6779;
	--afd-bg-soft: #f4f7fb;
	--afd-line: #e3e9f2;
	--afd-radius: 14px;
	--afd-shadow-sm: 0 1px 3px rgba(20, 33, 61, .08), 0 1px 2px rgba(20, 33, 61, .05);
	--afd-shadow: 0 8px 24px rgba(20, 33, 61, .10);
	--afd-shadow-lg: 0 16px 40px rgba(20, 33, 61, .16);
	--afd-font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto,
		'Helvetica Neue', Arial, sans-serif;
}

/* ---- Base typography ---------------------------------------------------- */
html {
	scroll-behavior: smooth;
}
body {
	font-family: var(--afd-font);
	font-size: 16px;
	line-height: 1.65;
	color: var(--afd-ink);
	-webkit-font-smoothing: antialiased;
	text-rendering: optimizeLegibility;
}
h1, h2, h3, h4, h5, h6 {
	font-family: var(--afd-font);
	font-weight: 700;
	letter-spacing: -0.015em;
	color: var(--afd-navy);
}
p {
	color: var(--afd-ink);
}
a {
	color: var(--afd-blue);
	transition: color .18s ease, background-color .18s ease,
		box-shadow .18s ease, transform .18s ease, opacity .18s ease;
}
a:hover {
	color: var(--afd-brand);
	text-decoration: none;
}
::selection {
	background: var(--afd-brand);
	color: #fff;
}
:focus-visible {
	outline: 3px solid var(--afd-sky);
	outline-offset: 2px;
}
img {
	transition: transform .3s ease, box-shadow .3s ease, opacity .3s ease;
}

/* ---- Header (logo + location strip) ------------------------------------ */
header {
	background: #fff;
}
header .mobcenter {
	padding-top: 6px;
}
.logo1 img {
	max-height: 74px;
	width: auto;
}
.hcon {
	margin: 16px auto;
}
.hcon p {
	margin-bottom: 2px;
	font-size: 13px;
	text-transform: uppercase;
	letter-spacing: .06em;
	color: var(--afd-muted);
	font-weight: 600;
}
.hcon p strong {
	color: var(--afd-navy);
}
.hcon a[href^="tel:"] {
	font-size: 21px;
	font-weight: 800;
	letter-spacing: -0.01em;
	color: var(--afd-brand);
	white-space: nowrap;
}
.hcon a[href^="tel:"]:hover {
	color: var(--afd-blue);
}
.phone-icon {
	filter: saturate(1.1);
}
.appointment-button-img:hover {
	transform: translateY(-2px);
	box-shadow: var(--afd-shadow);
	border-radius: 8px;
}

/* ---- Navigation bar ------------------------------------------------------ */
.navouter {
	background: linear-gradient(135deg, var(--afd-navy) 0%, var(--afd-brand) 100%);
	position: sticky;
	top: 0;
	z-index: 1030;
	box-shadow: 0 2px 14px rgba(20, 33, 61, .28);
}
.navbar {
	padding: 4px 0;
}
.navbar-nav .nav-link {
	font-size: 15px;
	font-weight: 600;
	letter-spacing: .09em;
	color: rgba(255, 255, 255, .88) !important;
	padding: 16px 18px !important;
	position: relative;
}
.navbar-nav .nav-link::after {
	content: "";
	position: absolute;
	left: 18px;
	right: 18px;
	bottom: 9px;
	height: 2px;
	border-radius: 2px;
	background: var(--afd-amber);
	transform: scaleX(0);
	transform-origin: left;
	transition: transform .22s ease;
}
.navbar-nav .nav-link:hover {
	color: #fff !important;
}
.navbar-nav .nav-link:hover::after {
	transform: scaleX(1);
}
.navbar-nav .active .nav-link,
.navbar-nav .nav-item.active > .nav-link {
	color: #fff !important;
}
.navbar-nav .nav-item.active > .nav-link::after {
	transform: scaleX(1);
}
.navbar-nav .active {
	background: transparent !important;
}
.navbar-toggler {
	border: 1px solid rgba(255, 255, 255, .35);
	border-radius: 8px;
	color: #fff;
}
/* hide the stray empty dropdown under ABOUT US */
.navbar-nav .dropdown-menu {
	display: none !important;
}
.tpsocial a {
	background: rgba(255, 255, 255, .12);
	color: #fff;
	border-radius: 50%;
	transition: background-color .18s ease, transform .18s ease;
	/* the legacy rule fakes centering with padding-top; center properly */
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 0;
}
.tpsocial a:hover {
	background: var(--afd-amber);
	color: var(--afd-navy);
	opacity: 1;
	transform: translateY(-2px);
}

/* ---- Carousel ------------------------------------------------------------ */
.carousel {
	position: relative;
}
.carousel-inner {
	background: var(--afd-navy);
}
.carousel-item img {
	filter: saturate(1.05);
}
.carousel::after {
	content: "";
	position: absolute;
	left: 0;
	right: 0;
	bottom: 0;
	height: 70px;
	pointer-events: none;
	background: linear-gradient(to top, rgba(20, 33, 61, .45), transparent);
}
.carousel-control-prev-icon1,
.carousel-control-next-icon1 {
	background: rgba(20, 33, 61, .45);
	border: 1px solid rgba(255, 255, 255, .35);
	border-radius: 50%;
	width: 52px;
	height: 52px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	backdrop-filter: blur(4px);
	transition: background-color .2s ease;
}
.carousel-control-prev:hover .carousel-control-prev-icon1,
.carousel-control-next:hover .carousel-control-next-icon1 {
	background: var(--afd-brand);
}
.carousel-control-prev-icon1 i,
.carousel-control-next-icon1 i {
	font-size: 28px;
	line-height: 1;
}
.carousel-indicators {
	z-index: 3;
}
.carousel-indicators li {
	width: 26px;
	height: 4px;
	border-radius: 4px;
	background-color: rgba(255, 255, 255, .5);
	border-top: none;
	border-bottom: none;
	transition: width .2s ease, background-color .2s ease;
}
.carousel-indicators .active {
	width: 42px;
	background-color: var(--afd-amber);
}

/* ---- Sections ------------------------------------------------------------ */
.secspace {
	padding: 72px 15px;
}
.secspace-less-padding {
	padding-top: 56px;
	padding-bottom: 40px;
}
.section-title {
	border-bottom: none;
	position: relative;
	padding-bottom: 14px;
	margin-bottom: 22px;
	font-weight: 800;
}
.section-title::after {
	content: "";
	position: absolute;
	left: 0;
	bottom: 0;
	width: 58px;
	height: 4px;
	border-radius: 4px;
	background: linear-gradient(90deg, var(--afd-amber), var(--afd-sky));
}
.section-title-border-half {
	border-bottom: none;
}
.headcenter h2,
.head2 h2 {
	font-weight: 800;
	color: var(--afd-navy);
	letter-spacing: -0.02em;
}
.abthead {
	font-weight: 800;
	letter-spacing: -0.025em;
	color: var(--afd-navy);
}
.abthead strong {
	color: var(--afd-brand);
}
.certifications-title1 {
	color: var(--afd-navy);
	font-size: 2.4rem;
	font-weight: 800;
	letter-spacing: -0.02em;
	position: relative;
	display: inline-block;
	padding-bottom: 14px;
	margin-bottom: 34px;
}
.certifications-title1::after {
	content: "";
	position: absolute;
	left: 50%;
	transform: translateX(-50%);
	bottom: 0;
	width: 58px;
	height: 4px;
	border-radius: 4px;
	background: linear-gradient(90deg, var(--afd-amber), var(--afd-sky));
}

/* Certification logo tiles */
.logossec {
	background: var(--afd-bg-soft);
}
.logossec .col-md-3 {
	padding-top: 22px;
	padding-bottom: 22px;
	margin-bottom: 24px;
	background: #fff;
	border: 1px solid var(--afd-line);
	border-radius: var(--afd-radius);
	box-shadow: var(--afd-shadow-sm);
	transition: transform .22s ease, box-shadow .22s ease;
}
.logossec .row {
	gap: 0 24px;
	justify-content: center;
	margin-left: 0;
	margin-right: 0;
}
.logossec .col-md-3 {
	flex: 1 1 200px;
	max-width: 255px;
}
.logossec .col-md-3:hover {
	transform: translateY(-4px);
	box-shadow: var(--afd-shadow);
}
.logossec img {
	height: 82px;
	object-fit: contain;
	max-width: 88%;
}
.logossec h4 {
	font-size: 12px;
	font-weight: 700;
	letter-spacing: .14em;
	text-transform: uppercase;
	color: var(--afd-muted);
	margin-top: 6px;
}
.logossec h4::before {
	content: "\2713\00a0";
	color: var(--afd-amber);
	font-weight: 800;
}

/* ---- Call-to-action strip ------------------------------------------------ */
.calto {
	background: linear-gradient(135deg, var(--afd-brand) 0%, var(--afd-navy) 100%);
	padding: 34px 0;
}
.calto h2 {
	color: #fff;
	font-weight: 600;
	letter-spacing: -0.01em;
}
.calto h2 strong {
	color: var(--afd-amber);
	font-weight: 800;
}

/* ---- Buttons --------------------------------------------------------------- */
.button1 {
	background: #fff;
	color: var(--afd-brand);
	font-weight: 700;
	border-radius: 10px;
	padding: 12px 26px;
	box-shadow: var(--afd-shadow-sm);
	display: inline-block;
}
.button1:hover {
	transform: translateY(-2px);
	box-shadow: var(--afd-shadow);
	color: var(--afd-navy);
}
.rdbut,
.agentbutton a {
	border-radius: 10px;
}

/* ---- Content blocks -------------------------------------------------------- */
.bg2 {
	background: var(--afd-bg-soft);
}
.cencontent a {
	border-radius: 10px;
	font-weight: 700;
}
.card {
	border: 1px solid var(--afd-line);
	border-radius: var(--afd-radius);
	box-shadow: var(--afd-shadow-sm);
	transition: transform .22s ease, box-shadow .22s ease;
	overflow: hidden;
}
.card:hover {
	transform: translateY(-4px);
	box-shadow: var(--afd-shadow);
}
.img-fluid.martp,
.img-fluid.w-100 {
	border-radius: var(--afd-radius);
	box-shadow: var(--afd-shadow-sm);
}
iframe {
	border-radius: var(--afd-radius);
}
.gurlist li,
.package-content li {
	margin-bottom: 6px;
}
.gurlist i.fa-check,
.package-content i.fa-check {
	color: var(--afd-amber);
}

/* ---- Galleries -------------------------------------------------------------- */
.galleryouter {
	background: var(--afd-bg-soft);
	padding: 56px 0;
}
#gallery .col-md-3 a {
	border-radius: var(--afd-radius);
	box-shadow: var(--afd-shadow-sm);
	transition: transform .22s ease, box-shadow .22s ease;
	margin: 8px;
}
#gallery .col-md-3 a:hover {
	transform: translateY(-4px);
	box-shadow: var(--afd-shadow-lg);
}
#gallery .col-md-3 a:hover img {
	transform: scale(1.06);
}
.gallery2 img {
	border: none;
	border-radius: var(--afd-radius);
	box-shadow: var(--afd-shadow-sm);
	margin: 8px;
}
.gallery2 img:hover {
	border: none;
	transform: translateY(-4px) scale(1.02);
	box-shadow: var(--afd-shadow-lg);
}
.gallery3 img {
	border-radius: var(--afd-radius);
}

/* Partner logo strips */
.partnerlogos img {
	filter: grayscale(35%);
	opacity: .85;
}
.partnerlogos img:hover {
	filter: none;
	opacity: 1;
	transform: translateY(-2px);
}

/* ---- Footer -------------------------------------------------------------------- */
footer {
	background: linear-gradient(180deg, var(--afd-navy) 0%, #0d1626 100%);
	color: rgba(255, 255, 255, .82);
}
footer h4 {
	color: #fff;
	font-size: 15px;
	font-weight: 700;
	letter-spacing: .1em;
	text-transform: uppercase;
	position: relative;
	padding-bottom: 10px;
}
footer h4::after {
	content: "";
	position: absolute;
	left: 0;
	bottom: 0;
	width: 34px;
	height: 3px;
	border-radius: 3px;
	background: var(--afd-amber);
}
.dlab-separator {
	display: none;
}
footer p,
footer li {
	color: rgba(255, 255, 255, .78);
	font-size: 14.5px;
}
footer a {
	color: rgba(255, 255, 255, .85);
}
footer a:hover {
	color: var(--afd-amber);
}
footer a[href^="tel:"] {
	font-weight: 700;
	color: #fff;
}
footer a[href^="tel:"]:hover {
	color: var(--afd-amber);
}
.flinks a {
	color: rgba(255, 255, 255, .78);
}
.flinks a:hover {
	color: var(--afd-amber);
	padding-left: 4px;
}
.flinks li {
	margin-bottom: 6px;
}
footer .fa {
	color: var(--afd-amber);
}
/* footer social buttons (.fot1) — same true-centering fix as .tpsocial */
.fot1 a {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 0;
	width: 30px;
	height: 30px;
	border: 1px solid rgba(255, 255, 255, .3);
	border-radius: 50%;
}
.fot1 a:hover {
	background: var(--afd-amber);
	border-color: var(--afd-amber);
}
.fot1 a:hover .fa {
	color: var(--afd-navy);
}
.fbottom {
	border-top: 1px solid rgba(255, 255, 255, .12);
	margin-top: 20px;
}
.fbottom p {
	color: rgba(255, 255, 255, .55);
	font-size: 13.5px;
}

/* ---- Polish pass (fixes over legacy rules) -------------------------------- */
/* kill the assorted legacy 1px heading underlines; the gradient bar replaces them */
.certifications-title1,
.abthead,
h2 {
	border-bottom: none;
}
.abthead {
	font-weight: 800 !important;
	border-bottom: none !important;
}
.abthead strong {
	color: var(--afd-brand);
}
.headcenter h2 {
	position: relative;
	padding-bottom: 14px;
}
.headcenter h2::after {
	content: "";
	position: absolute;
	left: 50%;
	transform: translateX(-50%);
	bottom: 0;
	height: 4px;
	width: 58px;
	border-radius: 4px;
	background: linear-gradient(90deg, var(--afd-amber), var(--afd-sky));
	margin: 0;
}
.head2 h2 {
	position: relative;
	padding-bottom: 14px;
}
.head2 h2::after {
	content: "";
	position: absolute;
	left: 50%;
	transform: translateX(-50%);
	bottom: 0;
	height: 4px;
	width: 58px;
	border: none;
	border-radius: 4px;
	background: linear-gradient(90deg, var(--afd-amber), var(--afd-sky));
	margin: 0;
}
.cencontent h2 {
	position: relative;
	padding-bottom: 14px;
}
.cencontent h2::after {
	content: "";
	position: absolute;
	left: 50%;
	transform: translateX(-50%);
	bottom: 0;
	height: 4px;
	width: 58px;
	border: none;
	border-radius: 4px;
	background: linear-gradient(90deg, var(--afd-amber), #fff);
	margin: 0;
}

/* location cards (homepage + contact) */
.phonesection {
	background: #fff;
	border: 1px solid var(--afd-line);
	border-radius: var(--afd-radius);
	box-shadow: var(--afd-shadow-sm);
	padding: 34px 30px;
	transition: transform .22s ease, box-shadow .22s ease;
}
.phonesection:hover {
	border: 1px solid var(--afd-line);
	transform: translateY(-4px);
	box-shadow: var(--afd-shadow);
}
.phonesection p strong {
	font-size: 19px;
	color: var(--afd-navy);
}
.phonesection i {
	color: var(--afd-brand);
}
.phonesection a[href^="tel:"] {
	font-weight: 800;
	font-size: 18px;
	color: var(--afd-brand);
}
.contouter {
	background: var(--afd-bg-soft);
}

/* Bootstrap buttons (READ MORE etc.) */
.btn-primary {
	background: linear-gradient(135deg, var(--afd-blue), var(--afd-brand));
	border: none;
	border-radius: 10px;
	font-weight: 700;
	letter-spacing: .04em;
	padding: 11px 26px;
	box-shadow: var(--afd-shadow-sm);
}
.btn-primary:hover {
	background: linear-gradient(135deg, var(--afd-brand), var(--afd-navy));
	transform: translateY(-2px);
	box-shadow: var(--afd-shadow);
}

/* FAQ accordion */
.accordion .card {
	border: 1px solid var(--afd-line);
	border-radius: 10px !important;
	margin-bottom: 10px;
	box-shadow: none;
	overflow: hidden;
}
.accordion .card:hover {
	transform: none;
	box-shadow: var(--afd-shadow-sm);
}
.accordion .card-header {
	background: linear-gradient(135deg, var(--afd-navy) 0%, var(--afd-brand) 100%);
	border-bottom: none;
	padding: 4px 10px;
}
.accordion button {
	font-weight: 600;
	font-size: 15.5px;
	color: #fff;
}
.accordion button .fa-question-circle {
	color: var(--afd-amber);
	margin-right: 6px;
}
.accordion .card-body {
	background: #fff;
	color: var(--afd-ink);
}

/* media embeds should never overflow their column */
iframe {
	max-width: 100%;
}

/* ---- Small screens ------------------------------------------------------------- */
@media (max-width: 991px) {
	.secspace {
		padding: 48px 15px;
	}
	.hcon {
		margin: 10px auto;
		text-align: center;
	}
	.navbar-nav .nav-link::after {
		right: auto;
		width: 44px;
	}
	.navbar-nav .nav-link {
		padding: 12px 18px !important;
	}
	.logossec .col-md-3 {
		max-width: 46%;
		flex-basis: 46%;
	}
	.carousel-control-prev-icon1,
	.carousel-control-next-icon1 {
		width: 42px;
		height: 42px;
	}
}
@media (max-width: 575px) {
	.logossec .col-md-3 {
		max-width: 100%;
		flex-basis: 100%;
	}
	.certifications-title1 {
		font-size: 1.9rem;
	}
}
