@tailwind base;
@tailwind components;
@tailwind utilities;

@import url("https://fonts.googleapis.com/css2?family=Lato:ital,wght@0,100;0,300;0,400;0,700;0,900;1,100;1,300;1,400;1,700;1,900&family=Roboto:ital,wght@0,100..900;1,100..900&display=swap");

@import "daisyui";
body {
  font-size: 1.1rem;
  line-height: 1.6rem;
}
p {
  font-size: 1.1rem;
  line-height: 1.6rem;
}
body,
h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: "Lato", sans-serif;
}

iframe {
  display: inline-block !important;
}

.grid-styles h2 {
  color: #00adf9;
  font-size: 2.2rem;
  font-weight: 700;
  line-height: 2rem;
  margin-bottom: 1rem;
}
.grid-styles .bg-white ul {
}
.grid-styles .bg-white ul li {
  color: #00adf9;
}

.wp-block-columns {
  margin-bottom: 0px;
}

.grid-styles ul {
  list-style: none; /* Remove default bullets */
  margin-bottom: 1rem;
}

.grid-styles ul li {
  position: relative;
  padding-left: 2rem; /* Space for the custom bullet */
  margin-bottom: 0.5rem;
}

.grid-styles ul li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.35em;
  width: 1em;
  height: 1em;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='34.48' height='33.417' viewBox='0 0 34.48 33.417'><g transform='translate(0 13.152) rotate(-30)'><path d='M.39,16.242C3.2,11.376,5.986,6.594,8.8,1.711,9.593.352,10.155-.026,12.056,0h3A2.406,2.406,0,0,1,17.3,1.321q4.31,7.461,8.617,14.922a2.419,2.419,0,0,1,.02,2.6c-.5.865-1,1.73-1.5,2.594C23.51,23.1,22.9,23.4,21.326,23.4H4.978c-1.57,0-2.184-.3-3.109-1.961-.5-.865-1-1.73-1.5-2.594A2.419,2.419,0,0,1,.39,16.242Z' fill='%2300adf9'/></g></svg>");
  background-repeat: no-repeat;
  background-size: contain;
}

wp-block-embed__wrapper iframe {
  width: 80% !important;
  max-width: 80% !important;
  height: auto !important;
  display: block;
  margin: 0 auto;
}

@media (max-width: 768px) {
  .wp-block-embed__wrapper iframe {
    width: 100% !important;
    max-width: 100% !important;
    height: auto !important;
  }
}
.choices__list--multiple .choices__item {
  background-color: #ededed !important;
}
/* Override Choices.js remove button for multiple select */
.choices[data-type*="select-multiple"] .choices__button,
.choices[data-type*="text"] .choices__button {
  position: relative;
  display: inline-block;
  margin: 0 -4px 0 8px;
  padding-left: 16px;
  border-left: 1px solid #ccc; /* lighter gray instead of dark blue */
  background-image: url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMjEiIGhlaWdodD0iMjEiIHZpZXdCb3g9IjAgMCAyMSAyMSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj48ZyBmaWxsPSIjNjY2IiBmaWxsLXJ1bGU9ImV2ZW5vZGQiPjxwYXRoIGQ9Ik0yLjU5Mi4wNDRsMTguMzY0IDE4LjM2NC0yLjU0OCAyLjU0OEwuMDQ0IDIuNTkyeiIvPjxwYXRoIGQ9Ik0wIDE4LjM2NEwxOC4zNjQgMGwyLjU0OCAyLjU0OEwyLjU0OCAyMC45MTJ6Ii8+PC9nPjwvc3ZnPg==);
  background-size: 8px;
  width: 8px;
  line-height: 1;
  opacity: 0.75;
  border-radius: 0;
  background-repeat: no-repeat;
  background-position: center;
}

.choices[data-type*="select-multiple"] .choices__button:hover,
.choices[data-type*="text"] .choices__button:hover {
  opacity: 1;
  border-left-color: #999;
}

nav li {
  background-color: transparent !important;
}
.dropdown li a {
  line-height: 1.2rem;
}
.bg-white .wp-block-list {
  color: #00adf9;
  margin-top: 20px;
  list-style: disc;
  list-style-position: outside;
  font-weight: bold;
  margin-left: 20px;
  @apply text-lg lg:text-xl;
  margin-bottom: 30px;
}

.bg-white .wp-block-list li {
  margin-top: 20px;
}

.wp-block-embed.aligncenter {
  text-align: center;
}

.wp-block-embed.aligncenter iframe {
  display: inline-block;
}

a {
  color: #00adf9 !important;
}

a.btn-secondary {
  color: #fff !important;
}
a.bg-secondary {
  color: #fff !important;
}

