/*
Tags: one-column, custom-colors, custom-menu, custom-logo, editor-style, featured-images, full-site-editing, block-patterns, rtl-language-support, sticky-post, threaded-comments, translation-ready, wide-blocks, block-styles, blog, portfolio, news
*/

/* Poppins Regular (400) */
@font-face {
    font-family: 'Poppins';
    font-style: normal;
    font-weight: 400;
    font-display: optional;
    src: url('/wp-content/themes/agencygrove/assets/fonts/poppins/Poppins-Regular.woff2') format('woff2'),
         url('/wp-content/themes/agencygrove/assets/fonts/poppins/Poppins-Regular.woff') format('woff');
}

/* Poppins Medium (500) */
@font-face {
    font-family: 'Poppins';
    font-style: normal;
    font-weight: 500;
    font-display: swap;
    src: url('/wp-content/themes/agencygrove/assets/fonts/poppins/Poppins-Medium.woff2') format('woff2'),
         url('/wp-content/themes/agencygrove/assets/fonts/poppins/Poppins-Medium.woff') format('woff');
}

/* Poppins SemiBold (600) */
@font-face {
    font-family: 'Poppins';
    font-style: normal;
    font-weight: 600;
    font-display: swap;
    src: url('/wp-content/themes/agencygrove/assets/fonts/poppins/Poppins-SemiBold.woff2') format('woff2'),
         url('/wp-content/themes/agencygrove/assets/fonts/poppins/Poppins-SemiBold.woff') format('woff');
}

/* Poppins Bold (700) */
@font-face {
    font-family: 'Poppins';
    font-style: normal;
    font-weight: 700;
    font-display: optional;
    src: url('/wp-content/themes/agencygrove/assets/fonts/poppins/Poppins-Bold.woff2') format('woff2'),
         url('/wp-content/themes/agencygrove/assets/fonts/poppins/Poppins-Bold.woff') format('woff');
}


html {
	line-height: 1.15;
	-webkit-text-size-adjust: 100%;
	font-family: 'Poppins', sans-serif; /* Updated */
}

body {
	margin: 0;
	font-family: 'Poppins', sans-serif; /* Updated */
}

main {
	display: block;
}

hr {
	box-sizing: content-box;
	height: 0;
	overflow: visible;
}

.page-template-full-width .entry-content {
  margin-top: 0;
}

pre, code, kbd, samp {
	font-family: 'Poppins', monospace; /* Updated to Poppins, keeping monospace for code */
	font-size: 1em;
}

abbr[title] {
	border-bottom: none;
	text-decoration: underline;
	text-decoration: underline dotted;
}

b,
strong {
	font-family: 'Poppins', sans-serif; /* Updated */
	font-weight: bolder;
}

small {
	font-family: 'Poppins', sans-serif; /* Updated */
	font-size: 80%;
}

sub,
sup {
	font-family: 'Poppins', sans-serif; /* Updated */
	font-size: 75%;
	line-height: 0;
	position: relative;
	vertical-align: baseline;
}

sub {
	bottom: -0.25em;
}

sup {
	top: -0.5em;
}

img {
	border-style: none;
}

button,
input,
optgroup,
select,
textarea {
	font-family: 'Poppins', sans-serif; /* Updated */
	font-size: 100%;
	line-height: 1.15;
	margin: 0;
}

button,
input {
	overflow: visible;
}

button,
select {
	text-transform: none;
}

.wp-element-button, 
.wp-block-button__link,
a.wp-block-post-excerpt__more-link {
	font-family: 'Poppins', sans-serif; /* Updated */
	transition: all 0.3s;
}

.banner-with-header {
  position: fixed; /* Updated it was relative */
  z-index: 999;
}

.wp-element-button:hover, 
.wp-block-button__link:hover,
a.wp-block-post-excerpt__more-link:hover,
p.agencygrove-scrool-top:hover:before {
  background-color: var(--wp--preset--color--button-hover-color) !important;
  border-color: var(--wp--preset--color--button-hover-color) !important;
}

button::-moz-focus-inner,
[type="button"]::-moz-focus-inner,
[type="reset"]::-moz-focus-inner,
[type="submit"]::-moz-focus-inner {
	border-style: none;
	padding: 0;
}

fieldset {
	padding: 0.35em 0.75em 0.625em;
}

legend {
	box-sizing: border-box;
	color: inherit;
	display: table;
	max-width: 100%;
	padding: 0;
	white-space: normal;
}

