/* 
Theme Name: Project Theme
Theme URI: https://github.com/elementor/hello-theme-child/
Description: This theme is dedicated to creating project based websites like Civil engineering, Architecture,Interior design etc
Author: Michael O'Callaghan
Author URI: https://designworx.ie
Template: hello-elementor
Version: 2.0.0
Text Domain: hello-elementor-child
License: GNU General Public License v3 or later.
License URI: https://www.gnu.org/licenses/gpl-3.0.html
Tags: flexible-header, custom-colors, custom-menu, custom-logo, editor-style, featured-images, rtl-language-support, threaded-comments, translation-ready
*/


/* increase line-height just for all unordered & ordered lists */
ul, 
ol {
  line-height: 2.6;  /* adjust to taste */
}
/* BACK TO TOP - Base button styles */
/* 1) Base state: fully off-screen below the viewport */
#back-to-top {
  position: fixed;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%) translateY(calc(100% + 20px));
  transition: transform 0.3s ease;
  display: flex;
  align-items: center;
  padding: 0.5em 1em;
  border: none;
  border-radius: 4px;
  background: #333;
  color: #fff;
  cursor: pointer;
  z-index: 9999;
}

/* 2) Visible state: slides up into its 20px-above-bottom spot */
#back-to-top.visible {
  transform: translateX(-50%) translateY(0);
}

/* 3) Text & icon sizing */
#back-to-top .back-to-top-text {
  font-size: 15px;
  line-height: 1;
}
#back-to-top .back-to-top-icon {
  font-size: 12px;
  margin-left: 26px;
  line-height: 1;
}

/* 4) Hide on tablet/mobile */
@media (max-width: 1024px) {
  #back-to-top {
    display: none !important;
  }
}

/* Fixed header setup */
#show-hide-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  transform: translateY(0);
  transition: transform 0.3s ease-in-out;
  will-change: transform;
  z-index: 999;
}

/* Hidden state: slide up out of view */
#show-hide-header.hidden {
  transform: translateY(-100%);
}