a:hover {
  text-decoration: underline !important;
}

header a {
  color: #fff !important;
}

header .weglot_switcher a {
  color: #00adf9 !important;
}
.weglot_switcher {
  z-index: 9999;
  position: relative;
}

a:hover {
  text-decoration: underline !important;
}

.footer-bg a {
  color: #fff !important;
}

.breadcrumb a {
  color: #fff !important;
  -webkit-text-fill-color: #fff; /* Fix for iOS Safari */
}

a:hover {
  text-decoration: underline !important;
}

.btn-secondary {
  color: #fff !important;
}

.btn-secondary:hover {
  color: #00adf9 !important;
}

section {
  padding-left: 1rem;
  padding-right: 1rem;
}

.wp-block-media-text__media img,
.wp-block-media-text__media video {
  border-radius: 1rem;
}

.grid-styles img {
  border-radius: 1rem;
}
.tns-item img {
  border-radius: 0;
}

iframe {
  border-radius: 1rem;
}

.tns-outer {
  border-radius: 1rem;
  overflow: hidden;
}

.tns-inner {
  border-radius: 1rem;
  overflow: hidden;
}

.btn-secondary {
  @apply text-white !bg-secondary text-base xl:text-lg uppercase inline-block font-normal py-2 px-3 lg:px-6 rounded-full hover:!bg-white hover:text-primary transition-all duration-200 ease-in-out shadow;
}

.btn-white {
  @apply text-primary bg-white uppercase inline-block text-base lg:text-lg font-normal py-2 px-3 lg:px-6 rounded-full hover:bg-primary hover:text-white transition-all duration-200 ease-in-out shadow;
}

.btn-primary {
  @apply text-white bg-primary uppercase inline-block text-base lg:text-lg font-normal py-2 px-3 lg:px-6 rounded-full hover:bg-secondary hover:text-white transition-all duration-200 ease-in-out shadow;
}

.table-auto {
  font-size: 1rem;
}

header nav a {
  text-transform: uppercase !important;
  font-size: 1rem !important;
}

.clientsSlider .item {
  padding-left: 20px !important;
  padding-right: 20px !important;
}

.machinesbg {
  background-image: url("/wp-content/themes/eagle-daisy/img/svg/part-secontary-right.svg");
  background-position: left 3rem center;
  background-repeat: no-repeat;
  background-size: auto 80%; /* scale to 50% height */
}

.banner-post {
  /* background-image: url(/wp-content/themes/eagle-daisy/img/svg/part-secontary-right.svg); */
  background-position: right 3rem center;
  background-repeat: no-repeat;
}

.responsive-video {
  position: relative;
  width: 100%;
  padding-bottom: 56.25%;
  /* Aspect ratio: 16:9 */
  height: 0;
  overflow: hidden;
}

.responsive-video iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
  margin-bottom: 0 !important;
  margin-top: 0 !important;
}

.footer-bg {
  background-size: 30%;
  color: white;
}

.menu-item summary {
  text-transform: uppercase;
  font-size: 1rem;
}
.menu-item {
  list-style: none;
  display: list-item;
  text-transform: uppercase;
  border-bottom: solid 1px rgba(255, 255, 255, 0.1);
}

.footer .menu-item {
  border-bottom: none;
  padding-top: 3px;
  padding-bottom: 3px;
}

details[open] > summary {
  border-bottom: solid 1px rgba(255, 255, 255, 0.6);
  border-radius: 0;
}
.sub-list summary {
  padding-left: 15px;
}
.sub-list a {
  padding-left: 30px;
  font-size: 0.9rem !important;
}

.slider-dontoverflow .tns-ovh {
  overflow: hidden !important;
}

.bg-part-secontary-right {
  background-image: url(/wp-content/themes/eagle-daisy/img/svg/part-secontary-right.svg);
  background-position: right center;
  background-repeat: no-repeat;
}

ul.list-parts li {
  background-image: url(/wp-content/themes/eagle-daisy/img/svg/part-bullet.svg);
  padding-left: 40px;
  background-position: left center;
  background-repeat: no-repeat;
  font-size: 1rem;
}
/*Type Exended to work with WISWIG and avoid typing classes manually by conent editors*/

.bg-primary p,
.bg-primary h1,
.bg-primary h2,
.bg-primary h3,
.bg-primary h4,
.bg-primary h5 {
  color: white;
}

.gradientbg p,
.gradientbg h1,
.gradientbg h2,
.gradientbg h3,
.gradientbg h4,
.gradientbg h5 {
  color: white;
}

.bg-white p,
.bg-white h1,
.bg-white h2,
.bg-white h3,
.bg-white h4,
.bg-white h5 {
  color: rgb(0, 31, 70);
}