progress {
	vertical-align: baseline;
}

textarea {
	overflow: auto;
}

[type="checkbox"],
[type="radio"] {
	box-sizing: border-box;
	padding: 0;
}

[type="number"]::-webkit-inner-spin-button,
[type="number"]::-webkit-outer-spin-button {
	height: auto;
}

[type="search"] {
	-webkit-appearance: textfield;
	outline-offset: -2px;
}

[type="search"]::-webkit-search-decoration {
	-webkit-appearance: none;
}

::-webkit-file-upload-button {
	-webkit-appearance: button;
	font: inherit;
}

details {
	display: block;
}

summary {
	display: list-item;
}

template {
	display: none;
}

[hidden] {
	display: none;
}

footer.wp-block-template-part {
    margin: 0;
}

.orderby {
	padding: 15px;
}

div#sticky-header {
  position: fixed;  /* Make the header fixed */
  top: 0;           /* Stick to the top */
  left: 0;          /* Align to the left */
  width: 100%;      /* Full width */
  z-index: 999;    /* Higher stacking order */
  padding-left: 10px;
  padding-right: 10px;
}
/*   z-index: 9 !important;  */


/* -------------- pagination start----------------*/

.page-numbers {
	background: var(--wp--preset--color--primary);
    margin: 0 5px 5px 0;
    padding: 6px 13px;
    border-radius: 6px;
    font-size: 12px;
    display: inline-block;
    color: var(--wp--preset--color--white);
	font-family: 'Poppins', sans-serif; /* Updated */
}

.page-numbers:hover {
	color: var(--wp--preset--color--white);
}

.page-numbers.dots {
	background-color: transparent;
}

.wp-block-query-pagination {
	gap: 10px;
}

/* -------------- pagination End----------------*/

/* -------------- woocommerce-breadcrumb ----------------*/

.woocommerce .woocommerce-breadcrumb,
.woocommerce .woocommerce-breadcrumb a {
	font-family: 'Poppins', sans-serif; /* Updated */
	color: var(--wp--preset--color--link-color);
}

/* -------------- woocommerce-breadcrumb end----------------*/

/* -------------- header navigation ----------------*/

.wp-block-navigation-item__content {
    padding-bottom: 3px;
    text-decoration: none;
    position: relative;
    overflow: hidden;
	font-family: 'Poppins', sans-serif; /* Updated */
}

.wp-block-navigation-item__content::before {
    margin-top: 0px;
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 100%;
    height: 2px;
    background: var(--wp--preset--color--contrast-2); 
    transition: right 0.3s;
	text-decoration: none;
}

.wp-block-navigation-item__content:hover::before {
    right: 0;
}

.wp-block-navigation-submenu li a:hover::before {
    right: 50%;
}

/* -------------- header navigation  ----------------*/

/* scroll to top */

.agencygrove-scrool-top {
	display: none;
}

.agencygrove-scrool-top::before {
	font-size: 17px;
	padding: 8px 13px;
	cursor: pointer;
	background: var(--wp--preset--color--primary);
	color: var(--wp--preset--color--link-color);
	content: '\f062';
	font-family: 'Poppins'; /* CA UPDATE */
	font-weight: 600;
	position: fixed;
	bottom: 50px;
	right: 30px;
	border-radius: 6px;
}

@media screen and (max-width: 600px) {
  .agencygrove-scrool-top::before {
    font-size: 26px;
    padding: 8px 13px;
    cursor: pointer;
    background: transparent;
    color: var(--wp--preset--color--primary);
	content: '\f062'; 
	font-family: 'Poppins'; /* CA UPDATE */
	font-weight: 600;
	position: fixed;
	bottom: 8px;
	right: 15px;
  }
}

/* scroll to top */

/* dashicon before categories, tag and date start */

.wp-block-archives-list.wp-block-archives li::before,
.wp-block-categories-list.wp-block-categories li::before, .taxonomy-category a::before {
    font-family: 'Poppins'; /* CA UPDATE */
    content: "\f054"; 
    margin-right: 8px;
    font-weight: 600;
    font-size: 14px;
}

.wp-block-archives-list.wp-block-archives li,
.wp-block-categories-list.wp-block-categories li {
	list-style-type: none;
}

.wp-block-archives-list.wp-block-archives,
.wp-block-categories-list.wp-block-categories, .taxonomy-category a {
	padding-left: 10px;
}

