/*!
Theme Name: sharanmedical
Theme URI: https://websight.co.il
Author: Underscores.me
Author URI: https://websight.co.il
Description: Description
Version: 1.0.0
Tested up to: 5.4
Requires PHP: 5.6
License: GNU General Public License v2 or later
License URI: LICENSE
Text Domain: sharanmedical
Tags: custom-background, custom-logo, custom-menu, featured-images, threaded-comments, translation-ready

This theme, like WordPress, is licensed under the GPL.
Use it to make something cool, have fun, and share what you've learned.

sharanmedical is based on Underscores https://underscores.me/, (C) 2012-2020 Automattic, Inc.
Underscores is distributed under the terms of the GNU GPL v2 or later.

Normalizing styles have been helped along thanks to the fine work of
Nicolas Gallagher and Jonathan Neal https://necolas.github.io/normalize.css/
*/

/*--------------------------------------------------------------
>>> TABLE OF CONTENTS:
----------------------------------------------------------------
# Generic
	- Normalize
	- Box sizing
# Base
	- Typography
	- Elements
	- Links
	- Forms
## Layouts
# Components
	- Navigation
	- Posts and pages
	- Comments
	- Widgets
	- Media
	- Captions
	- Galleries
# plugins
	- Jetpack infinite scroll
# Utilities
	- Accessibility
	- Alignments

--------------------------------------------------------------*/

/*--------------------------------------------------------------
# Generic
--------------------------------------------------------------*/

/* Normalize
--------------------------------------------- */

/*! normalize.css v8.0.1 | MIT License | github.com/necolas/normalize.css */

/* Document
	 ========================================================================== */

/**
 * 1. Correct the line height in all browsers.
 * 2. Prevent adjustments of font size after orientation changes in iOS.
 */
html {
	line-height: 1.15;
	-webkit-text-size-adjust: 100%;
	scroll-behavior: smooth;
	scroll-padding-top: 120px; /* Reduced padding for faster scroll */
}

/* Sections
	 ========================================================================== */

/**
 * Remove the margin in all browsers.
 */
body {
	margin: 0;
}

/**
 * Render the `main` element consistently in IE.
 */
main {
	display: block;
}

/**
 * Correct the font size and margin on `h1` elements within `section` and
 * `article` contexts in Chrome, Firefox, and Safari.
 */
h1 {
	font-size: 2em;
	margin: 0.67em 0;
}

/* Grouping content
	 ========================================================================== */

/**
 * 1. Add the correct box sizing in Firefox.
 * 2. Show the overflow in Edge and IE.
 */
hr {
	box-sizing: content-box;
	height: 0;
	overflow: visible;
}

/**
 * 1. Correct the inheritance and scaling of font size in all browsers.
 * 2. Correct the odd `em` font sizing in all browsers.
 */
pre {
	font-family: monospace, monospace;
	font-size: 1em;
}

/* Text-level semantics
	 ========================================================================== */

/**
 * Remove the gray background on active links in IE 10.
 */
a {
	background-color: transparent;
}

/**
 * 1. Remove the bottom border in Chrome 57-
 * 2. Add the correct text decoration in Chrome, Edge, IE, Opera, and Safari.
 */
abbr[title] {
	border-bottom: none;
	text-decoration: underline;
	text-decoration: underline dotted;
}

/**
 * Add the correct font weight in Chrome, Edge, and Safari.
 */
b,
strong {
	font-weight: bolder;
}

/**
 * 1. Correct the inheritance and scaling of font size in all browsers.
 * 2. Correct the odd `em` font sizing in all browsers.
 */
code,
kbd,
samp {
	font-family: monospace, monospace;
	font-size: 1em;
}

/**
 * Add the correct font size in all browsers.
 */
small {
	font-size: 80%;
}

/**
 * Prevent `sub` and `sup` elements from affecting the line height in
 * all browsers.
 */
sub,
sup {
	font-size: 75%;
	line-height: 0;
	position: relative;
	vertical-align: baseline;
}

sub {
	bottom: -0.25em;
}

sup {
	top: -0.5em;
}

/* Embedded content
	 ========================================================================== */

/**
 * Remove the border on images inside links in IE 10.
 */
img {
	border-style: none;
}

/* Forms
	 ========================================================================== */
     div#input_2_7 {
        padding-bottom: 0 !important;
    }
    div#validation_message_2_7 {
        margin-top: -7px !important;
    }
    div#gform_confirmation_wrapper_1 {
        height: -webkit-fill-available;
        display: flex;
        align-items: center;
        justify-content: center;
        align-content: center;
    }
    .gchoice.gchoice_7_8_1 {
        display: flex;
        align-items: flex-start;
    }
/**
 * 1. Change the font styles in all browsers.
 * 2. Remove the margin in Firefox and Safari.
 */
button,
input,
optgroup,
select,
textarea {
	font-family: inherit;
	font-size: 100%;
	line-height: 1.15;
	margin: 0;
}

/**
 * Show the overflow in IE.
 * 1. Show the overflow in Edge.
 */
button,
input {
	overflow: visible;
}

/**
 * Remove the inheritance of text transform in Edge, Firefox, and IE.
 * 1. Remove the inheritance of text transform in Firefox.
 */
button,
select {
	text-transform: none;
}

/**
 * Correct the inability to style clickable types in iOS and Safari.
 */
button,
[type="button"],
[type="reset"],
[type="submit"] {
	-webkit-appearance: button;
}

/**
 * Remove the inner border and padding in Firefox.
 */
button::-moz-focus-inner,
[type="button"]::-moz-focus-inner,
[type="reset"]::-moz-focus-inner,
[type="submit"]::-moz-focus-inner {
	border-style: none;
	padding: 0;
}

.block-text-content .gform_footer input[type="submit"] {
    background-color: var(--color-navy);
    color: #fff;
    padding: 12px 34px;
    border-radius: 4px;
}

h2.gform_title{
    width: max-content;
}
#gform_wrapper_7 #gform_submit_button_7 {
    width: 100%;
}