.bg-white .bg-primary p,
.bg-white .bg-primary h1,
.bg-white .bg-primary h2,
.bg-white .bg-primary h3,
.bg-white .bg-primary h4,
.bg-white .bg-primary h5 {
  color: white;
}

.bg-white .bg-secondary p,
.bg-white .bg-secondary h1,
.bg-white .bg-secondary h2,
.bg-white .bg-secondary h3,
.bg-white .bg-secondary h4,
.bg-white .bg-secondary h5 {
  color: white;
}

.bg-white .gradientbg p,
.bg-white .gradientbg h1,
.bg-white .gradientbg h2,
.bg-white .gradientbg h3,
.bg-white .gradientbg h4,
.bg-white .gradientbg h5 {
  color: white;
}

/* Small devices (phones, 641px to 768px) */
@media only screen and (min-width: 640px) and (max-width: 767px) {
}

@media only screen and (max-width: 1023px) {
  .grid-styles h2 {
    font-size: 1.4rem !important;
  }

  body {
    font-size: 1rem;
    line-height: 1.5rem;
  }
  p {
    font-size: 1rem;
    line-height: 1.5rem;
  }

  .footerBG {
    background-position: top center;
    background-repeat: no-repeat;
    background-size: 145%;
  }
}

/* Medium devices (tablets, 769px to 1024px) */
@media only screen and (min-width: 768px) and (max-width: 1023px) {
}

/* Large devices (desktops, 1025px to 1280px) */
@media only screen and (min-width: 1024px) and (max-width: 1279px) {
  nav a {
    text-transform: uppercase !important;
    font-size: 0.8rem !important;
  }
}

/* Extra large devices (large desktops, 1281px to 1536px) */
@media only screen and (min-width: 1280px) {
}

.gradientbg {
  background: linear-gradient(
    160deg,
    rgba(2, 26, 58, 1) 0%,
    rgba(3, 31, 70, 1) 10%,
    rgba(0, 24, 47, 1) 69%,
    rgba(0, 4, 8, 1) 100%
  );
  background-size: 100% 100%;
}

.gradientBgTransparent {
  background: rgb(0, 31, 70);
  background: linear-gradient(
    160deg,
    rgba(2, 26, 58, 1) 0%,
    rgba(0, 24, 47, 0.9) 69%,
    rgba(0, 4, 8, 0.9) 100%
  );
}

.showNav {
  display: block !important;
  z-index: 0;
}

@media only screen and (min-width: 1024px) {
  .showNav {
    background: linear-gradient(
      160deg,
      rgba(3, 28, 62, 1) 0%,
      rgba(3, 30, 68, 1) 100%,
      rgba(0, 4, 8, 1) 100%
    );
  }
}

.tns-outer {
  position: relative;
}

.tns-controls {
  text-align: center;
  margin: 10px 0;
}

.menu-item button {
  font-size: 1rem !important;
  padding: 1rem 0;
  text-transform: uppercase !important;
}
.menu-item a {
  font-size: 1rem !important;
  padding: 1rem 0;
  text-transform: uppercase !important;
}
.rotate-180 {
  transform: rotate(180deg);
}

#mobile-menu .menu-item .accordion-content .menu-item button {
  padding-left: 20px !important;
  text-transform: uppercase !important;
}

#mobile-menu .menu-item .accordion-content .menu-item a {
  padding-left: 20px !important;
  text-transform: uppercase !important;
}
#mobile-menu .accordion-content .accordion-content .menu-item {
  border-bottom: none !important;
}
#mobile-menu .accordion-content .accordion-content .menu-item a {
  font-size: 0.87rem !important;
  padding: 0.4rem 0 0.4rem 40px !important;
  text-transform: uppercase !important;
}
#mobile-menu .accordion-content .accordion-content .menu-item button {
  font-size: 0.87rem !important;
  padding: 0.4rem 0 0.4rem 40px !important;
  text-transform: uppercase !important;
}

.tns-controls [data-controls="next"] {
  width: 40px;
  height: 40px;
  background-image: url(/wp-content/themes/eagle-daisy/img/svg/arrow-white.svg);
  background-size: 10px;
  opacity: 0.6;
  background-repeat: no-repeat;
  background-position: center;
  background-color: #00adf9;
  border-radius: 100%;
  margin: 10px;
  /* background-color: rgb(0, 173, 249, .2); */
}

.tns-controls [data-controls="next"]:hover {
  /* background-color: rgb(0, 173, 249, .2); */
  opacity: 1;
}

.preloader {
  z-index: 9999 !important;
}