.wp-block-tag-cloud a.tag-cloud-link {
	font-family: 'Poppins', sans-serif; /* Updated */
	font-size: 16px!important;
}

.tag-cloud-link::before,
.taxonomy-post_tag a:before {
	font-family: 'Poppins'; /* CA UPDATE */
    content: '\f02b'; 
    font-weight: 600;
    margin-right: 8px; 
}

.tag-cloud-link, .taxonomy-post_tag a {
	font-family: 'Poppins', sans-serif; /* Updated */
	text-decoration: none;
	background: var(--wp--preset--color--primary);
    margin: 0 5px 5px 0;
    padding: 0 10px;
    border-radius: 6px;
    font-size: 12px;
    display: inline-block;
    color: var(--wp--preset--color--white);
}

.products-block-post-template li {
	box-shadow: rgba(100, 100, 111, 0.2) 0px 7px 29px 0px;
}

p.agencygrove-scrool-top {
    position: absolute;
}

.column-has-radius {
	border-radius: 8px;
}

.has-bg-image {
	background: #fff;
    border-radius: 100px;
    height: 100px;
    width: 100px;
    padding: 30px;
	display: flex;
    align-items: center;
    justify-content: center;
}

footer .has-arrow ul {
	padding: 0;
}

footer .has-arrow ul li:before {
    content: "\f345";
    font-family: 'dashicons';
    position: absolute;
    left: 0;
    top: 2px;
	font-size: 12px;
}

footer .has-arrow ul li {
	list-style: none;
	padding-left: 15px;
	position: relative;
}

a.wp-block-post-excerpt__more-link {
    background: var(--wp--preset--color--primary);
    color: #fff;
    text-decoration: none;
    font-size: 12px;
    padding: 8px 20px;
    border-radius: 6px;
	position: relative;
	font-family: 'Poppins', sans-serif; /* Updated */
}

.wc-block-components-product-sale-badge.wc-block-components-product-sale-badge--align-right.wc-block-grid__product-onsale {
    background: #cf0000;
    border: none;
    color: #fff;
    font-size: 12px;
	font-family: 'Poppins', sans-serif; /* Updated */
}

@media (max-width: 720px) {
	.no-border-mobile,
	.no-border-mobile .wp-block-column {
		border: none !important;
	}
}

/* ----------------- Apply Poppins to headings and other text ----------------- */

/* Regular text (500) */
body, p, a, span, li {
    font-family: 'Poppins', sans-serif;
    font-weight: 500;  /* Regular */
}

/* Bold text (600) */
h1, h2, h3, strong {
    font-family: 'Poppins', sans-serif;
    font-weight: 600;  /* SemiBold */
}

/* SemiBold text (600) */
h4, h5, h6 {
    font-family: 'Poppins', sans-serif;
    font-weight: 600;  /* SemiBold */
}

/* blog page style */

.wp-block-post-author__name::before {
    font-family: 'Poppins'; /* CA UPDATE */
    font-weight: 600;
    content: "\f007";
	padding-right: 8px;
  }

  .wp-block-post-date time::before {
    font-family: 'Poppins'; /* CA UPDATE */
    font-weight: 600;
    content: "\f073";
	padding-right: 8px;
  }

  .wp-block-read-more-is-layout-flow::after {
    font-family: 'Poppins'; /* CA UPDATE */
    font-weight: 600;
    content: "\f061";
	padding-left: 8px;
  }
  .wp-block-read-more-is-layout-flow:hover::after {
	padding-left: 10px;
	transition: color 0.10s ease;
  }

  a.wp-block-post-author-name__link:before {
    font-family: 'Poppins'; /* CA UPDATE */
    font-weight: 600;
    content: "\f007";
    padding-right: 8px;
}
  
/* blog page style */

.sidebar a{
	text-decoration: none;
}


.newsletter-form input {
    height: 45px;
    line-height: 1;
}

.newsletter-form form.wpcf7-form.init {
    max-width: 480px;
    margin: 30px auto 0;
    text-align: center;
}

.newsletter-form input.wpcf7-form-control.wpcf7-email {
    border: 1px solid #c3c3c3;
    border-radius: 6px 0 0 6px;
	 padding: 0 15px;
	max-width: 250px;
}

.newsletter-form input.wpcf7-form-control.wpcf7-submit{
    background: var(--wp--preset--color--primary);
    color: #fff;
    padding: 0 30px;
    border: 1px solid var(--wp--preset--color--primary);
    border-radius: 0 6px 6px 0;
    height: 47px;
    width: 150px;
}

