/* BASIC STYLES */

@font-face {
	font-family: 'MainTTCommons';
	/* ExtraLight / 200 */
	src: url('../fonts/TTCommons-ExtraLight.woff2') format('woff2'),
	     url('../fonts/TTCommons-ExtraLight.ttf') format('truetype');
	font-weight: 200;
	font-style: normal;
	font-display: swap;
}

@font-face {
	font-family: 'MainTTCommons';
	/* Regular / 400 */
	src: url('../fonts/TTCommons.woff2') format('woff2'),
	     url('../fonts/TTCommons.otf') format('opentype');
	font-weight: 400;
	font-style: normal;
	font-display: swap;
}


@font-face {
	font-family: 'MainTTCommons';
	/* Medium / 500 */
	src: url('../fonts/TTCommons-Medium.woff2') format('woff2'),
	     url('../fonts/TTCommons-Medium.ttf') format('truetype');
	font-weight: 500;
	font-style: normal;
	font-display: swap;
}

@font-face {
	font-family: 'MainTTCommons';
	/* DemiBold / 600 */
	src: url('../fonts/TTCommons-DemiBold.woff2') format('woff2'),
	     url('../fonts/TTCommons-DemiBold.ttf') format('truetype');
	font-weight: 600;
	font-style: normal;
	font-display: swap;
}

@font-face {
	font-family: 'MainTTCommons';
	/* Bold / 700 */
	src: url('../fonts/TTCommons-Bold.woff2') format('woff2'),
	     url('../fonts/TTCommons-Bold.ttf') format('truetype');
	font-weight: 700;
	font-style: normal;
	font-display: swap;
}

@font-face {
	font-family: 'MainTTCommons';
	/* ExtraBold / 800 */
	src: url('../fonts/TTCommons-ExtraBold.woff2') format('woff2'),
	     url('../fonts/TTCommons-ExtraBold.ttf') format('truetype');
	font-weight: 800;
	font-style: normal;
	font-display: swap;
}

@font-face {
	font-family: 'MainTTCommons';
	/* Black / 900 */
	src: url('../fonts/TTCommons-Black.woff2') format('woff2'),
	     url('../fonts/TTCommons-Black.ttf') format('truetype');
	font-weight: 900;
	font-style: normal;
	font-display: swap;
}

@font-face {
	font-family: 'MainFbAlbatros';
	/* Regular / 400 */
	src: url('../fonts/FbAlbatros-Regular.woff2') format('woff2'),
	     url('../fonts/FbAlbatros-Regular.otf') format('opentype');
	font-weight: 400;
	font-style: normal;
	font-display: swap;
}

html {
	box-sizing: border-box;
	-ms-overflow-style: scrollbar;
	-webkit-text-size-adjust: 100%;
	-ms-text-size-adjust: 100%;
	font-size-adjust: 100%;
}

html,
body {
	height: 100%;
}

body {
	margin: 0;
	padding: 0;
	font-family: 'MainTTCommons', "Roboto", sans-serif;
	color: #006775;
}

body[lang="he"] {
	font-family: 'MainFbAlbatros', "Roboto", sans-serif;
}

*:not(svg):not(svg *):not(i) {
	box-sizing: border-box;
	font-family: 'MainTTCommons', 'MainFbAlbatros',"Roboto", sans-serif;
}

[lang="he"] *:not(svg):not(svg *):not(i):not(.identifire):not(.simcha-id-display) {
	font-family: 'MainFbAlbatros', "Roboto", sans-serif;
}

a,
img {
	-webkit-tap-highlight-color: transparent;
}

* {
	-webkit-tap-highlight-color: transparent;
}

header {
	width: 100%;
}

ul {
	list-style: none;
}

/* NAV BAR */
a {
	text-decoration: none;
	color: inherit;
}

img {
	max-width: 100%;
}

.mobile-only {
	display: none;
}

#nav_bar {
	position: absolute;
	top: 50px;
	right: 70px;
	font-size: 1.3vw;
	display: flex;
	grid-gap: 10px;
}

#nav_bar #sign_in {
	cursor: pointer;
}

/* Top-of-page progress bar */
#top-progress-bar {
	position: fixed;
	top: 0;
	left: 0;
	height: 3px;
	width: 100%;
	transform: scaleX(0);
	transform-origin: left center;
	background: linear-gradient(90deg, #5298A1 0%, #006775 50%, #5298A1 100%);
	z-index: 99999;
	opacity: 0;
	transition: opacity 0.35s ease;
	pointer-events: none;
	border-radius: 0 2px 2px 0;
	mix-blend-mode: color-dodge;
	will-change: transform, opacity;
}