.tns-controls [data-controls="prev"] {
  width: 40px;
  height: 40px;
  background-image: url(/wp-content/themes/eagle-daisy/img/svg/arrow-white.svg);
  background-size: 10px;
  opacity: 0.6;
  background-repeat: no-repeat;
  background-position: center;
  background-color: #00adf9;
  border-radius: 100%;
  margin: 10px;
  /* background-color: rgb(0, 173, 249, .2); */
  transform: rotate(180deg);
}

.tns-controls [data-controls="prev"]:hover {
  /* background-color: rgb(0, 173, 249, .2); */
  opacity: 1;
}

.caseStudiesSliderWrapper .tns-controls [data-controls="next"] {
  right: 0px;
}

.caseStudiesSlider p {
  color: white;
}

.caseStudiesSliderWrapper .tns-controls [data-controls="prev"] {
  left: 0px;
}

.caseStudiesSliderWrapper .tns-controls {
  height: 0;
}

.caseStudiesSliderWrapper .item img {
  filter: grayscale(100%);
  transition: filter 0.5s ease;
}

.caseStudiesSliderWrapper .item:hover img {
  filter: grayscale(0%);
  transition: filter 0.5s ease;
}

.selectButton {
  color: white;
}

.selectButton .whitePart {
  display: inline-block;
}
.selectButton .bluePart {
  display: none;
}

.selectButton.selected .whitePart {
  display: none;
}
.selectButton.selected .bluePart {
  display: inline-block;
}

.selectButton.selected {
  background-color: white;
  color: rgb(0 173 249/ 1);
}

.typeText::after {
  content: "|";
  animation: blink 1s step-end infinite;
}

@keyframes blink {
  0%,
  100% {
    opacity: 1;
  }
  50% {
    opacity: 0;
  }
}

#customize-thumbnails-css-mw .tns-item.tns-nav-active .innerShadow {
  -webkit-box-shadow: 0px 0px 13px -6px rgba(255, 255, 255, 1);
  -moz-box-shadow: 0px 0px 13px -6px rgba(255, 255, 255, 1);
  box-shadow: 0px 0px 13px -6px rgba(255, 255, 255, 1);
}

.techSlideControler .text-center .innerShadow {
  border: solid 2px rgba(0, 0, 0, 0.5);
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
}

.techSlideControler.tns-nav-active .text-center .innerShadow {
  border: solid 2px rgba(0, 149, 218, 0.5);
  box-shadow: 0 0 10px rgba(0, 149, 218, 0.5);
}

.sub-item {
  opacity: 0;
}

.hs-accordion-group .sub-item {
  opacity: 0;
  transition: opacity 0.5s ease; /* Transition for smooth opacity change */
}
.showNav .sub-item {
  opacity: 1;
}
.showNav .hs-accordion-group .sub-item {
  opacity: 0;
  animation: fadeIn 0.5s ease forwards;
}

#searchSuggest li {
  padding: 0.5rem 0.75rem;
  cursor: pointer;
  color: #00adf9;
}
#searchSuggest li:hover,
#searchSuggest li.is-active {
  background: #f3f4f6;
  color: #000;
}
#searchSuggest .match {
  font-weight: 700;
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

/* Delay each sub-item */
.showNav .hs-accordion-group .sub-item:nth-child(1) {
  animation-delay: 0.1s; /* Adjust the delay for each item */
}
.showNav .hs-accordion-group .sub-item:nth-child(2) {
  animation-delay: 0.2s;
}
.showNav .hs-accordion-group .sub-item:nth-child(3) {
  animation-delay: 0.3s;
}
.showNav .hs-accordion-group .sub-item:nth-child(4) {
  animation-delay: 0.4s;
}

.showNav .hs-accordion-group .sub-item:nth-child(5) {
  animation-delay: 0.5s;
}
.showNav .hs-accordion-group .sub-item:nth-child(6) {
  animation-delay: 0.6s;
}

.story-card {
  position: relative;
  cursor: pointer;
  transition: box-shadow 0.3s ease;
}

.story-card:hover {
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
}

.story-card a.absolute {
  /* invisible overlay link */
  display: block;
  width: 100%;
  height: 100%;
  text-indent: -9999px;
}

.story-card .read-more-btn {
  margin-top: auto;
}

.wp-block-media-text {
  padding-top: 40px;
  padding-bottom: 40px;
}

section .wp-block-media-text {
  padding-top: 0px;
  padding-bottom: 0px;
}

.wp-block-media-text__media {
  margin-bottom: 20px !important;
}

.wp-block-columns {
  padding-top: 40px;
  padding-bottom: 40px;
}

.wp-block-heading {
  padding-top: 40px;
}
.bg-white .bg-secondary h2 {
  color: white;
}

.wp-block-columns {
  justify-content: center; /* centers flex children horizontally */
  align-items: center; /* centers flex children vertically (optional) */
}
