/* ==========================================================================
   Clue Styles - General widget and component styles
   Shared across all Clue client websites
   ========================================================================== */


/* ==========================================================================
   BS5 Compatibility Overrides
   Restores BS4/Platforma base styles that BS5 changed
   ========================================================================== */

/* Base body styles matching original Platforma template */
body {
	font-family: "Helvetica Neue", Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto;
	color: #000000;
	-webkit-font-smoothing: antialiased;
	overflow-x: hidden;
}

/* BS5 changed default link underline — restore BS4 behavior */
a {
	text-decoration: none;
}

a:hover {
	text-decoration: none;
}

/* Heading margin matching old template */
h1, h2, h3, h4, h5, h6 {
	margin-bottom: 1.25rem;
}


/* ==========================================================================
   Navigation
   ========================================================================== */

#new-menu-bar .logo img {
	max-width: 100%;
	width: 20rem;
}

.navbar-expand-md .navbar-nav .nav-link {
	font-size: 1rem;
	font-weight: 400;
	padding-right: 1.75rem;
	padding-left: 1.75rem;
}

@media (max-width: 992px) {
	.navbar-expand-md .navbar-nav .nav-link {
		font-size: .85rem;
		padding-right: 0.95rem;
		padding-left: 0.95rem;
	}
}

.navbar-side-content {
	overflow-y: scroll;
	-webkit-overflow-scrolling: touch;
}

/* Desktop hover dropdowns (not inside sidebar) */
#top-header .d-none .nav-item.dropdown:hover > .dropdown-menu {
	display: block !important;
	margin-top: 0;
}

/* Sidebar dropdowns should NOT respond to hover — they use click */
.navbar-side .dropdown-menu {
	position: static;
	float: none;
	background-color: transparent;
	border: none;
	box-shadow: none;
	display: none;
}

a.text-dark,
a.text-dark:focus {
	font-size: .875rem;
}

.dropdown-menu {
	margin: 0;
	padding: 0;
}

.dropdown-item {
	padding: 0.35rem 0.75rem;
	font-size: .85rem;
}

.dropdown-item,
.dropdown-item:focus {
	color: black;
	text-decoration: none;
	background-color: #F8F8F8;
}


/* Sidebar Menu
   ========================================================================== */

#headers-4-sidebar .navbar-nav {
	margin-top: 0em;
}

.navbar-side .navbar-side-content .nav-link {
	font-size: 1.15rem;
	line-height: 2.5rem;
	border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

#top-header .navbar-side .text-white {
	font-weight: 400;
}

.navbar-side .social .fa {
	color: white;
	font-size: 1.25rem;
}


/* ==========================================================================
   Homepage Cover
   ========================================================================== */

#homepage-cover {
	min-height: 600px;
	position: relative;
	overflow: hidden;
	background-position: center center;
	background-size: cover;
}

#homepage-cover h1 {
	font-size: 2.5rem;
	color: white;
	padding: 0px 90px;
}

#homepage-cover p {
	font-size: 1rem;
	padding: 0px 60px;
}

#homepage-cover .btn-outline-primary {
	border-radius: 30px;
	color: white !important;
}

@media (min-width: 766px) {
	#homepage-cover h1 {
		font-size: 3.5rem;
		padding: 0px;
	}

	#homepage-cover p {
		font-size: 1.25rem;
	}
}


/* ==========================================================================
   Background Video Container
   ========================================================================== */

.background-video-container {
	pointer-events: none;
	position: absolute;
	top: 0;
	right: 0;
	bottom: 0;
	left: 0;
}

.background-video-container video {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center center;
}

.background-video-container-overlay {
	position: absolute;
	top: 0;
	right: 0;
	bottom: 0;
	left: 0;
	pointer-events: none;
}


/* ==========================================================================
   Homepage Slideshow / Swiper
   ========================================================================== */

#homepage-slideshow .carousel-control-prev,
#homepage-slideshow .carousel-control-next {
	color: white;
	font-size: 3rem;
}

#homepage-slideshow .bg-cover {
	background-color: rgba(0, 0, 0, 0);
}

