
html {overflow-x: hidden;
  width: 100%;
}

body {
  color: #333333 !important; /* Set default text color */
  margin: 0 0.5rem;
  border-left: 1px solid #c0c0c0;
  border-right: 1px solid #c0c0c0;
  overflow-x: hidden;
  width: 100%;
}

:root,
[data-bs-theme="light"] {
  --bs-link-color-rgb:  rgb(96, 145, 204);
  --bs-link-color:  #6091CC;
  --base-font-size: 4rem;
  --swiper-theme-color:  #16ccbc; /* Cursor style */
  --bs-primary:#16ccbc; /* Cursor style */
  --bs-secondary: #333333;
  --bs-link-hover-color: #6091cc90;
  --bs-btn-bg: #16ccbc; /* Cursor style */
  --bs-btn-border-color: #16ccbc; /* Cursor style */
  --bs-btn-hover-bg:#08A396;
  --bs-btn-hover-border-color:#08A396;

  --bs-font-sans-serif: "Jura Variable", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --bs-body-font-size: 1.1rem; /* Adjust the base font size */
  --bs-body-font-weight: 300; /* Adjust the base font weight */
  --bs-nav-link-font-weight: 500;
}

/* Subtle focus style for accessibility */
* {
  outline: none !important;
}

/* Show inline only on xs screens */
@media (max-width: 575.98px) {
  .d-xs-inline {
    display: inline !important;
  }
}

@media (min-width: 576px) {
  .d-xs-inline {
    display: none !important;
  }
}

/* Show inline below 750px */
@media (max-width: 767.98px) {
  .d-below-750-inline {
    display: inline !important;
  }
}
@media (min-width: 768px) {
  .d-below-750-inline {
    display: none !important;
  }
}

/* Show inline when hamburger menu is showing (below 992px) */
@media (max-width: 991.98px) {
  .d-menu-inline {
    display: inline !important;
  }
}
@media (min-width: 992px) and (max-width: 1199.98px) {
  .d-menu-inline {
    display: none !important;
  }
}


*:focus {
  outline: 0px dashed #ccc!important!; /* Subtle dashed outline */
  outline-offset: 0px!important!;
}

.basic-page a {
  text-decoration: none;
  color: var(--bs-link-color);
  border-bottom: 1px solid var(--bs-link-color);
}

.basic-page a:hover{
  background-color: #ccdbed;
  color: var(--bs-link-color-hover);
}

.cyreal-logo {
  height: 45px;
  padding: 0rem 0 0 0px;
  margin: 0 0 0 0rem;
}

.bg-lighter {
  background-color: #e5e5e5;
}

.font-adjuster {
  margin-top: 2rem;
  height: 4rem;
}
.navbar {
  padding: 1rem 0;
  border-bottom: 1px solid #c0c0c0;
  font-variation-settings: "wght" 400;
}

#search_query {
  border-radius: 0 8px 8px 0;
  border: 1px solid #c9c9c9;
  /* width: 100%; */
}

/* For large desktops (min-width: 1800px) */
@media (min-width: 1800px) {
  .navbar {
    //padding-left: 20px;
    /* Adds padding to the left of the navbar */
    //padding-right: 6rem !important;
    /* Optional: Adds padding to the right if needed */
  }
}

.row {
  padding: 0 auto;
}

.container-fluid {
  max-width: 1400px;
  padding-left: 0.5rem;
  padding-right: 0.5rem;
  --bs-gutter-x: 2rem !important;
}

.container-fluid-100 {
  width: 100%; /* Ensures it spans the entire width */
  padding-left: 0rem;
  padding-right: 0rem;
}

.page {
  min-height: 65vh;
}

.container-flex {
  display: flex;
  flex-direction: column; /* Stack items vertically */
  align-items: center; /* Align items to the center horizontally */
}

.flex-item {
  background-color: lightgray;
  padding-right: 1rem;
}

.content-start {
  padding-top: 2rem;
}

.search-input {
  padding-left: 30px;
  /* Adds space for the icon */
  position: relative;
}

.search-input::before {
  content: "\f002";
  /* Unicode for Font Awesome magnifying-glass */
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  /* Solid icon weight */
  position: absolute;
  left: 10px;
  top: 50%;
  transform: translateY(-50%);
}

.multiline::selection,
.multiline2::selection,
.multiline3::selection {
  background-color: #16ccbc; /* Green background */
  color: #fff; /* White text */
}

#VarFontText {
  font-size: 8vh;
  line-height: 1.2;
  column-count: 1; /* Number of columns */
}

#VarFontTextHero {
  font-size: 4vh;
  line-height: 1.3;
  column-count: 1; /* Number of columns */
}

#multiline,
#multilineItal {
  font-size: 8vh;
  line-height: 1.3;
  column-count: 1; /* Number of columns */
  min-height: 90px;
}
#multiline3 {
  /* Basic font styling */
  font-size: 20vh;
  line-height: 1.01;
  text-rendering: auto;
  min-height: 90px;
}

