@import url('https://fonts.googleapis.com/css2?family=Orbitron:wght@400..900&display=swap&family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&display=swap');

@font-face {
    font-family: 'Hypatia';
    font-style: normal;
    font-weight: normal;
    font-display: auto;
    src: url('https://wu.tofalvi.com/wp-content/uploads/2024/11/HypatiaSansPro-Regular.eot');
    src: url('https://wu.tofalvi.com/wp-content/uploads/2024/11/HypatiaSansPro-Regular.eot?#iefix') format('embedded-opentype'), url('https://wu.tofalvi.com/wp-content/uploads/2024/11/HypatiaSansPro-Regular.woff2') format('woff2'), url('https://wu.tofalvi.com/wp-content/uploads/2024/11/HypatiaSansPro-Regular.woff') format('woff'), url('https://wu.tofalvi.com/wp-content/uploads/2024/11/HypatiaSansPro-Regular.ttf') format('truetype');
}



:root {
  --red: #ff1515;
  --red-dark: #af1e2d;
  --base-ff: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, 
                 "Noto Sans", "Liberation Sans", sans-serif, "Ubuntu", Cantarell, "Droid Sans", 
                 "Helvetica", sans-serif;
  --rounded: 10px;
}

body {
    overflow-x: hidden;
    padding: 0;
    margin: 2% 2% 2% 13%;
}

@media (max-width: 1300px) {
  body {
      margin: 0% 0% 0% 11.5%;
  }
}

@media (max-width: 1024px) {
  body {
      margin: 0%;
  }
}

/* Apply custom scrollbar styles */
::-webkit-scrollbar {
  width: 10px; 
  height: 10px; 
}

::-webkit-scrollbar-track {
  background-color: #191919; 
}

::-webkit-scrollbar-thumb {
  background-color: var(--red-dark); 
  border-radius: 10px; 
  border: 1px solid var(--red-dark); 
}

::-webkit-scrollbar-thumb:hover {
  background-color: darken(var(--red), 10%); 
}

::-webkit-scrollbar-button {
  display: none; 
}





/* Style for text selection */
::selection {
  background-color: var(--red-dark); 
  color: white; 
}


/*  */

.grad-txt {
    color: transparent;
    background-image: linear-gradient(98.24deg, var(--red-dark) .01%, var(--red)) ;
    -webkit-background-clip: text;
  background-clip: text;
}

.grad-txt span {
  font-family: 'Hypatia', var(--base-ff); 
  border: 1px solid var(--red-dark);
  padding: 5px 15px;
  border-radius: var(--rounded);
  font-size: 16px;
  color: transparent;
    background-image: linear-gradient(98.24deg, var(--red-dark) .01%, var(--red)) ;
    -webkit-background-clip: text;
  background-clip: text; 
  backdrop-filter: blur(10px);
}

.grad-txt span:before {
    content: '';
    display: inline-block;
    width: 100%;
    background: #af202f20;
    position: absolute;
    left: 0;
    bottom: 0;
    top: 0;
    z-index: -1;
    border-radius: 10px;
    
}

.faded-red-bg span {
    background: #ff15151c;
}

p a {
    color: var(--red);
    text-decoration: underline !important;
    text-shadow: 0px 0px 12px #dd5353;
}

p, a, li, label {
    margin: 0;
    padding: 0;
    font-size: clamp(1.125rem, 1.036rem + 0.238vw, 1.25rem);
    font-weight: 400;
    font-family: var(--base-ff);
    word-spacing: 4px;
    letter-spacing: 1.4px;
    line-height: 1.9em;
}

/*WP UL FIX*/

ul {
 padding: 0 18px;
}

ul {
  list-style: none; 
  padding: 0; 
}

ul li {
  position: relative; 
  padding-left: 20px; 
  margin-bottom: 10px; 
}

ul li::before {
  content: ''; 
  position: absolute;
  top: 50%;
  left: 0;
  transform: translateY(-50%);
  width: 12px; 
  height: 12px; 
  background-color: var(--red-dark); 
  border-radius: 50%; 
  transition: background-color 0.8s ease; 
}

ul li:hover::before {
  background-color: var(--red); 
}


/*HEADINGS AND PARAGRAPHS*/

h1, h2, h3, h4, h5, h6 {
     font-family: "Orbitron", serif, var(--base-ff);
     font-optical-sizing: auto;
     font-style: normal;
     line-height: 1.2em !important;
     font-weight: 800;
     letter-spacing: 1.2px;
}

@media only screen and (max-width: 600px) {
	h4, h5, h6 {
		line-height: 1.8em !important;
	}
}