.swiper-pagination .swiper-pagination-bullet {
	background-color: rgba(255, 255, 255, 0.2);
}

.swiper-pagination .swiper-pagination-bullet-active {
	background-color: white;
}

.swiper-slide {
	background-position: center center;
	position: relative;
}

.swiper-slide-overlay {
	position: absolute;
	width: 100%;
	height: 100%;
}

.images-ratio.ratio-16-9 {
	height: 600px;
}

#homepage-slideshow {
	min-height: 600px;
	height: calc(30rem);
	position: relative;
	overflow: hidden;
	background-position: center center;
	background-size: cover;
	display: none;
}

#homepage-slideshow h1 {
	font-size: 2.5rem;
	color: white;
	padding: 0px 90px;
}

#homepage-slideshow p {
	font-size: 1rem;
	padding: 0px 60px;
}

@media (min-width: 766px) {
	#homepage-slideshow h1 {
		font-size: 3.5rem;
		padding: 0px;
	}

	#homepage-slideshow p {
		font-size: 1.25rem;
	}

	#homepage-slideshow {
		display: block;
	}
}


/* ==========================================================================
   Mobile Top Banner
   ========================================================================== */

#mobile-top-banner {
	background-position: center center;
	background-size: cover;
	position: initial;
	display: block;
}

#mobile-top-banner h1 {
	color: white;
}

#mobile-top-banner p {
	color: white;
}

#mobile-top-banner .btn-outline-primary {
	background-color: initial;
	border-color: white;
	border-radius: 30px;
	color: white !important;
}

@media (min-width: 765px) {
	#mobile-top-banner {
		display: none !important;
	}
}


/* ==========================================================================
   Buttons
   ========================================================================== */

.btn-outline-primary {
	border-radius: 30px;
}

.btn-primary a {
	color: white !important;
}

.btn-primary i {
	color: white !important;
}

.icon-btn button {
	margin: 10px;
}

.btn-text {
	width: 60%;
	font-size: 1.2rem;
}

.btn-gradient {
	width: 40%;
	position: relative;
	display: inline-block;
	left: -20px;
	background: rgba(0, 0, 0, 0.15);
	border-top-right-radius: 60px;
	padding: 8px 24px 8px 16px;
	box-shadow: 2px 0px 0px 0px rgba(78, 72, 72, 0.4);
}

.btn-gradient i {
	font-size: 30px;
	display: flex;
	justify-content: center;
	align-items: center;
}

.radius-style button {
	border-radius: 30px;
}

.radius-btn {
	border-top-left-radius: 30px;
	border-bottom-left-radius: 30px;
}

a:hover span {
	border-bottom: none !important;
}

.btn-clue {
	font-size: 23px;
	padding: 0px 20px;
	color: #fff;
	background-color: #21aabd;
	border: none;
	justify-content: center;
	align-items: center;
	display: flex;
	max-width: 100% !important;
	width: 310px;
	box-shadow: 0 0 1px #ccc;
	transition: all 0.5s ease-in-out;
}

.btn-clue:hover {
	transform: scale(1.1);
	background: #c04298;
}

@media (min-width: 765px) {
	.icon-btn button {
		margin: 10px;
	}

	.btn-clue {
		width: 450px;
	}

	.btn-facebook {
		width: 450px;
	}

	.btn-instagram {
		width: 450px;
	}

	.btn-linkedin {
		width: 450px;
	}
}


/* ==========================================================================
   Banners & Sections
   ========================================================================== */

/* Promo Banner */
#promo-banner {
	background-color: #fafafa !important;
}

@media (min-width: 1200px) {
	#promo-banner {
		background-color: #fafafa;
		background-position: center center;
		background-size: cover;
		background-repeat: no-repeat;
		background-attachment: initial;
		height: auto;
	}
}

/* Second Banner */
#second-banner {
	background-color: #fafafa !important;
}

@media (min-width: 1200px) {
	#second-banner {
		background-color: #fafafa;
		background-position: center center;
		background-size: cover;
		background-attachment: initial;
		height: auto;
	}
}