.load_section {
	display: none;
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	background: rgba(255, 255, 255, 0.9);
	z-index: 999;
	min-height: 300px;
}

/* Add animation to "page content" */
.animate-bottom {
	position: relative;
	-webkit-animation-name: animatebottom;
	-webkit-animation-duration: 1s;
	animation-name: animatebottom;
	animation-duration: 1s
}

@-webkit-keyframes animatebottom {
	from {
		bottom: -100px;
		opacity: 0
	}

	to {
		bottom: 0px;
		opacity: 1
	}
}

@keyframes animatebottom {
	from {
		bottom: -100px;
		opacity: 0
	}

	to {
		bottom: 0;
		opacity: 1
	}
}


.icon-box span {
	display: block;
	margin-top: 10px;
}


.hamburger-menu {
	display: none;
}

.mobile-quote {
	display: none;
}

.mobile-filter {
	display: none;
}




/* Hide native checkbox */
.round-check input {
	position: absolute;
	opacity: 0;
	cursor: pointer;
}

/* Outer circle */
.round-check .check-ui {
	min-width: 18px;
	height: 18px;
	border-radius: 50%;
	border: 1px solid #D7DFE2;
	/* teal border */
	display: inline-flex;
	align-items: center;
	justify-content: center;
	box-sizing: border-box;
	pointer-events: none;
}

/* Inner filled circle */
.round-check .check-ui::after {
	content: "";
	width: 12px;
	height: 12px;
	border-radius: 50%;
	background: #006775;
	transform: scale(0);
	transition: transform 0.2s ease;
}

/* Outer circle small*/
.round-check .small.check-ui {
	min-width: 18px;
	height: 18px;
}

/* Inner filled circle small*/
.round-check .small.check-ui::after {
	width: 10px;
	height: 10px;
}

/* Checked state */
.round-check input:checked+.check-ui::after {
	transform: scale(1);
}

/* Text */
.round-check .check-text {
	line-height: 1;
}

.lang-toggle-mobile {
	position: relative;
	display: flex;
	align-items: center;
	background: transparent;
	border: 1px solid #fff;
	border-radius: 20px;
	padding: 2px;
	gap: 2px;
	height: 31px;
	overflow: hidden;
}

.lang-toggle-mobile::before {
	content: '';
	position: absolute;
	top: 2px;
	left: 2px;
	width: var(--pill-width, calc(50% - 3px));
	height: calc(100% - 4px);
	background: #fff;
	border-radius: 18px;
	transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1), width 0.3s cubic-bezier(0.4, 0, 0.2, 1);
	z-index: 0;
}

.lang-toggle-mobile[data-active="hb"]::before {
	transform: translateX(var(--pill-hb-offset, calc(100% + 2px)));
}

.lang-toggle-btn {
	white-space: nowrap;
	height: 25px;
	border-radius: 20px;
	font-size: 14px;
	font-weight: 400;
	color: #fff;
	cursor: pointer;
	transition: color 0.3s ease;
	padding: 0 10px;
	display: flex;
	align-items: center;
	justify-content: center;
	background: transparent;
	border: 0 none;
	position: relative;
	z-index: 1;
	user-select: none;
}

.lang-toggle-btn.active {
	background: transparent;
	color: #000;
}

/* Bug 19: Hebrew button uses Albatross font */
.lang-toggle-btn[data-lang="hb"] {
	font-family: 'MainFbAlbatros', sans-serif;
}

.lang-toggle-desktop {
	position: relative;
	display: flex;
	border: 1px solid #006775;
	border-radius: 30px;
	padding: 2px;
	gap: 2px;
	height: 31px;
	overflow: hidden;
}

.lang-toggle-desktop::before {
	content: '';
	position: absolute;
	top: 2px;
	left: 2px;
	width: var(--pill-width, calc(50% - 3px));
	height: calc(100% - 4px);
	background: #006775;
	border-radius: 18px;
	transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1), width 0.3s cubic-bezier(0.4, 0, 0.2, 1);
	z-index: 0;
}

.lang-toggle-desktop[data-active="hb"]::before {
	transform: translateX(var(--pill-hb-offset, calc(100% + 2px)));
}

.lang-toggle-desktop .lang-toggle-btn {
	color: #006775;
	background: transparent;
	position: relative;
	z-index: 1;
	transition: color 0.3s ease;
	cursor: pointer;
	user-select: none;
}

.lang-toggle-desktop .lang-toggle-btn.active {
	background: transparent;
	color: #fff;
}


.light .lang-toggle-desktop {
	border: 1px solid #fff;
}

.light .lang-toggle-desktop::before {
	background: #fff;
}