h1 {
    font-size: clamp(2.75rem, 0.536rem + 4.405vw, 4.5rem);
}

h2 {
    font-size: clamp(1.875rem, 1.25rem + 1.667vw, 2.75rem);
}

h3 {
    font-size: clamp(1.313rem, 0.821rem + 1.31vw, 2rem);
}

h4, h5, h6 {
    font-size: clamp(0.875rem, 0.563rem + 0.833vw, 1.313rem);
}

.elementor img {
    border-radius: var(--rounded) !important;
}

.elementor-button,
.wu-btn {
  display: inline-flex !important; 
  margin-top: 1rem !important; 
  align-items: center !important; 
  gap: 0.5rem !important; 
  border-radius: var(--rounded) !important; 
  padding: 0.75rem 1rem !important; 
  font-weight: 600 !important; 
  font-size: clamp(1.012rem, 0.923rem + 0.238vw, 1.137rem) !important;
  cursor: pointer !important;
}

.elementor-button:focus-visible {
  outline: 2px solid var(--red-dark); 
  outline-offset: 2px;
}

.elementor-button-content-wrapper {
    align-items: center;
}

.fa, .fab, .fad, .fal, .far, .fas {
    font-size: 25px;
}

/*FIXED MENUS*/

/*LEFT MENU*/

#left-navbar {
    position: fixed;
    z-index: 999;
    width: 10vw; 
    min-width: 150px; 
    max-width: 250px;  
    padding: 15px;
    
    left: 0;
    top: 2vh;
    bottom: auto;
    min-height: 96vh;
    border-radius: 0 10px 10px 0;
    
    border-top: 1px;
    border-bottom: 1px;
    border-left: 0;
    border-right: 1px;
    border-style: solid;
}

#new-item {
    background: #AF202F;
    color: white;
    font-size: 8px;
    display: inline-block;
    padding: 0px 10px;
    margin-top: -17px;
    margin-left: 5px;
    border-radius: 35px;
	position: absolute;
    right: 0;
    bottom: 30px;
}


@media only screen and (max-width: 600px) {
	#new-item {
	bottom: 24px;
    font-size: 10px;
    right: -10px;
    padding: 5px 10px;
    line-height: 1;
	}
}



/*HERO FORM*/

#hero-form {
    backdrop-filter: blur(10px);
    border-radius: var(--rounded);
    border: 1px solid #cccccc63;
}

/*TOP NAVBAR*/

#top-navbar,
#top-navbar-mobile {
    position: fixed;
    z-index: 999;
   width: 80vw;
    right: 0;
    left: 11vw;
    top: 15px;
    backdrop-filter: blur(10px);
    border-radius: 10px;
}

#top-navbar-mobile {
    left: 0 !important;
	 width: 90vw !important;
}

#top-navbar:before,
#hero-form:before
{
    background-image: url(https://wu.tofalvi.com/wp-content/uploads/2024/11/left-menu-noise.webp);
    --background-overlay: '';
    background-position: center center;
    background-repeat: repeat;
    background-size: auto;
	opacity: .35;
}

#top-navbar:before,
#top-navbar-mobile:before,{
    opacity: .3;
}

#top-navmenu a {
    font-size: .85vw;
}
/*Site logo*/

#site-logo, #site-logo-footer  {
    width: 100%;
    min-height: 68px;
    display: block;
    background-repeat: no-repeat !important;
    background-size: contain !important;
    background-position: center left !important;
}

#site-logo:after {
    content: 'WebUniter: websites for entrepreneurs!';
    display: inline-block;
    font-size: .6vw;
    line-height: 1.8em;
    position: absolute;
    bottom: -50px;
    font-style: italic;
}

/*Main CTA*/

#main-cta, .main-cta-class {
  position: relative; 
  display: inline-flex !important; 
  justify-content: space-around;
  width: 100%;
  align-items: center !important; 
  border-radius: var(--rounded) !important; 
  font-size: .7vw !important;
  cursor: pointer !important;
  color: #f4f4f4;
  padding: 0.45rem 1rem !important;
  border: none;
  word-spacing: 0;
  letter-spacing: 0;
  
  /* Solid color as fallback and hover base */
  background: #AF202F;
  z-index: 5;

  /* Box shadow effect */
  box-shadow: 0 0 0px 0px var(--red), 0 0 10px 0px var(--red);
  transition: color 0.3s, box-shadow 0.8s; 
}