/* Touts */
#touts .container-fluid {
	padding-left: initial;
	padding-right: initial;
}

#touts .border-bottom {
	margin-top: 20px;
	margin-bottom: 30px;
	border-bottom: 1px solid white !important;
	width: 25%;
	margin-right: auto;
	margin-left: auto;
}

/* Reviews */
#reviews-banner .fa-star {
	color: gold;
	font-size: 2rem;
}

#reviews-banner .fa {
	font-size: 3rem;
}


/* ==========================================================================
   Split Video / Split Screen
   ========================================================================== */

#split-video video {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

#split-video .picture {
	background-position: center center;
	background-size: cover;
	background-repeat: no-repeat;
	height: auto;
}

@media (min-width: 766px) {
	#split-video .h-md-100 {
		height: 600px;
	}
}

#split-first .picture {
	background-position: center center;
	background-size: cover;
	background-repeat: no-repeat;
	height: auto;
}

#split-first h1 {
	color: white;
}

#split-first h2 {
	color: white;
}

#split-first a {
	color: white;
}

#split-first .btn-round {
	border-radius: 30px;
}

@media (min-width: 766px) {
	#split-first .h-md-100 {
		height: 500px;
	}
}


/* ==========================================================================
   Request Consultation Banner
   ========================================================================== */

#request-banner {
	background-size: 500px 500px;
	background-position: center center;
	padding: 1rem 0;
}

#request-banner .form-control {
	background-color: white;
}

#request-banner h1 {
	color: white;
}

#request-banner .btn-outline-primary {
	background-color: initial;
	border-color: white;
	border-radius: 30px;
	color: white !important;
}


/* ==========================================================================
   Links Section
   ========================================================================== */

#links {
	background-size: 300px 300px;
	background-position: center center;
	padding: 1rem 0;
}


/* ==========================================================================
   Honeypot
   ========================================================================== */

#lastname {
	display: none;
}


/* ==========================================================================
   Footer
   ========================================================================== */

#footer .fa {
	font-size: 1.25rem;
}

#footer .btn-outline-primary {
	border-radius: 30px;
}

#footer h2 {
	margin-left: auto;
	margin-right: auto;
}

@media (min-width: 766px) {
	#footer h2 {
		margin-left: initial;
		margin-right: initial;
	}
}


/* ==========================================================================
   Inside Pages
   ========================================================================== */

#content {
	padding-top: 6em;
	padding-bottom: 6em;
}

#content img {
	padding-top: 1rem;
	padding-bottom: 1rem;
	max-width: 100%;
	width: 100%;
}

#content hr {
	clear: both;
	margin-bottom: 2rem !important;
	margin-top: 2rem !important;
}

#content .images-ratio {
	background-position: center;
	height: auto;
}

.cracked-teeth img {
	padding-top: 1rem;
	padding-bottom: 1rem;
	max-width: 100%;
	width: 80px !important;
}

.table {
	width: auto;
	margin-left: auto;
	margin-right: auto;
}

.table th {
	font-weight: 500;
}

@media (min-width: 766px) {
	.table {
		width: auto;
		margin-left: initial;
		margin-right: initial;
	}
}

#gentlewave-slide .swiper {
	margin-left: auto !important;
	margin-right: auto !important;
}

#content .swiper-pagination .swiper-pagination-bullet {
	background-color: rgba(0, 0, 0, 0.3) !important;
}


/* ==========================================================================
   Hover Gallery - Meet the Team
   ========================================================================== */

#hover-gallery .row {
	position: relative;
}

#hover-gallery .image {
	opacity: 1;
	display: block;
	width: 100%;
	height: auto;
	transition: .5s ease;
	backface-visibility: hidden;
}

#hover-gallery .middle {
	transition: .5s ease;
	opacity: 0;
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	text-align: center;
}

#hover-gallery .gallery-item:hover .image {
	opacity: 0.3;
}

#hover-gallery .gallery-item:hover .middle {
	opacity: 1;
}

#hover-gallery .text {
	color: white;
	font-size: 16px;
	padding: 10px 20px;
}