.block-text-content .gform_wrapper.gravity-theme .gform_footer {
    display: flex;
    justify-content: center;
}

.wp-block-table td, .wp-block-table th {
    border-color: #C9D3D8;
}

.has-fixed-layout tr:first-child {
    background-color: #C9D3D8;
  }
/**
 * Restore the focus styles unset by the previous rule.
 */
button:-moz-focusring,
[type="button"]:-moz-focusring,
[type="reset"]:-moz-focusring,
[type="submit"]:-moz-focusring {
	outline: 1px dotted ButtonText;
}

/**
 * Correct the padding in Firefox.
 */
fieldset {
	padding: 0.35em 0.75em 0.625em;
}

/**
 * 1. Correct the text wrapping in Edge and IE.
 * 2. Correct the color inheritance from `fieldset` elements in IE.
 * 3. Remove the padding so developers are not caught out when they zero out
 *		`fieldset` elements in all browsers.
 */
legend {
	box-sizing: border-box;
	color: inherit;
	display: table;
	max-width: 100%;
	padding: 0;
	white-space: normal;
}

/**
 * Add the correct vertical alignment in Chrome, Firefox, and Opera.
 */
progress {
	vertical-align: baseline;
}

/**
 * Remove the default vertical scrollbar in IE 10+.
 */
textarea {
	overflow: auto;
}

/**
 * 1. Add the correct box sizing in IE 10.
 * 2. Remove the padding in IE 10.
 */
[type="checkbox"],
[type="radio"] {
	box-sizing: border-box;
	padding: 0;
}

/**
 * Correct the cursor style of increment and decrement buttons in Chrome.
 */
[type="number"]::-webkit-inner-spin-button,
[type="number"]::-webkit-outer-spin-button {
	height: auto;
}

/**
 * 1. Correct the odd appearance in Chrome and Safari.
 * 2. Correct the outline style in Safari.
 */
[type="search"] {
	-webkit-appearance: textfield;
	outline-offset: -2px;
}

/**
 * Remove the inner padding in Chrome and Safari on macOS.
 */
[type="search"]::-webkit-search-decoration {
	-webkit-appearance: none;
}

/**
 * 1. Correct the inability to style clickable types in iOS and Safari.
 * 2. Change font properties to `inherit` in Safari.
 */
::-webkit-file-upload-button {
	-webkit-appearance: button;
	font: inherit;
}

/* Interactive
	 ========================================================================== */

/*
 * Add the correct display in Edge, IE 10+, and Firefox.
 */
details {
	display: block;
}

/*
 * Add the correct display in all browsers.
 */
summary {
	display: list-item;
}

/* Misc
	 ========================================================================== */

/**
 * Add the correct display in IE 10+.
 */
template {
	display: none;
}

/**
 * Add the correct display in IE 10.
 */
[hidden] {
	display: none;
}

/* Box sizing
--------------------------------------------- */

/* Inherit box-sizing to more easily change it's value on a component level.
@link http://css-tricks.com/inheriting-box-sizing-probably-slightly-better-best-practice/ */
*,
*::before,
*::after {
	box-sizing: inherit;
}

html {
	box-sizing: border-box;
}

/*--------------------------------------------------------------
# Base
--------------------------------------------------------------*/

/* Typography
--------------------------------------------- */
body,
button,
input,
select,
optgroup,
textarea {
	font-size: var(--font-size-xl);
	line-height: 1.5;
}

h1,
h2,
h3,
h4,
h5,
h6 {
	clear: both;
}

p {
	margin-bottom: 1.5em;
}

dfn,
cite,
em,
i {
	font-style: italic;
}

blockquote {
	margin: 1.5em 0;
	color: var(--color-dark-red);
    font-size: var(--font-size-6xl);
    text-align: center;
    font-weight: 500;
    padding: 2%;
    border-color: var(--color-dark-red);
    border-top: 2px solid;
    border-bottom: 2px solid;
}

address {
	margin: 0 0 1.5em;
}

pre {
	background: #eee;
	font-family: "Courier 10 Pitch", courier, monospace;
	line-height: 1.6;
	margin-bottom: 1.6em;
	max-width: 100%;
	overflow: auto;
	padding: 1.6em;
}

code,
kbd,
tt,
var {
	font-family: monaco, consolas, "Andale Mono", "DejaVu Sans Mono", monospace;
}

abbr,
acronym {
	border-bottom: 1px dotted #666;
	cursor: help;
}

mark,
ins {
	background: #fff9c0;
	text-decoration: none;
}

big {
	font-size: 125%;
}

/* Elements
--------------------------------------------- */
body {
	background: #fff;
}

hr {
	background-color: #ccc;
	border: 0;
	height: 1px;
	margin-bottom: 1.5em;
}

ul,
ol {
	margin: 0 0 1.5em 1.5em;
}

ul {
	list-style: disc;
}

ol {
	list-style: decimal;
}

li > ul,
li > ol {
	margin-bottom: 0;
	margin-left: 1.5em;
}

dt {
	font-weight: 700;
}

dd {
	margin: 0 1.5em 1.5em;
}

/* Make sure embeds and iframes fit their containers. */
embed,
iframe,
object {
	max-width: 100%;
}

img {
	height: auto;
	max-width: 100%;
}

figure {
	margin: 1em 0;
}

table {
	margin: 0 0 1.5em;
	width: 100%;
}

/* Links
--------------------------------------------- */
a {
	color: #4169e1;
}


a:hover,
a:focus,
a:active {
	color: #191970;
}

a:focus {
	outline: thin dotted;
}

a:hover,
a:active {
	outline: 0;
}

/* Forms
--------------------------------------------- */
button,
input[type="button"],
input[type="reset"],
input[type="submit"] {
	border: 1px solid;
	border-color: #ccc #ccc #bbb;
	border-radius: 3px;
	background: #e6e6e6;
	color: rgba(0, 0, 0, 0.8);
	line-height: 1;
	padding: 0.6em 1em 0.4em;
}