#main-cta::before, .main-cta-class:before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: -1;
  
  /* Initial gradient background */
  background: linear-gradient(to right, #AF202F, var(--red-dark));
  border-radius: inherit; /* Matches the button's border radius */
  opacity: 1;
  transition: opacity 0.3s; /* Smooth fade effect */
}

#main-cta:hover::before, .main-cta-class:hover::before {
  opacity: 0; /* Fade out the gradient */
}

#main-cta:hover, .main-cta-class:hover {
  background: var(--red); /* Smooth transition to solid red */
  color: #fff;
  box-shadow: 0 0 0px 2px var(--red), 0 0 20px 2px var(--red);
  text-shadow: 0px 0px 12px #fff !important;
}


#main-cta .elementor-button-content-wrapper,
.main-cta-class .elementor-button-content-wrapper
{
    flex-direction: row-reverse;
    justify-content: center;
    align-items: center;
}


#main-cta .elementor-button-icon,
.main-cta-class .elementor-button-icon
{
    justify-content: center;
    align-items: center;
    display: flex;
}

#main-cta .fas,
.main-cta-class .fas {
    font-size: 14px;
}


/*Nav menu icons*/
.leftnav-icon {
    display: inline-block;
    width: 23px;
    height: 23px;
    margin-right: 10px;
    
    background-repeat: no-repeat !important;
    background-size: contain !important;
    background-position: center center !important;
}

#left-nav-menu a {
    font-size: .8vw;
}


/*DD dimention fix*/

#pres-webdev, #blog-dev, #webshop-dev {
    width: 35px;
    height: 35px;
}


/* Tofi theme switch BTN */

.tofi-switch {
    width: 80px;
    height: 30px;
    background: #333;
    border-radius: 10px;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;  
}

#tofi-theme-toggle {
    display: none; 
}

.tofi-slider {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    position: relative;
    transform: scale(.9);
}

#tofi-sun,
#tofi-moon {
    font-size: 17px;
    color: #fff;
    transition: color 0.3s;  
    cursor: pointer;
}

#tofi-sun:hover,
#tofi-moon:hover {
    opacity: .5;
}

#tofi-sun {
    margin-left: 10px;
}

#tofi-moon {
    margin-right: 10px;
}

.tofi-slider::before {
    position: absolute;
    content: "";
    padding: 10px;
    background: #bdbdbd;
    border-radius: 50%;
    transition: transform 0.5s ease;  
    transform: translateX(0);  
    border: 3px solid #656565;
    left: 5px;
    top: 50%;
    transform: translateY(-50%);  
}

#tofi-theme-toggle:checked + .tofi-slider::before {
    transform: translateX(45px) translateY(-50%);  
    background: #bdbdbd;
}

#tofi-theme-toggle:checked ~ .tofi-slider #tofi-sun {
    color: #fff;
}

#tofi-theme-toggle:checked ~ .tofi-slider #tofi-moon {
    color: #f1f1f1;
}


/* FAQ Section Styles */
.faq-section {
    box-shadow: 0px 0px 25px 0px rgba(0, 0, 0, 0.25);
    border-radius: 10px;
}

.faq-section h3,
.faq-section p{
    padding-right: 15%;
}

.faq-question {
    max-width: 85%;
}

.faq-item {
    position: relative;
    padding: 3%;
    border-bottom: 1px solid #ffffff20;
    cursor: pointer;
}

.faq-item:hover {
    background: #0A0A0A;
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.faq-item.open .faq-answer {
    max-height: 250px; 
}

.toggle-icon {
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    width: 30px;
    height: 30px;
    border: 2px solid #333;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 18px;
    font-weight: bold;
    
    line-height: 0; /* Ensures no extra spacing */
    transition: transform 0.3s ease;
    
    background: linear-gradient(98.24deg, #ccc .01%, #a7a7a7);
    color: #000000bd;
}

.toggle-icon span {
    margin-top: -5px;
}

.faq-item.open .toggle-icon {
    transform: translateY(-50%) rotate(0deg); /* Ensures no extra rotation */
    color: #007BFF;
    
    background: #fff;
    color: #000;
    box-shadow: 0px 2px 14px 2px #ffffff80;
    text-shadow: 0px 0px 12px #fff;
}





.mobile-menu .menu-item-has-children > a::after {
    border: 2px solid #333;
    background: linear-gradient(98.24deg, #ccc .01%, #a7a7a7);
    color: #000000bd;
}

.mobile-menu .menu-item-has-children.expanded > a::after {
  background: #fff;
  color: #000;
  box-shadow: 0px 2px 14px 2px #ffffff80;
  text-shadow: 0px 0px 12px #fff;
}