#hover-gallery .text a {
	color: white;
}

#hover-gallery .modal-header {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	padding: 0;
	border-bottom: 0 solid #f6f6f6;
}

#hover-gallery .close span {
	font-size: 1.5em;
	padding-right: .25em;
}

@media (min-width: 576px) {
	#hover-gallery .modal-dialog {
		max-width: 750px !important;
	}

	#hover-gallery .modal-body {
		padding: 1em;
	}

	#hover-gallery .modal-body img {
		padding-top: 0 !important;
		padding-bottom: 0 !important;
	}
}


/* ==========================================================================
   Toothority / Muvi Video Container
   ========================================================================== */

.muvi-container {
	text-align: center;
	background-color: rgba(0, 0, 0, 0.05);
	padding: 20px 20px 10px 20px;
	margin-top: 20px;
	margin-bottom: 20px;
	border-radius: 14px;
	max-width: 800px;
	margin-left: auto;
	margin-right: auto;
}

.muvi-container video {
	width: 100%;
}

.muvi-caption,
.muvi-caption a {
	font-size: 10px;
	color: rgba(0, 0, 0, 0.25) !important;
}

.muvi-caption a {
	margin-left: 1em;
	text-decoration: none;
}


/* ==========================================================================
   Microsite Sub-Navigation (shared)
   ========================================================================== */

.microsite-subnav {
	padding: 1rem 0 2.5rem 0;
	position: relative;
	-webkit-mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1920 120' preserveAspectRatio='none'><path fill='white' d='M 0,0 L 1920,0 L 1920,100 C 1440,118 480,84 0,108 Z'/></svg>");
	        mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1920 120' preserveAspectRatio='none'><path fill='white' d='M 0,0 L 1920,0 L 1920,100 C 1440,118 480,84 0,108 Z'/></svg>");
	-webkit-mask-size: 100% 100%;
	        mask-size: 100% 100%;
	-webkit-mask-repeat: no-repeat;
	        mask-repeat: no-repeat;
}

.microsite-subnav .subnav-link {
	color: rgba(255, 255, 255, 0.8);
	text-decoration: none;
	padding: 0.5rem 1.25rem;
	border-radius: 30px;
	font-size: 0.9rem;
	font-weight: 500;
	transition: background-color 0.2s ease, color 0.2s ease;
	white-space: nowrap;
}

.microsite-subnav .subnav-link:hover {
	color: white;
	background-color: rgba(255, 255, 255, 0.15);
}

.microsite-subnav .subnav-link.active {
	color: white;
	background-color: rgba(255, 255, 255, 0.25);
	font-weight: 600;
}


/* ==========================================================================
   Reviews Carousel (Swiper)
   ========================================================================== */

.reviews-carousel {
	overflow: hidden;
	padding-bottom: 3rem;
}

.reviews-carousel .fa-star {
	color: var(--client-warm);
	font-size: 1.5rem;
}

.reviews-carousel .swiper-wrapper {
	align-items: stretch;
}

.reviews-carousel .swiper-slide {
	padding: 2rem 1.5rem;
	background-color: #f8f9fa;
	border-radius: 0.5rem;
	height: auto;
	display: flex;
	flex-direction: column;
	box-sizing: border-box;
	width: 340px;
}

@media (max-width: 767.98px) {
	.reviews-carousel .swiper-slide {
		width: 85%;
	}
}

.reviews-carousel .swiper-slide p {
	line-height: 1.6;
}

.reviews-carousel .swiper-slide .text-center:first-child {
	margin-bottom: 0;
}

.reviews-carousel .review-date {
	font-size: 0.8rem;
	color: #999;
	margin-top: 0.15rem;
	margin-bottom: 1rem;
}

.reviews-carousel .fa-google {
	color: #EA4335;
}

.reviews-nav {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 1rem;
	margin-top: 1.5rem;
}

.reviews-nav-btn {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 44px;
	height: 44px;
	border-radius: 50%;
	border: 2px solid var(--client-primary);
	background: transparent;
	color: var(--client-primary);
	font-size: 1.2rem;
	cursor: pointer;
	transition: background 0.2s, color 0.2s;
}