#multiline3, #multiline2, #multiline3, #multiline4, #multilineItal {
  /* Ensure text wrapping in multiple lines */
  white-space: pre-wrap; /* Preserves line breaks, wraps text */
  word-wrap: break-word; /* Break long words if needed */
  overflow-wrap: break-word; /* For wider browser compatibility */

  /* Limit display to 3 lines, hide overflow */
  max-height: calc(3 * 20vh * 1.2);
  overflow: hidden;

  /* Make sure it's rendered as a block (or inline-block) */
  display: block;
}

#multiline2 {
  font-size: 3vh;
  line-height: 1.3;
  column-count: 2; /* Number of columns */
  column-gap: 1rem; /* Space between the columns */
  min-height: 90px;
}

#multiline4 {
  font-size: 4vh;
  line-height: 1.3;
  column-count: 2; /* Number of columns */
  column-gap: 1rem; /* Space between the columns */
  min-height: 90px;
}

/* Media query for screens less than 740px */
@media (max-width: 940px) {
  #multiline2,
  #multiline4 {
    column-count: 1; /* Switch to one column */
  }
}

#multiline,
.editable {
  -webkit-user-modify: read-write; /* Safari/WebKit-specific property */
  user-select: text; /* Allow selecting text across browsers */
  outline: none; /* Remove default focus outline when editing */
  white-space: pre-wrap; /* Preserve line breaks, wrap text */
  word-wrap: break-word; /* Break long words if needed */
  overflow-wrap: break-word; /* For wider browser compatibility */
}

.dropdown-menu {
  min-width: 400px;
  /* Set your desired width */

  --bs-dropdown-link-hover-color: #757575;
  --bs-dropdown-link-hover-bg: transparent;
}

.dropdown-item {
  color: #333;
}
@media (max-width: 990px) {
  .nav-item.dropdown {
    display: none !important;
  }
}

.form-control {
  border: none;
  --bs-border-radius: 5rem !important;
}

.navbar {
  --bs-navbar-nav-link-padding-x: 1rem !important;
}

.border-bottom {
  border-color: #c7c7c7 !important;
}

.col2 {
  margin: 0 0;
  -webkit-columns: 2 250px;
  -moz-columns: 2 250px;
  columns: 2 250px;
  -webkit-column-gap: 1em;
  -moz-column-gap: 1em;
  column-gap: 1em;
}

/* Optimized CSS for smoother animation and better performance */
.jumbotron .infopanel {
  box-shadow: 0 -3px 6px rgba(0, 0, 0, 0.1);
}

.infopanel {
  border-radius: 20px 20px 0 0; /* Simplified syntax */
}

.jumbotron-outer {
  perspective: 800px; /* Reduced perspective for better performance */
  perspective-origin: bottom center;
}

.jumbotron {
  transform-style: preserve-3d;
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1); /* Optimized easing for smoother animation */
  transform-origin: center center;
}

.jumbotron-outer:hover .jumbotron {
  transform: scale(1.01) rotateX(-3deg); /* Slightly reduced rotation for subtle effect */
}

.jumbotron:hover {
  transform: scale(1) rotateX(0); /* Reset transform on hover */
}

div.card {height: 250px;}

@media (max-width: 767px) {
  div.card {height: 150px;}
}

.card {
  flex: 1 1 20%; /* All items share equal width */
  border: none;
  transition: transform 0.1s ease; /* Adjust duration & easing as desired */
}

.card a {
  border-radius: 5px 5px 5px 5px;
}
/* Hover scale */
.card:hover {
  transform: scale(1.02); /* Increases size by ~5% */
}

.card h1,
h1.hero-animate {
  transition: transform 0.3s ease;
}
dd:hover i {
  color:#16ccbc !important;
}

.swiper {
  
  max-width: 1200px; /* or any other desired width */
  width: 100%;
}

.swiper-slide img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain; /* Ensures the entire image is visible */
}

h1.typewriter,
.typewriter {
  line-height: 1.4;
  white-space: nowrap; /* Keep text on a single line */
  overflow: hidden; /* Hide the text that hasn't been "typed" yet */
  border-right: 5px solid #16ccbc; /* Cursor style */

  /* 
   * Explanation:
   *  typewriter: A 7s cycle
   *    - 0% to 30% = typing
   *    - 30% to 100% = paused (fully typed)
   *  blink: Continues to blink every 600ms
   */
  animation: typewriter 10s steps(33) infinite,
    /* 2.1s typing + ~5s pause = 7s total cycle */ blink 600ms steps(33)
      infinite normal; /* Blink repeats continuously */
}