/* agency grove custom style */

.banner-with-header {
  position: relative;
  z-index: 11;
}

.small-icon {
  height: 70px;
  width: 70px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 !important;
  border-radius: 8px;
  margin: auto;
}

.banner-with-header .is-sticky div#sticky-header {
  background: #00000078;
  left: 0;
  z-index: 999;
  padding-left: 10px;
  padding-right: 10px;
}

.testimonials figure {
flex: 0 0 70px !important;
margin: 0;
}

mark.has-inline-color {
  background: transparent;
  }
  
  .banner-slider .eb-slider-content.align-center {
      margin: auto;
      max-width: 820px;
      left: 0;
      right: 0;
      background: none !important;
  }
  
  
  .banner-slider .eb-slider-item:after {
      content: "";
      position: absolute;
      height: 100%;
      width: 100%;
      background: #000;
      left: 0;
      top: 0;
      opacity: .7;
  }
  
  .banner-slider .eb-slider-item  .eb-slider-content {
  
  position: relative;
  z-index: 9;
  }
  
  .block-editor-block-list__block.wow {
      visibility: visible !important;
  }
  
  .wp-block-cover {
      z-index: 1;
  }
  
  
  header figure {
  line-height: 1;
  }
  
  footer input.wpcf7-form-control.wpcf7-email {
      width: 215px;
  }

footer figure {
line-height: 1;
}


footer input.wpcf7-form-control.wpcf7-submit.has-spinner {
  height: 45px;
  padding: 0 30px;
  border: none;
  border-radius: 6px;
  background: var(--wp--preset--color--primary);
  color: #fff;
}

footer input.wpcf7-form-control.wpcf7-email {
  height: 45px;
  border-radius: 6px;
  margin-bottom: 10px;
  border: 1px solid #eee;
padding: 0 15px;
}

footer hr.wp-block-separator {
  width: 80px !important;
  margin: 0 0 40px !important;
}

/* Adjust the global padding/margin for wp-block-group */
/* Default styles for larger screens */
.wp-block-group,
.has-global-padding {
    padding-left: 7.5%;
    padding-right: 7.5%;
    max-width: 100%;
    box-sizing: border-box;
    margin: 0 auto;
}

@media (max-width: 768px) {
    .wp-block-group,
    .has-global-padding {
        padding-left: 5%;  /* Reduce the padding on smaller screens */
        padding-right: 5%;
    }
}

@media (max-width: 480px) {
    .wp-block-group,
    .has-global-padding {
        padding-left: 2.5%;  /* Minimal padding for very small screens */
        padding-right: 2.5%;
    }
}

/* Styling for the floating language switcher */
/* Floating Language Switcher Container */
.custom-language-switcher {
    position: absolute; /* Positions the switcher in the header */
    top: 10px;
    right: 5px;
    z-index: 99999; /* Ensures the switcher appears on top */
    padding: 5px;
    border-radius: 5px;
    background-color: transparent; /* Ensure no background conflicts */
}

/* Dropdown styling */
.custom-language-switcher select {
    background-color: #00273F; /* Dark background for dropdown */
    color: white; /* Text color for the dropdown */
    border: none; /* Removes any borders */
    padding: 5px;
	justify-content: center;/* Centers horizontally */
    align-items: center;
    font-size: 12px; /* Adjust font size */
    border-radius: 5px; /* Rounded corners for the dropdown */
    cursor: pointer; /* Changes cursor to pointer */
    appearance: none; /* Removes default dropdown styles */
    -webkit-appearance: none; /* For Webkit browsers */
    -moz-appearance: none; /* For Mozilla browsers */
}

/* Hover state for dropdown */
.custom-language-switcher select:hover {
    background-color: #D0FF00; /* Bright yellow on hover */
    color: black; /* Black text on hover */
}

/* Flags styling inside the dropdown */
.custom-language-switcher img {
    width: 20px;
    height: 20px;
    margin-right: 8px; /* Space between flag and text */
    vertical-align: middle; /* Aligns flags with text */
    display: inline-block; /* Ensures flags are inline */
}

/* Dropdown option styling */
.custom-language-switcher select option {
    padding: 10px;
    background-color: #fff; /* White background for options */
    color: black; /* Black text color */
}

/* Hover state for options */
.custom-language-switcher select option:hover {
    background-color: #00273f;
    color: #D6DDED; 
}