.reviews-nav-btn:hover {
	background: var(--client-primary);
	color: #fff;
}

.reviews-nav-fraction {
	font-size: 0.95rem;
	color: #666;
	min-width: 50px;
	text-align: center;
}


/* ==========================================================================
   Contact Cards
   ========================================================================== */

.contact-card {
	background: #fff;
	border-radius: 14px;
	padding: 2rem 1.5rem;
	height: 100%;
	box-shadow: 0 4px 20px rgba(0, 0, 0, 0.07);
	transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.contact-card:hover {
	transform: translateY(-4px);
	box-shadow: 0 12px 35px rgba(0, 0, 0, 0.12);
}

.contact-card-icon {
	width: 60px;
	height: 60px;
	border-radius: 50%;
	background: var(--client-bg-light, #e4edf6);
	display: flex;
	align-items: center;
	justify-content: center;
	margin: 0 auto 1rem;
}

.contact-card-icon i {
	font-size: 1.5rem;
	color: var(--client-primary);
}

.contact-card h3 {
	font-size: 1.15rem;
	font-weight: 700;
	color: var(--client-primary);
	margin-bottom: 0.75rem;
}

.contact-phone a {
	font-size: 1.3rem;
	font-weight: 700;
	color: var(--client-primary);
	text-decoration: none;
}

.contact-phone a:hover {
	color: var(--client-primary-dark);
}

.contact-hours {
	text-align: left;
	max-width: 220px;
	margin: 0 auto;
	font-size: 0.9rem;
}

.contact-hours .d-flex {
	padding: 0.25rem 0;
	border-bottom: 1px solid #f0f0f0;
}

.contact-hours .d-flex:last-child {
	border-bottom: none;
}


/* ==========================================================================
   Office Gallery Banner
   ========================================================================== */

#contact-gallery {
	background: linear-gradient(135deg, var(--client-primary-dark, var(--client-primary)) 0%, var(--client-primary) 100%);
	color: #fff;
}

.contact-gallery-eyebrow {
	display: inline-block;
	font-size: 0.8rem;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 2px;
	color: #fff;
	opacity: 0.75;
	margin-bottom: 0.5rem;
}

.contact-gallery-heading {
	font-size: 2.2rem;
	font-weight: 700;
	color: #fff;
	margin-bottom: 0.75rem;
}

@media (max-width: 767.98px) {
	.contact-gallery-heading {
		font-size: 1.7rem;
	}
}

.contact-gallery-sub {
	max-width: 600px;
	margin: 0 auto;
	color: #fff;
	opacity: 0.85;
	font-size: 1.05rem;
}

.contact-gallery-tour {
	border-radius: 12px;
	overflow: hidden;
	box-shadow: 0 8px 30px rgba(0, 0, 0, 0.25);
}

.contact-gallery-tour iframe {
	width: 100%;
	display: block;
	border: 0;
}


/* ==========================================================================
   Map Frame
   ========================================================================== */

.map-frame {
	border-radius: 12px;
	overflow: hidden;
	box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
}

.map-frame iframe {
	width: 100%;
	display: block;
	border: 0;
}


/* ==========================================================================
   FAQ Accordion
   ========================================================================== */

.treatment-faq-card {
	border: 1px solid rgba(0, 0, 0, 0.08);
}

.treatment-faq-card .card-header {
	background-color: transparent;
	cursor: pointer;
	padding: 1rem 1.25rem;
	transition: background-color 0.15s ease;
}

.treatment-faq-card .card-header:hover {
	background-color: rgba(0, 0, 0, 0.02);
}

.treatment-faq-card .card-header button.btn-link {
	color: var(--client-primary);
	font-weight: 500;
}

.treatment-faq-card .card-body {
	padding: 1rem 1.25rem 1.25rem;
	line-height: 1.7;
}


/* ==========================================================================
   Animations
   ========================================================================== */

@media (min-width: 992px) {
	[data-animation] {
		visibility: hidden;
	}

	[data-animation].animate__animated {
		visibility: visible;
	}
}