button:hover,
input[type="button"]:hover,
input[type="reset"]:hover,
input[type="submit"]:hover {
	border-color: #ccc #bbb #aaa;
}

button:active,
button:focus,
input[type="button"]:active,
input[type="button"]:focus,
input[type="reset"]:active,
input[type="reset"]:focus,
input[type="submit"]:active,
input[type="submit"]:focus {
	border-color: #aaa #bbb #bbb;
}

input[type="text"],
input[type="email"],
input[type="url"],
input[type="password"],
input[type="search"],
input[type="number"],
input[type="tel"],
input[type="range"],
input[type="date"],
input[type="month"],
input[type="week"],
input[type="time"],
input[type="datetime"],
input[type="datetime-local"],
input[type="color"],
input[type="select"],
.gform_wrapper.gravity-theme select,
textarea {
	color: var(--color-navy) !important;
	border: 1px solid #ccc;
	border-radius: 3px;
	padding: 3px;
    font-size: var(--font-size-xl) !important;
    min-height: 48px !important;
}
::placeholder {
    color: var(--color-navy) !important;
}
.gchoice label {
    font-size: 18px !important;
}
input[type="select"],select{
    min-height: 48px !important;
}
input[type="text"]:focus,
input[type="email"]:focus,
input[type="url"]:focus,
input[type="password"]:focus,
input[type="search"]:focus,
input[type="number"]:focus,
input[type="tel"]:focus,
input[type="range"]:focus,
input[type="date"]:focus,
input[type="month"]:focus,
input[type="week"]:focus,
input[type="time"]:focus,
input[type="datetime"]:focus,
input[type="datetime-local"]:focus,
input[type="color"]:focus,
textarea:focus {
	color: #111;
}

select {
	border: 1px solid #ccc;
}

textarea {
	width: 100%;
}

/*--------------------------------------------------------------
# Layouts
--------------------------------------------------------------*/

/*--------------------------------------------------------------
# Components
--------------------------------------------------------------*/

/* Navigation
--------------------------------------------- */
.main-navigation {
	display: block;
	width: 100%;
}

.main-navigation ul {
	display: none;
	list-style: none;
	margin: 0;
	padding-left: 0;
}

.main-navigation ul ul {
	box-shadow: 0 3px 3px rgba(0, 0, 0, 0.2);
	float: left;
	position: absolute;
	top: 100%;
	left: -999em;
	z-index: 99999;
}

.main-navigation ul ul ul {
	left: -999em;
	top: 0;
}

.main-navigation ul ul li:hover > ul,
.main-navigation ul ul li.focus > ul {
	display: block;
	left: auto;
}

.main-navigation ul ul a {
	width: 200px;
}

.main-navigation ul li:hover > ul,
.main-navigation ul li.focus > ul {
	left: auto;
}

.main-navigation li {
	position: relative;
}

.main-navigation a {
	display: block;
	text-decoration: none;
}

/* Small menu. */
.menu-toggle,
.main-navigation.toggled ul {
	display: block;
}

@media screen and (min-width: 37.5em) {

	.menu-toggle {
		display: none;
	}

	.main-navigation ul {
		display: flex;
	}
}

.site-main .comment-navigation,
.site-main
.posts-navigation,
.site-main
.post-navigation {
	margin: 0 0 1.5em;
}

.comment-navigation .nav-links,
.posts-navigation .nav-links,
.post-navigation .nav-links {
	display: flex;
}

.comment-navigation .nav-previous,
.posts-navigation .nav-previous,
.post-navigation .nav-previous {
	flex: 1 0 50%;
}

.comment-navigation .nav-next,
.posts-navigation .nav-next,
.post-navigation .nav-next {
	text-align: end;
	flex: 1 0 50%;
}

/* Posts and pages
--------------------------------------------- */
.sticky {
	display: block;
}

.post {
	margin: 0 0 1.5em;
}

.updated:not(.published) {
	display: none;
}

.page-content,
.entry-content,
.entry-summary {
	margin: 1.5em 0 0;
}

.page-links {
	clear: both;
	margin: 0 0 1.5em;
}

/* Comments
--------------------------------------------- */
.comment-content a {
	word-wrap: break-word;
}

.bypostauthor {
	display: block;
}

/* Widgets
--------------------------------------------- */
.widget {
	margin: 0 0 1.5em;
}

.widget select {
	max-width: 100%;
}

/* Media
--------------------------------------------- */
.page-content .wp-smiley,
.entry-content .wp-smiley,
.comment-content .wp-smiley {
	border: none;
	margin-bottom: 0;
	margin-top: 0;
	padding: 0;
}

/* Make sure logo link wraps around logo image. */
.custom-logo-link {
	display: inline-block;
}

/* Captions
--------------------------------------------- */
.wp-caption {
	margin-bottom: 1.5em;
	max-width: 100%;
}

.wp-caption img[class*="wp-image-"] {
	display: block;
	margin-left: auto;
	margin-right: auto;
}

.wp-caption .wp-caption-text {
	margin: 0.8075em 0;
}

.wp-caption-text {
	text-align: center;
}

/* Galleries
--------------------------------------------- */
.gallery {
	margin-bottom: 1.5em;
	display: grid;
	grid-gap: 1.5em;
}

.gallery-item {
	display: inline-block;
	text-align: center;
	width: 100%;
}

.gallery-columns-2 {
	grid-template-columns: repeat(2, 1fr);
}

.gallery-columns-3 {
	grid-template-columns: repeat(3, 1fr);
}

.gallery-columns-4 {
	grid-template-columns: repeat(4, 1fr);
}

.gallery-columns-5 {
	grid-template-columns: repeat(5, 1fr);
}

.gallery-columns-6 {
	grid-template-columns: repeat(6, 1fr);
}

.gallery-columns-7 {
	grid-template-columns: repeat(7, 1fr);
}

.gallery-columns-8 {
	grid-template-columns: repeat(8, 1fr);
}

.gallery-columns-9 {
	grid-template-columns: repeat(9, 1fr);
}

.gallery-caption {
	display: block;
}