.light .lang-toggle-desktop .lang-toggle-btn {
	color: #fff;
}

.light .lang-toggle-desktop .lang-toggle-btn.active {
	background: transparent;
	color: #000;
}

@media screen and (max-width: 767px) {
	.mobile-only {
		display: block;
	}

	.desktop-only {
		display: none;
	}

	#menu-overlay {
		position: fixed;
		top: 0;
		left: -479px;
		width: 100%;
		height: 100%;
		background: #ffffff;
		box-shadow: 2px 0 8px rgba(0, 0, 0, 0.2);
		overflow-y: auto;
		transition: left 0.3s ease;
		z-index: 999;
		max-width: 479px;
	}

	#menu-overlay.active {
		left: 0;
	}

	.menu-header {
		display: flex;
		align-items: center;
		justify-content: center;
		background: linear-gradient(to right, #5298A1 0%, #006775 50%, #5298A1 100%);
		color: white;
		padding: 15px;
	}

	.menu-header img {
		width: 110px;
	}

	.menu-close {
		font-size: 24px;
		cursor: pointer;
		position: absolute;
		top: 10px;
		left: 10px;
	}

	.menu-top-icons {
		display: flex;
		justify-content: space-around;
		margin: 30px 30px 25px;
		border-bottom: 1px solid #006775;
		font-size: 12px;
	}

	.icon-box {
		text-align: center;
		color: #1b8a8e;
		padding: 10px;
	}

	.icon-box>i {
		font-size: 24px;
	}

	.icon-box>*>i {
		font-size: 24px;
	}

	.accordion {
		margin: 0 30px 20px;
		font-size: 14px;
	}

	.accordion-header {
		background: #EDF7F9;
		padding: 10px 40px;
		cursor: pointer;
		font-weight: bold;
		border-radius: 10px;
		position: relative;
	}

	.accordion-header span {
		background-image: linear-gradient(to right, #5298A1, #006775);
		color: transparent;
		background-clip: text;
	}

	.accordion-header .fa-angle-down {
		display: none;
		/* Hide down arrow by default */
	}

	.accordion.open .fa-angle-right {
		display: none;
		/* Hide right arrow when open */
	}

	.accordion.open .fa-angle-down {
		display: inline-block;
		/* Show down arrow when open */
	}

	.accordion-header i {
		position: absolute;
		left: 15px;
	}

	.accordion-content {
		display: none;
		background: #EDF7F9;
		padding: 10px 40px;
		margin-top: 1px;
		border-radius: 10px;
	}

	.logout-btn {
		display: block;
		width: -moz-available;
		margin: 15px 30px;
		padding: 10px;
		background: linear-gradient(to right, #006775, #5298A1);
		color: white;
		border: none;
		border-radius: 6px;
		font-size: 20px;
		cursor: pointer;
		text-align: center;
	}

	.contact-us {
		text-align: center;
		padding: 15px;
		font-size: 20px;
		background-image: linear-gradient(to right, #5298A1, #006775);
		color: transparent;
		background-clip: text;
	}

	.contact-us i {
		transform: scaleX(-1);
	}

}

/* ============================================================
   CONTACT POPUP
   ============================================================ */
/* ---- Contact Popup ---------------------------------------- */
.contact_popup {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background-color: rgba(0, 0, 0, 0.5);
	display: none;
	justify-content: center;
	align-items: center;
	z-index: 9999;
}

.contact_popup.show {
	display: flex;
}

.contact_popup_content {
	background: white;
	border-radius: 25px;
	width: 90%;
	max-width: 500px;
	max-height: 90vh;
	position: relative;
	box-shadow: 0px 0px 19px rgba(0, 0, 0, 0.24);
}

.contact_popup_close {
	background: none;
	border: none;
	color: white;
	font-size: 22px;
	cursor: pointer;
	padding: 0;
	width: 24px;
	height: 24px;
	display: flex;
	align-items: center;
	justify-content: center;
	position: absolute;
	top: -30px;
	right: 0;
}

.contact_popup_close:hover {
	opacity: 0.8;
}

.contact_popup_body {
	padding: 30px;
}

.contact_popup_title {
	font-size: 18px;
	font-weight: bold;
	margin-bottom: 8px;
	display: flex;
	align-items: center;
	gap: 10px;
	justify-content: center;
}

.contact_popup_title i {
	font-size: 20px;
}

.contact_popup_subtitle {
	font-size: 14px;
	margin-bottom: 25px;
	line-height: 1.4;
	text-align: center;
	color: #000;
}

.contact_form_row {
	display: flex;
	gap: 15px;
	margin-bottom: 15px;
}

.contact_form_group {
	flex: 1;
}

.contact_form_group.full-width {
	width: 100%;
}

.contact_form_input {
	width: 100%;
	padding: 10px 15px;
	border: 0 none;
	border-radius: 25px;
	font-size: 14px;
	outline: none;
	transition: border-color 0.3s;
	box-sizing: border-box;
	box-shadow: 0px 0px 3px rgba(0, 0, 0, 0.25);
}

.contact_form_input::placeholder {
	color: #A7B7BD;
}

.contact_form_input:focus {
	box-shadow: 0px 0px 3px #5298A1;
}

.contact_form_input.error {
	border-color: #dc3545;
	background-color: #fff5f5;
}

.contact_form_textarea {
	width: 100%;
	padding: 12px 15px;
	border: 0 none;
	border-radius: 15px;
	font-size: 14px;
	outline: none;
	transition: border-color 0.3s;
	box-sizing: border-box;
	min-height: 150px;
	resize: vertical;
	font-family: inherit;
	box-shadow: 0px 0px 3px rgba(0, 0, 0, 0.25);
}

.contact_form_textarea:focus {
	box-shadow: 0px 0px 3px #5298A1;
}

.contact_form_textarea.error {
	border-color: #dc3545;
	background-color: #fff5f5;
}

.contact_form_textarea::placeholder {
	color: #A7B7BD;
}

.contact_send_btn {
	background: linear-gradient(to right, #5298A1 0%, #006775 100%);
	color: white;
	border: none;
	padding: 8px 30px 5px;
	border-radius: 25px;
	font-size: 20px;
	font-weight: 600;
	cursor: pointer;
	transition: background-color 0.3s;
	position: relative;
	margin: 0 auto;
	display: block;
	width: 119px;
	top: -30px;
}

.contact_send_btn:hover {
	background-color: #3a6c6e;
}

.contact_methods {
	display: flex;
	gap: 15px;
	justify-content: center;
}

.contact_method {
	background: #A7B7BD;
	color: white;
	border: none;
	padding: 10px 20px;
	border-radius: 25px;
	font-size: 12px;
	cursor: pointer;
	display: flex;
	align-items: center;
	gap: 8px;
	text-decoration: none;
	transition: background-color 0.3s;
}

.contact_method:hover {
	background-color: #3a6c6e;
	color: white;
	text-decoration: none;
}

.contact_method i {
	font-size: 14px;
}

/* Contact popup - mobile */
@media (max-width: 767px) {
	.contact_popup_content {
		width: 95%;
		margin: 10px;
	}

	.contact_popup_body {
		padding: 20px;
	}

	.contact_form_row {
		flex-direction: column;
		gap: 10px;
	}

	.contact_methods {
		flex-direction: column;
		gap: 10px;
	}

	.contact_method {
		justify-content: center;
	}
}

@media (max-width: 480px) {
	.contact_popup_body {
		padding: 15px;
	}

	.contact_popup_title {
		font-size: 16px;
	}

	.contact_popup_subtitle {
		font-size: 13px;
	}

}

/* Visually hidden but readable by screen readers and search engines */
.visually-hidden {
	position: absolute;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0,0,0,0);
	white-space: nowrap;
	border: 0;
}

/* ============================================================
   SITE FOOTER — shared across all pages
   ============================================================ */
.site-footer {
	background: linear-gradient(135deg, #5298A1, #006775);
	padding: 60px 90px 50px;
	color: #fff;
}

.site-footer-inner {
	max-width: 960px;
}

.site-footer-brand {
	font-size: 36px;
	font-weight: 300;
	margin-bottom: 24px;
	letter-spacing: 0.5px;
}

.site-footer-desc {
	font-size: 15px;
	line-height: 1.7;
	color: rgba(255,255,255,0.85);
	margin: 0 0 36px;
}

.site-footer-links {
	display: flex;
	align-items: center;
	gap: 10px;
	flex-wrap: wrap;
}

.site-footer-links a {
	color: rgba(255,255,255,0.85);
	font-size: 15px;
	text-decoration: none;
	transition: color 0.2s ease;
}

.site-footer-links a:hover {
	color: #fff;
}

.site-footer-links span {
	color: rgba(255,255,255,0.4);
	font-size: 15px;
}

.site-footer-copy {
	margin-top: 20px;
	font-size: 13px;
	color: rgba(255,255,255,0.55);
}

@media screen and (max-width: 767px) {
	.site-footer {
		padding: 50px 24px 40px;
	}

	.site-footer-brand {
		font-size: 28px;
	}

	.site-footer-links {
		gap: 8px;
	}
}