@keyframes typewriter {
  0% {
    width: 0%; /* Start with 0% width => no text visible */
  }
  30% {
    width: 100%; /* By 30% of the timeline, typed out to 90% width */
  }
  100% {
    width: 100%; /* Remain at 90% width until the animation restarts */
  }
}
@keyframes blink {
  from {
    border-color: #16ccbc;
    /* border-color: transparent; */
  }
  to {
    border-color: transparent;
  }
}

.card-img-overlay {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
}

.card-title {
  font-size: 8vh; /* Make the title very large */
  margin-bottom: 1rem; /* Add space below the title */
}

/* 1) Fix the image height and ensure it covers the area without distortion */
.fixed-img {
  width: 100%;
  height: 250px; /* Adjust as needed (e.g., 200px, 300px) */
  object-fit: cover; /* Crop the image to fill the fixed height */
  object-position: center; /* Center the cropped area */
}

/* 2) Make sure the card itself stretches vertically */
.card.h-100 {
  height: 100%;
}

/* (Optional) If you want the overlay text to appear at the bottom, 
   use .d-flex + align-items-end in card-img-overlay */
.card-img-overlay {
  display: flex;
  align-items: flex-end; /* Push heading to the bottom of the card */
}

.section {
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.section-sm {
  height: 10rem;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.section-50 {
  height: 35vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 10px;
}

.section-1 {
  background-color: #16ccbc;
  color: white;
}
.section-2 {
  background: linear-gradient(to bottom right, #8d3fe0, #16ccbc);
  color: white;
}

.section-3 {
  display: flex;
  background-color: #16ccbc;
  color: white;
}

.section-4 {
  background-color: #64e827;
  color: white;
}

.section-5 {
  background-color: #EFCF4F;
  color: white;
}

.section-gray {
  background-color: #e5e5e5;
  color: black;
}

svg {
  max-width: 70%;
  height: auto;
}

.new-svg-animate {
  stroke-dasharray: 5000; /* Adjusted based on path length */
  stroke-dashoffset: 5000; /* Start hidden */
  animation: draw 3s ease-in-out forwards; /* Duration of 3 seconds */
}

@keyframes draw {
  to {
    stroke-dashoffset: 0; /* Fully draw the stroke */
  }
}

/* SIBLING FADE: fade out siblings around a hovered item */

.sibling-fade {
  visibility: hidden;
}
/* Prevents :hover from triggering in the gaps between items */

.sibling-fade > * {
  visibility: visible;
}
/* Brings the child items back in, even though the parent is `hidden` */

.sibling-fade > * {
  /* transition: opacity 150ms linear 100ms, transform 150ms ease-in-out 100ms; */
}
/* Makes the fades smooth with a slight delay to prevent jumps as the mouse moves between items */

.sibling-fade > * {
  transition: opacity 300ms ease-in 100ms, transform 300ms ease-in-out 100ms;
}

.sibling-fade:hover > * {
  opacity: 0.4;
  transform: scale(0.9);
}
/* Fade out all items when the parent is hovered */

.sibling-fade > *:hover {
  opacity: 1;
  transform: scale(1);
  transition-delay: 0ms, 0ms;
}
/* Fade in the currently hovered item */

.sibling-fade {
  display: flex;
  flex-wrap: wrap;
}

.sibling-fade > * {
  background: white;
  padding: 1em;
  flex: auto;
  margin: 0.3em;
  text-align: center;
  color: #16ccbc;
  font-size: 1.5em;
  text-decoration: none;
}

.table-no-bg {
  padding: 0.5rem 0.5rem;
  background-color: transparent !important;
  border-bottom-width: 1px;
  width: 100%;
  margin-bottom: 1rem;
  border-color: white;
  border-collapse: collapse;
}

/* Target the first pill */
.nav-pills .nav-item:first-child .nav-link {
  border-radius: 10px 0 0 10px; /* Rounded corners on the left */
}

/* Target the last pill */
.nav-pills .nav-item:last-child .nav-link {
  border-radius: 0 10px 10px 0; /* Rounded corners on the right */
}

/* Remove border-radius from middle pills */
.nav-pills .nav-item:not(:first-child):not(:last-child) .nav-link {
  border-radius: 0;
}

/* General styles */
.nav-pills .nav-link {
  background-color: #f1f1f1; /* Gray background */
  color: #16ccbc; /* Default color */
  transition: all 0.3s ease;
}

.nav-pills .nav-link:hover {
  color: #108e83;
}

.nav-pills .nav-link.active {
  color: white;
  background-color: #16ccbc;
}

.section-marko {
  background: linear-gradient(rgba(0, 144, 240, 0.64), rgba(24, 7, 91, 0.83)),
    url(/site/assets/files/1221/slice8.1200x0.jpg);
  background-size: clamp(100%, 130%, 145%);
  background-position: center;
  background-repeat: no-repeat;
  width: 100%;
  height: 35vh;
  transition: background-size 1s cubic-bezier(0.25, 1, 0.5, 1);
}

.section-marko:hover {
  background-size: clamp(110%, 140%, 135%);
}