/*--------------------------------------------------------------
# Plugins
--------------------------------------------------------------*/

/* Jetpack infinite scroll
--------------------------------------------- */

/* Hide the Posts Navigation and the Footer when Infinite Scroll is in use. */
.infinite-scroll .posts-navigation,
.infinite-scroll.neverending .site-footer {
	display: none;
}

/* Re-display the Theme Footer when Infinite Scroll has reached its end. */
.infinity-end.neverending .site-footer {
	display: block;
}

/*--------------------------------------------------------------
# Utilities
--------------------------------------------------------------*/

/* Accessibility
--------------------------------------------- */

/* Text meant only for screen readers. */
.screen-reader-text {
	border: 0;
	clip: rect(1px, 1px, 1px, 1px);
	clip-path: inset(50%);
	height: 1px;
	margin: -1px;
	overflow: hidden;
	padding: 0;
	position: absolute !important;
	width: 1px;
	word-wrap: normal !important;
}

.screen-reader-text:focus {
	background-color: #f1f1f1;
	border-radius: 3px;
	box-shadow: 0 0 2px 2px rgba(0, 0, 0, 0.6);
	clip: auto !important;
	clip-path: none;
	color: #21759b;
	display: block;
	font-size: 0.875rem;
	font-weight: 700;
	height: auto;
	left: 5px;
	line-height: normal;
	padding: 15px 23px 14px;
	text-decoration: none;
	top: 5px;
	width: auto;
	z-index: 100000;
}

/* Do not show the outline on the skip link target. */
#primary[tabindex="-1"]:focus {
	outline: 0;
}

/* Alignments
--------------------------------------------- */
.alignleft {

	/*rtl:ignore*/
	float: left;

	/*rtl:ignore*/
	margin-right: 1.5em;
	margin-bottom: 1.5em;
}

.alignright {

	/*rtl:ignore*/
	float: right;

	/*rtl:ignore*/
	margin-left: 1.5em;
	margin-bottom: 1.5em;
}

.aligncenter {
	clear: both;
	display: block;
	margin-left: auto;
	margin-right: auto;
	margin-bottom: 1.5em;
}
/*
*
* Blocks
*
*/
/* Video & Text */
.block_text_block_video{
	padding: 32px 48px !important;
	background-color: var(--color-navy);
	border-radius: 16px;
	gap: 110px;
	color: var(--color-black-0);
	align-items: center;
}
.block_text_block_video .text-content h2{
	color: var(--color-black-0);
    -webkit-text-fill-color: var(--color-black-0);
	margin-bottom: 12px;
}
.flex-layout {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  gap: 32px;
  margin-bottom: 48px;
}

.flex-layout.ltr {
  flex-direction: row-reverse;
}
.flex-layout.rtl {
  flex-direction: row;
}

.flex-layout .text-content {
  flex: 1 1 60%;
  font-size: var(--font-size-lg);
  line-height: 1.6;
}

.flex-layout .video-content {
  flex: 1 1 40%;
  display: flex;
  justify-content: center;
  flex-direction: column;
  align-items: center;
}

.video-circle {
  width: 400px;
  height: 400px;
  border-radius: 50%;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  position: relative;
  transition: transform 0.3s ease;
  border: 8px solid rgb(71, 109, 140);
}

.video-circle:hover {
  transform: scale(1.05);
}

.play-button {
  display: inline-block;
  width: 70px;
  height: 70px;
  line-height: 60px;
  background-color: var(--color-navy);
  color: #fff;
  font-size: var(--font-size-5xl);
  text-align: center;
  border-radius: 50%;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  border: 2px solid white;
}
.play-button::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-40%, -50%);
  width: 0;
  height: 0;
  border-left: 16px solid white;
  border-top: 10px solid transparent;
  border-bottom: 10px solid transparent;
}
.block_text_block_video .text-content ul {
  list-style: none;
  padding-inline-start: 40px;
  margin: 0;
}

.block_text_block_video .text-content ul li {
  position: relative;
  margin-bottom: 12px;
}

.block_text_block_video .text-content ul li::before {
    left: -40px;
}
@media (max-width: 768px) {
.block_text_block_video.flex-layout {
    flex-direction: column;
}
.block_text_block_video{
    padding: 32px 18px;
}
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* Responsive stack */
@media (max-width: 768px) {
    .block_text_block_video{
        border-radius: 0;
    }
  .flex-layout {
    flex-direction: column;
	  gap: 8px;
  }
  .flex-layout.rtl {
    flex-direction: column-reverse;
  }
  .flex-layout .text-content,
  .flex-layout .video-content {
    flex: 1 1 100%;
  }

  .block_text_block_video{
	padding: 24px;
}
.block_text_block_video h2{
  color: var(--color-black-0)
}
  .video-circle {
  width: 240px;
  height: 240px;
}
}

/* Video Embed Block */
.block_video_embed {
  display: flex;
}

.block_video_embed--align-left {
  justify-content: flex-start;
}

.block_video_embed--align-center {
  justify-content: center;
}

.block_video_embed--align-right {
  justify-content: flex-end;
}

.block_video_embed__ratio {
  position: relative;
  width: 100%;
  border-radius: 16px;
  overflow: hidden;
  background-color: #000;
  aspect-ratio: 16 / 9;
}

.block_video_embed__ratio iframe,
.block_video_embed__ratio video,
.block_video_embed__ratio embed,
.block_video_embed__ratio object {
  width: 100%;
  height: 100%;
  display: block;
  border: 0;
}

.block_video_embed--size-small .block_video_embed__ratio {
  max-width: 420px;
}

.block_video_embed--size-medium .block_video_embed__ratio {
  max-width: 640px;
}

.block_video_embed--size-large .block_video_embed__ratio {
  max-width: 860px;
}

.block_video_embed--size-huge .block_video_embed__ratio {
  max-width: 1120px;
}

@media (max-width: 768px) {
  .block_video_embed__ratio {
    max-width: 100% !important;
  }
}

/* Service color gradients for global use */
:root {
  --service-gradient: linear-gradient(270deg, #194E82 0%, #A6366B 50%, #EB9486 100%); /* default gradient */
  --service-gradient-green: linear-gradient(270deg, #16B8E6 0%, #17B890 100%);
  --service-gradient-brown: linear-gradient(270deg, #C39446 0%, #B09E91 100%);
  --service-gradient-navy: linear-gradient(270deg, #194E82 0%, #16B8E6 100%);
  --service-gradient-red: linear-gradient(270deg, #EB9486 0%, #A6366B 100%);
  --service-gradient-orange: linear-gradient(270deg, #EB9486 0%, #F4A148 100%);
  --service-gradient-honey: linear-gradient(270deg, #F5B775 0%, #16B8E6 100%);
  
  /* Color Variables */
  --Black-700: #4E5968;
  
  /* ============================================
     TYPOGRAPHY SCALE - Desktop Sizes
     ============================================ */
  
  /* Small Text Sizes */
  --font-size-xs: 12px;      /* Extra small text - captions, fine print */
  --font-size-sm: 14px;      /* Small text - secondary info */
  --font-size-base: 16px;    /* Base text size - body text, paragraphs */
  --font-size-lg: 18px;      /* Large text - emphasized content */
  --font-size-xl: 20px;      /* Extra large text - subheadings */
  
  /* Medium Text Sizes */
  --font-size-2xl: 22px;     /* 2X large text - subtitles */
  --font-size-3xl: 24px;     /* 3X large text - small headings */
  --font-size-4xl: 26px;     /* 4X large text - medium headings */
  --font-size-5xl: 28px;     /* 5X large text - large headings */
  --font-size-6xl: 32px;     /* 6X large text - block titles */
  
  /* Large Text Sizes */
  --font-size-7xl: 36px;     /* 7X large text - section headings */
  --font-size-8xl: 40px;     /* 8X large text - major headings */
  --font-size-9xl: 48px;     /* 9X large text - page titles */
  --font-size-10xl: 60px;    /* 10X large text - section titles */
  --font-size-11xl: 72px;    /* 11X large text - hero subtitles */
  --font-size-12xl: 92px;    /* 12X large text - hero titles */
  --font-size-13xl: 160px;   /* 13X large text - display text */
  
  /* ============================================
     TYPOGRAPHY SCALE - Mobile Sizes
     ============================================ */
  
  /* Small Text Sizes - Mobile */
  --font-size-mobile-xs: 12px;
  --font-size-mobile-sm: 12px;
  --font-size-mobile-base: 16px;
  --font-size-mobile-lg: 16px;
  --font-size-mobile-xl: 18px;
  
  /* Medium Text Sizes - Mobile */
  --font-size-mobile-2xl: 20px;
  --font-size-mobile-3xl: 22px;
  --font-size-mobile-4xl: 24px;
  --font-size-mobile-5xl: 26px;
  --font-size-mobile-6xl: 28px;
  
  /* Large Text Sizes - Mobile */
  --font-size-mobile-7xl: 32px;
  --font-size-mobile-8xl: 36px;
  --font-size-mobile-9xl: 40px;
  --font-size-mobile-10xl: 48px;
  --font-size-mobile-11xl: 60px;
  --font-size-mobile-12xl: 72px;
  --font-size-mobile-13xl: 96px;
  
  /* ============================================
     SEMANTIC FONT SIZES - Used in code
     ============================================ */
  
  --font-size-body: var(--font-size-base);           /* Body text */
  --font-size-body-mobile: var(--font-size-mobile-base);
}

body.service-color-green {
  --service-gradient: var(--service-gradient-green);
}
body.service-color-brown {
  --service-gradient: var(--service-gradient-brown);
}
body.service-color-navy {
  --service-gradient: var(--service-gradient-navy);
}
body.service-color-red {
  --service-gradient: var(--service-gradient-red);
}
body.service-color-orange {
  --service-gradient: var(--service-gradient-orange);
}
body.service-color-honey {
  --service-gradient: var(--service-gradient-honey);
}

/* Scroll Animation Styles */
.scroll-animate-block {
    /* Ensure smooth animations */
    will-change: transform, opacity;
    /* Prevent layout shifts */
    backface-visibility: hidden;
    /* Ensure proper positioning */
    position: relative;
    /* Ensure proper box model */
    box-sizing: border-box;
    margin: 0;
}

.gform_wrapper.gravity-theme .gfield_validation_message, .gform_wrapper.gravity-theme .validation_message {
    background: transparent !important;
    border: none !important;
    margin-block-start: 4px !important;
    padding: 0 !important;
}
.gform_validation_errors {
    display: none;
}
/* Fallback: Ensure blocks are visible if JS fails */
.scroll-animate-block.no-js {
    opacity: 1 !important;
    transform: translateY(0) !important;
}

/* Optional: Add a subtle transition for any hover effects */
.scroll-animate-block:hover {
    /* Add any hover effects here if needed */
}

/* Optional: Add a class for debugging animations */
.scroll-animate-block.is-animating {
    /* This class is added during animation for debugging purposes */
}

/* Ensure content inside animated blocks is properly positioned */
.scroll-animate-block > * {
    /* Ensure child elements don't interfere with animations */
    position: relative;
}

/* Optional: Add responsive considerations */
@media (prefers-reduced-motion: reduce) {
    .scroll-animate-block {
        /* Disable animations for users who prefer reduced motion */
        animation: none !important;
        transform: none !important;
        opacity: 1 !important;
    }
}
@media(max-width: 768px){
    .scroll-animate-block{
        margin:16px 0;
    }
}

/*--------------------------------------------------------------
# Gutenberg Background Colors Support
--------------------------------------------------------------*/

/* Primary Palette Background Colors */
.has-blue-background-color {
    background-color: #16B8E6 !important;
}

.has-red-background-color {
    background-color: #EB9486 !important;
}

.has-green-background-color {
    background-color: #17B890 !important;
}

.has-light-green-background-color {
    background-color: #9DC5BB !important;
}

.has-bg-background-color {
    background-color: #DEE5E5 !important;
}

.has-navy-background-color {
    background-color: #194E82 !important;
}

.has-purple-background-color {
    background-color: #6759D9 !important;
}

.has-dark-red-background-color {
    background-color: #A6366B !important;
}

/* Black Scale Background Colors */
.has-black-1000-background-color {
    background-color: #194E82 !important;
}

.has-black-800-background-color {
    background-color: #3A4556 !important;
}

.has-black-700-background-color {
    background-color: #4E5968 !important;
}

.has-black-600-background-color {
    background-color: #636E7B !important;
}

.has-black-200-background-color {
    background-color: #C9D3D8 !important;
}

.has-black-100-background-color {
    background-color: #EBF6FA !important;
}

.has-black-0-background-color {
    background-color: #FFFFFF !important;
}

/* Text Colors for contrast when using background colors */
.has-blue-background-color,
.has-navy-background-color,
.has-black-1000-background-color,
.has-black-800-background-color,
.has-black-700-background-color,
.has-black-600-background-color {
    color: #FFFFFF !important;
}

.has-red-background-color,
.has-green-background-color,
.has-light-green-background-color,
.has-purple-background-color,
.has-dark-red-background-color {
    color: #FFFFFF !important;
}

.has-bg-background-color,
.has-black-200-background-color,
.has-black-100-background-color,
.has-black-0-background-color {
    color: #194E82 !important;
}

/* Ensure proper padding for background colored blocks */
.has-blue-background-color,
.has-red-background-color,
.has-green-background-color,
.has-light-green-background-color,
.has-bg-background-color,
.has-navy-background-color,
.has-purple-background-color,
.has-dark-red-background-color,
.has-black-1000-background-color,
.has-black-800-background-color,
.has-black-700-background-color,
.has-black-600-background-color,
.has-black-200-background-color,
.has-black-100-background-color,
.has-black-0-background-color {
    padding: 1rem;
    border-radius: 4px;
}

/* Responsive adjustments for background colors */
@media (max-width: 768px) {
    .has-blue-background-color,
    .has-red-background-color,
    .has-green-background-color,
    .has-light-green-background-color,
    .has-bg-background-color,
    .has-navy-background-color,
    .has-purple-background-color,
    .has-dark-red-background-color,
    .has-black-1000-background-color,
    .has-black-800-background-color,
    .has-black-700-background-color,
    .has-black-600-background-color,
    .has-black-200-background-color,
    .has-black-100-background-color,
    .has-black-0-background-color {
        padding: 0.75rem;
    }
}

/* ============================================
   RESPONSIVE FONT SIZE OVERRIDES
   Mobile: ≤768px - Override desktop sizes with mobile sizes
   ============================================ */
@media (max-width: 768px) {
    :root {
        /* Override all desktop font sizes with mobile equivalents */
        --font-size-xs: var(--font-size-mobile-xs);
        --font-size-sm: var(--font-size-mobile-sm);
        --font-size-base: var(--font-size-mobile-base);
        --font-size-lg: var(--font-size-mobile-lg);
        --font-size-xl: var(--font-size-mobile-xl);
        --font-size-2xl: var(--font-size-mobile-2xl);
        --font-size-3xl: var(--font-size-mobile-3xl);
        --font-size-4xl: var(--font-size-mobile-4xl);
        --font-size-5xl: var(--font-size-mobile-5xl);
        --font-size-6xl: var(--font-size-mobile-6xl);
        --font-size-7xl: var(--font-size-mobile-7xl);
        --font-size-8xl: var(--font-size-mobile-8xl);
        --font-size-9xl: var(--font-size-mobile-9xl);
        --font-size-10xl: var(--font-size-mobile-10xl);
        --font-size-11xl: var(--font-size-mobile-11xl);
        --font-size-12xl: var(--font-size-mobile-12xl);
        --font-size-13xl: var(--font-size-mobile-13xl);
        
        /* Override semantic font sizes for mobile */
        --font-size-body: var(--font-size-body-mobile);
    }
}

/*--------------------------------------------------------------
# Gutenberg Text Colors Support
--------------------------------------------------------------*/

/* Primary Palette Text Colors */
.has-blue-color {
    color: #16B8E6 !important;
}

.has-red-color {
    color: #EB9486 !important;
}

.has-green-color {
    color: #17B890 !important;
}

.has-light-green-color {
    color: #9DC5BB !important;
}

.has-bg-color {
    color: #DEE5E5 !important;
}

.has-navy-color {
    color: #194E82 !important;
}

.has-purple-color {
    color: #6759D9 !important;
}

.has-dark-red-color {
    color: #A6366B !important;
}

/* Black Scale Text Colors */
.has-black-1000-color {
    color: #194E82 !important;
}

.has-black-800-color {
    color: #3A4556 !important;
}

.has-black-700-color {
    color: #4E5968 !important;
}

.has-black-600-color {
    color: #636E7B !important;
}

.has-black-200-color {
    color: #C9D3D8 !important;
}

.has-black-100-color {
    color: #EBF6FA !important;
}

.has-black-0-color {
    color: #FFFFFF !important;
}

/*--------------------------------------------------------------
# Yoast FAQ Block Styles
--------------------------------------------------------------*/

/* Container styling */
.schema-faq.wp-block-yoast-faq-block {
    max-width: 1400px;
    margin: 0 auto;
    padding: 50px 0;
    direction: rtl;
}

/* Individual FAQ section */
.schema-faq-section {
    border: 1px solid #C9D3D8;
    border-radius: 8px;
    margin-bottom: 12px;
    background-color: #FFF;
    overflow: hidden;
    transition: all 0.3s ease;
}

.schema-faq-section:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.04);
}

/* Question styling */
.schema-faq-question {
    display: block;
    width: 100%;
    padding: 16px;
    background: none;
    border: none;
    text-align: right;
    cursor: pointer;
    position: relative;
    color: #194E82;
    font-family: 'Ploni', sans-serif;
    font-size: var(--font-size-2xl);
    font-weight: 400;
    line-height: 28px;
    margin: 0;
    transition: background-color 0.3s ease;
}

.schema-faq-question:hover {
    background-color: #f8f9fa;
}

.schema-faq-question:focus {
    outline: none;
    box-shadow: 0 0 0 3px #16B8E6;
}

/* Add plus icon */
.schema-faq-question::after {
    content: '+';
    position: absolute;
    left: 16px;
    top: 50%;
    transform: translateY(-50%);
    font-size: var(--font-size-3xl);
    font-weight: 300;
    color: #194E82;
    transition: transform 0.3s ease;
}

/* Rotate icon when expanded */
.schema-faq-section.expanded .schema-faq-question::after {
    transform: translateY(-50%) rotate(45deg);
}

/* Answer styling */
.schema-faq-answer {
    max-height: 0;
    opacity: 0;
    visibility: hidden;
    overflow: hidden;
    transition: max-height 0.5s ease, opacity 0.5s ease, visibility 0.5s ease;
    padding: 0 16px;
    margin: 0;
    color: #333;
    font-family: 'Ploni', sans-serif;
    font-size: var(--font-size-2xl);
    font-weight: 400;
    line-height: 28px;
}

.schema-faq-section p{
    margin: 0 !important;
}

/* Show answer when expanded */
.schema-faq-section.expanded .schema-faq-answer {
    max-height: 500px;
    opacity: 1;
    visibility: visible;
    padding: 16px;
}

/* Add extra spacing for sticky header when FAQ is expanded */
.schema-faq-section.expanded {
    scroll-margin-top: 120px; /* Matches the JavaScript offset */
}

/* Mobile responsive for Yoast FAQ */
@media (max-width: 768px) {
    .schema-faq.wp-block-yoast-faq-block {
        padding: 24px 0px;
    }
    
    .schema-faq-question {
        font-size: var(--font-size-body);
        line-height: 120%;
        padding: 16px 16px;
    }
    
    .schema-faq-answer {
        font-size: var(--font-size-body);
        line-height: 120%;
    }
    
    .schema-faq-section.expanded .schema-faq-answer {
        padding: 16px 16px 8px;
    }
    
    /* Smaller offset for mobile sticky header */
    .schema-faq-section.expanded {
        scroll-margin-top: 80px;
    }
}

/* Accessibility improvements for Yoast FAQ */
.schema-faq-question:focus-visible {
    outline: 2px solid #16B8E6;
    outline-offset: 2px;
}

/* Enhanced accessibility for keyboard navigation */
.schema-faq-question.keyboard-focus {
    outline: 3px solid #16B8E6;
    outline-offset: 2px;
    box-shadow: 0 0 0 3px rgba(22, 184, 230, 0.3);
}

.schema-faq-question.focused {
    background-color: #f0f8ff;
}

/* High contrast mode support */
@media (prefers-contrast: high) {
    .schema-faq-question {
        border: 2px solid #000;
    }
    
    .schema-faq-question:focus {
        border-color: #000;
        background-color: #fff;
    }
}

/* Reduced motion support */
@media (prefers-reduced-motion: reduce) {
    .schema-faq-question::after,
    .schema-faq-answer {
        transition: none;
    }
    
    .schema-faq-section {
        transition: none;
    }
}

/* Screen reader only text */
.sr-only {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    padding: 0 !important;
    margin: -1px !important;
    overflow: hidden !important;
    clip: rect(0, 0, 0, 0) !important;
    white-space: nowrap !important;
    border: 0 !important;
}

/* Print styles */
@media print {
    .schema-faq-section {
        break-inside: avoid;
        border: 1px solid #ccc;
        margin-bottom: 1em;
    }
    
    .schema-faq-question {
        background-color: #f5f5f5 !important;
        color: #000 !important;
    }
    
    .schema-faq-answer {
        max-height: none !important;
        opacity: 1 !important;
        visibility: visible !important;
        padding: 0.5em 0 !important;
    }
}

/* No Results Message Styling */
.no-results-message {
    text-align: center;
    color: #666;
    font-size: 18px;
    width: -webkit-fill-available;
}

.no-results-message p {
    margin: 0;
    font-weight: 500;
    line-height: 1.5;
}

/* RTL Support for No Results Message */
[dir="rtl"] .no-results-message {
    text-align: center;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .no-results-message {
        padding: 40px 15px;
        font-size: 16px;
        margin: 20px 0;
    }
}

/* Margin Classes for Blocks */
.margin-top-0 { margin-top: 0px !important; }
.margin-top-5 { margin-top: 5px !important; }
.margin-top-10 { margin-top: 10px !important; }
.margin-top-15 { margin-top: 15px !important; }
.margin-top-20 { margin-top: 20px !important; }
.margin-top-25 { margin-top: 25px !important; }
.margin-top-30 { margin-top: 30px !important; }
.margin-top-35 { margin-top: 35px !important; }
.margin-top-40 { margin-top: 40px !important; }
.margin-top-45 { margin-top: 45px !important; }
.margin-top-50 { margin-top: 50px !important; }
.margin-top-55 { margin-top: 55px !important; }
.margin-top-60 { margin-top: 60px !important; }
.margin-top-65 { margin-top: 65px !important; }
.margin-top-70 { margin-top: 70px !important; }
.margin-top-75 { margin-top: 75px !important; }
.margin-top-80 { margin-top: 80px !important; }
.margin-top-85 { margin-top: 85px !important; }
.margin-top-90 { margin-top: 90px !important; }
.margin-top-95 { margin-top: 95px !important; }
.margin-top-100 { margin-top: 100px !important; }
.margin-top-110 { margin-top: 110px !important; }
.margin-top-120 { margin-top: 120px !important; }
.margin-top-130 { margin-top: 130px !important; }
.margin-top-140 { margin-top: 140px !important; }
.margin-top-150 { margin-top: 150px !important; }
.margin-top-160 { margin-top: 160px !important; }
.margin-top-170 { margin-top: 170px !important; }
.margin-top-180 { margin-top: 180px !important; }
.margin-top-190 { margin-top: 190px !important; }
.margin-top-200 { margin-top: 200px !important; }

.margin-bottom-0 { margin-bottom: 0px !important; }
.margin-bottom-5 { margin-bottom: 5px !important; }
.margin-bottom-10 { margin-bottom: 10px !important; }
.margin-bottom-15 { margin-bottom: 15px !important; }
.margin-bottom-20 { margin-bottom: 20px !important; }
.margin-bottom-25 { margin-bottom: 25px !important; }
.margin-bottom-30 { margin-bottom: 30px !important; }
.margin-bottom-35 { margin-bottom: 35px !important; }
.margin-bottom-40 { margin-bottom: 40px !important; }
.margin-bottom-45 { margin-bottom: 45px !important; }
.margin-bottom-50 { margin-bottom: 50px !important; }
.margin-bottom-55 { margin-bottom: 55px !important; }
.margin-bottom-60 { margin-bottom: 60px !important; }
.margin-bottom-65 { margin-bottom: 65px !important; }
.margin-bottom-70 { margin-bottom: 70px !important; }
.margin-bottom-75 { margin-bottom: 75px !important; }
.margin-bottom-80 { margin-bottom: 80px !important; }
.margin-bottom-85 { margin-bottom: 85px !important; }
.margin-bottom-90 { margin-bottom: 90px !important; }
.margin-bottom-95 { margin-bottom: 95px !important; }
.margin-bottom-100 { margin-bottom: 100px !important; }
.margin-bottom-110 { margin-bottom: 110px !important; }
.margin-bottom-120 { margin-bottom: 120px !important; }
.margin-bottom-130 { margin-bottom: 130px !important; }
.margin-bottom-140 { margin-bottom: 140px !important; }
.margin-bottom-150 { margin-bottom: 150px !important; }
.margin-bottom-160 { margin-bottom: 160px !important; }
.margin-bottom-170 { margin-bottom: 170px !important; }
.margin-bottom-180 { margin-bottom: 180px !important; }
.margin-bottom-190 { margin-bottom: 190px !important; }
.margin-bottom-200 { margin-bottom: 200px !important; }

/* Mobile Responsive - Reduce margins to 1/3 for mobile devices */
@media (max-width: 768px) {
    .margin-top-5 { margin-top: 1.5px !important; }
    .margin-top-10 { margin-top: 3px !important; }
    .margin-top-15 { margin-top: 5px !important; }
    .margin-top-20 { margin-top: 7px !important; }
    .margin-top-25 { margin-top: 8px !important; }
    .margin-top-30 { margin-top: 10px !important; }
    .margin-top-35 { margin-top: 12px !important; }
    .margin-top-40 { margin-top: 13px !important; }
    .margin-top-45 { margin-top: 15px !important; }
    .margin-top-50 { margin-top: 17px !important; }
    .margin-top-55 { margin-top: 18px !important; }
    .margin-top-60 { margin-top: 20px !important; }
    .margin-top-65 { margin-top: 22px !important; }
    .margin-top-70 { margin-top: 23px !important; }
    .margin-top-75 { margin-top: 25px !important; }
    .margin-top-80 { margin-top: 27px !important; }
    .margin-top-85 { margin-top: 28px !important; }
    .margin-top-90 { margin-top: 30px !important; }
    .margin-top-95 { margin-top: 32px !important; }
    .margin-top-100 { margin-top: 33px !important; }
    .margin-top-110 { margin-top: 37px !important; }
    .margin-top-120 { margin-top: 40px !important; }
    .margin-top-130 { margin-top: 43px !important; }
    .margin-top-140 { margin-top: 47px !important; }
    .margin-top-150 { margin-top: 50px !important; }
    .margin-top-160 { margin-top: 53px !important; }
    .margin-top-170 { margin-top: 57px !important; }
    .margin-top-180 { margin-top: 60px !important; }
    .margin-top-190 { margin-top: 63px !important; }
    .margin-top-200 { margin-top: 67px !important; }

    .margin-bottom-5 { margin-bottom: 1.5px !important; }
    .margin-bottom-10 { margin-bottom: 3px !important; }
    .margin-bottom-15 { margin-bottom: 5px !important; }
    .margin-bottom-20 { margin-bottom: 7px !important; }
    .margin-bottom-25 { margin-bottom: 8px !important; }
    .margin-bottom-30 { margin-bottom: 10px !important; }
    .margin-bottom-35 { margin-bottom: 12px !important; }
    .margin-bottom-40 { margin-bottom: 13px !important; }
    .margin-bottom-45 { margin-bottom: 15px !important; }
    .margin-bottom-50 { margin-bottom: 17px !important; }
    .margin-bottom-55 { margin-bottom: 18px !important; }
    .margin-bottom-60 { margin-bottom: 20px !important; }
    .margin-bottom-65 { margin-bottom: 22px !important; }
    .margin-bottom-70 { margin-bottom: 23px !important; }
    .margin-bottom-75 { margin-bottom: 25px !important; }
    .margin-bottom-80 { margin-bottom: 27px !important; }
    .margin-bottom-85 { margin-bottom: 28px !important; }
    .margin-bottom-90 { margin-bottom: 30px !important; }
    .margin-bottom-95 { margin-bottom: 32px !important; }
    .margin-bottom-100 { margin-bottom: 33px !important; }
    .margin-bottom-110 { margin-bottom: 37px !important; }
    .margin-bottom-120 { margin-bottom: 40px !important; }
    .margin-bottom-130 { margin-bottom: 43px !important; }
    .margin-bottom-140 { margin-bottom: 47px !important; }
    .margin-bottom-150 { margin-bottom: 50px !important; }
    .margin-bottom-160 { margin-bottom: 53px !important; }
    .margin-bottom-170 { margin-bottom: 57px !important; }
    .margin-bottom-180 { margin-bottom: 60px !important; }
    .margin-bottom-190 { margin-bottom: 63px !important; }
    .margin-bottom-200 { margin-bottom: 67px !important; }
}