/*
* Template Name: SJH Base
* Version: v0.3
* Author: Julian Holzenthal
* File: general.css
*/

/*--------------------------------------------------------------
#0000 - Directory
--------------------------------------------------------------*/
/* #1000 - General Information */
  /* #1001 - Font & Color scheme */
  /* #1002 - General Styling & Shared Classes */
  /* #1003 - Global Header */
  /* #1004 - Navbar */
  /* #1005 - Global Footer */
  /* #1006 - Preloader */
  /* #1007 - Scroll Top Button */
  /* #1008 - Disable aos animation delay on mobile devices */
  /* #1009 - Global Page Titles & Breadcrumbs */
  /* #1010 - Global Sections */
  /* #1011 - Global Sections Titles */
  /* #1012 - Solution Sections */

/*--------------------------------------------------------------
#1000 - General Information
--------------------------------------------------------------*/

/*--------------------------------------------------------------
#1001 - Font & Color scheme
--------------------------------------------------------------*/
/* Main Colors */
:root 
{
    --primary-color: #1f262e;                       
    --secondary-color: #ffffff;                     
    --tertiary-color: rgba(255, 255, 255, 0.25);    
    --accent-color: #0795D7;                       
    --transparency-color: rgba(255, 255, 255, 0);    
}

/* Liquid Design Upgrade */
:root 
{
    --liquid-bg: rgba(0, 123, 255, 0.25);
    --liquid-border: rgba(0, 123, 255, 0.5);
    --liquid-shadow: rgba(0, 123, 255, 0.2);
    --liquid-shadow-hover: rgba(0, 123, 255, 0.3);
}

/* Main Fonts */
:root
{
    --default-font: "Roboto",  system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", "Liberation Sans", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
    --heading-font: "Montserrat",  sans-serif;
    --nav-font: "Inter",  sans-serif;    
}

/* Smooth scroll */
:root 
{
  scroll-behavior: smooth;
}

/*--------------------------------------------------------------
#1002 - General Styling & Shared Classes
--------------------------------------------------------------*/
body 
{
  color: var(--secondary-color);
  background-color: var(--primary-color);
  font-family: var(--default-font);
  position: relative;
}

body::before 
{
  content: "";
  position: fixed;
  inset: 0;
  background-image: url("../img/bg.png");
  background-repeat: repeat;
  opacity: 0.03;
  pointer-events: none;
  z-index: -1;
}

a 
{
  text-decoration: none;
  font-weight: bold;
  color: var(--accent-color);
  text-shadow: 
    0 0 4px var(--liquid-shadow), 
    0 0 8px var(--liquid-shadow-hover);
  transition: text-shadow 0.3s ease;
}

a:hover 
{
  text-shadow: 
    0 0 6px var(--liquid-shadow), 
    0 0 12px var(--liquid-shadow-hover);
}

h1, h2, h3, h4, h5, h6 
{
  color: var(--secondary-color);
  font-family: var(--heading-font);
}

.btn-liquid
{
  padding: 12px 30px;
  font-size: 16px;
  font-weight: bold;
  color: var(--secondary-color);
  background: var(--liquid-bg);
  border: 1px solid var(--liquid-border);
  border-radius: 25px;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 8px 32px var(--liquid-shadow);
  position: relative;
}

.btn-liquid:hover
{
  box-shadow: 0 12px 40px var(--liquid-shadow-hover);
  transform: translateY(-3px);
  background: rgba(0, 123, 255, 0.35);
}

.highlight 
{
  font-weight: bold;
  color: var(--accent-color);
  text-shadow: 
    0 0 4px var(--liquid-shadow), 
    0 0 8px var(--liquid-shadow-hover);
  transition: text-shadow 0.3s ease;
}

.highlight:hover 
{
  text-shadow: 
    0 0 6px var(--liquid-shadow), 
    0 0 12px var(--liquid-shadow-hover);
}

/*--------------------------------------------------------------
#1003 - Global Header
--------------------------------------------------------------*/
.header 
{
  color: var(--secondary-color);
  background-color: var(--transparency-color);
  padding: 20px 0;
  transition: all 0.5s;
  z-index: 997;
}

.header .header-container 
{
  backdrop-filter: blur(18px) saturate(180%);
  -webkit-backdrop-filter: blur(18px) saturate(180%);
  background: rgba(255, 255, 255, 0.12);
  border-radius: 50px;
  padding: 5px 25px 5px 30px;
  border: 1px solid var(--tertiary-color);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.25);
}

.header .logo 
{
  line-height: 1;
}

.header .logo img 
{
  max-height: 80px;
  margin-right: 8px;
}

.header .logo h1 
{
  font-size: 20px;
  margin: 0;
  font-weight: 600;
  letter-spacing: 1.5px;
  color: var(--secondary-color);
}

.header-buttons a 
{
  width: 45px; 
  height: 45px; 
  display: inline-flex;      
  align-items: center;        
  justify-content: center;    
  font-size: 16px;
  font-weight: bold;
  color: var(--secondary-color);
  background: var(--liquid-bg);
  border: 1px solid var(--tertiary-color);
  border-radius: 50%;        
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 8px 32px var(--liquid-shadow);
  position: relative;
  padding: 0;                 
}

.header-buttons a:hover 
{
  box-shadow: 0 12px 40px var(--liquid-shadow-hover);
  transform: translateY(-3px);
  background: rgba(0, 123, 255, 0.35);
}

@media (max-width: 1200px) 
{
  .header 
  {
    padding-top: 10px;
  }

  .header .header-container 
  {
    margin-left: 10px;
    margin-right: 10px;
    padding: 10px 5px 10px 15px;
    backdrop-filter: blur(22px) saturate(180%);
    background: rgba(255, 255, 255, 0.18);
  }
}

.header-container {
  display: flex;
  align-items: center;
  justify-content: space-between; 
}

.nav-wrapper {
  flex-grow: 1;
  display: flex;
  justify-content: center;
}

.header-buttons a {
  margin-left: 15px; 
}

/*--------------------------------------------------------------
#1004 - Navbar
--------------------------------------------------------------*/
/* Desktop Navmenu */
@media (min-width: 1200px) 
{
  .navmenu 
  {
    padding: 0;
  }

  .navmenu ul 
  {
    margin: 0;
    padding: 0;
    display: flex;
    list-style: none;
    align-items: center;
    gap: 25px;
  }

  .navmenu li 
  {
    position: relative;
    transition: transform 0.6s ease, color 0.6s ease;
  }

  .navmenu a,
  .navmenu a:focus 
  {
    color: var(--secondary-color);
    padding: 12px 18px;
    font-size: 16px;
    font-family: var(--nav-font);
    font-weight: 400;
    display: flex;
    align-items: center;
    white-space: nowrap;
    transition: 0.3s;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.0);
  }

  .navmenu li:hover>a,
  .navmenu .active,
  .navmenu .active:focus 
  {
    color: var(--accent-color);
    background: none;
    backdrop-filter: none;
  }

  .navmenu li:hover
  {
    transform: translateY(-5px);
  }

  .navmenu li:last-child a 
  {
    padding-right: 0;
  }
}

/* Mobile Navmenu */
@media (max-width: 1199px) 
{
  .header-container 
  {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 6px 14px;
    height: 80px; 
  }

  .mobile-nav-toggle 
  {
    order: 1;
    z-index: 10; 
    font-size: 20px;
  }

  .logo 
  {
    order: 2;   
    margin: 0 auto; 
  }

  .header-buttons 
  {
    order: 3;  
    display: flex;
    gap: 0px;
  }

  .header-buttons a 
  {
    width: 35px; 
    height: 35px; 
    display: inline-flex;      
    align-items: center;        
    justify-content: center;    
    font-size: 16px;
    font-weight: bold;
    color: var(--secondary-color);
    background: var(--liquid-bg);
    border: 1px solid var(--tertiary-color);
    border-radius: 50%;        
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 8px 32px var(--liquid-shadow);
    position: relative;
    padding: 0;     
  }

  .header-buttons a:hover 
  {
    box-shadow: 0 12px 40px var(--liquid-shadow-hover);
    transform: translateY(-3px);
    background: rgba(0, 123, 255, 0.35);
  }

  .navmenu ul 
  {
    display: none;
    background: rgba(31, 39, 48, 0.9); 
    backdrop-filter: blur(22px) saturate(180%);     
    border-radius: 18px;
    padding: 12px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.3);
    opacity: 0;
    transform: translateY(-8px);
    transition: opacity 0.25s ease, transform 0.25s ease;
    list-style: none;
  }

  .navmenu li 
  {
    margin: 6px 0;
  }

  .navmenu a,
  .navmenu a:focus 
  {
    display: block;
    width: 100%;

    text-align: center;
    padding: 12px 0;

    font-size: 16px;
    font-weight: 500;

    color: var(--secondary-color);
    border-radius: 12px;

    transition: background 0.25s ease, color 0.25s ease;
  }

  .navmenu a:hover 
  {
    background: rgba(255,255,255,0.15);
  }

  .navmenu .active 
  {
    background: rgba(255,255,255,0.22);
    color: var(--secondary-color);
  }

  .mobile-nav-active .navmenu ul 
  {
    display: block;
    opacity: 1;
    transform: translateY(0);

    position: fixed;
    top: 90px;
    left: 16px;
    right: 16px;
    z-index: 9998;
  }
}

/*--------------------------------------------------------------
#1005 Global Footer
--------------------------------------------------------------*/
.footer 
{
  color: var(--secondary-color);
  background-color: var(--primary-color);
  font-size: 14px;
  padding: 40px 0 0 0;
  position: relative;
}

.footer .icon 
{
  color: var(--accent-color);
  margin-right: 15px;
  font-size: 24px;
  line-height: 0;
}

.footer h4 
{
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 15px;
}

.footer .address p 
{
  margin-bottom: 0px;
}

.footer .social-links a 
{
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid color-mix(in srgb, var(--secondary-color), transparent 50%);
  font-size: 16px;
  color: color-mix(in srgb, var(--secondary-color), transparent 50%);
  margin-right: 10px;
  transition: 0.3s;
}

.footer .social-links a:hover 
{
  color: var(--accent-color);
  border-color: var(--accent-color);
}

.footer .copyright 
{
  padding: 25px 0;
  border-top: 1px solid color-mix(in srgb, var(--secondary-color), transparent 90%);
}

.footer .copyright p 
{
  margin-bottom: 0;
}

.footer .credits 
{
  margin-top: 5px;
  font-size: 13px;
}

.footer .col-lg-3,
.footer .col-md-6 {
  text-align: center;
}

.footer .d-flex {
  justify-content: center;
}

/*--------------------------------------------------------------
#1006 - Preloader
--------------------------------------------------------------*/
/* Alter PreLoader*/
/*#preloader 
{
  position: fixed;
  inset: 0;
  z-index: 999999;
  overflow: hidden;
  background: var(--primary-color);
  transition: all 0.6s ease-out;
}

#preloader:before {
  content: "";
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  border: 6px solid transparent;
  border-top-color: var(--accent-color);
  border-bottom-color: var(--accent-color);
  border-radius: 50%;
  width: 60px;
  height: 60px;
  animation: animate-preloader 1.5s linear infinite;
}

@keyframes animate-preloader 
{
  0% {
    transform: rotate(0deg);
  }

  100% {
    transform: rotate(360deg);
  }
}*/

/* Neuer PreLoader*/
#preloader 
{
  position: fixed;
  inset: 0;
  z-index: 999999;
  display: flex;
  justify-content: center;
  align-items: center;
  background: var(--primary-color);
}

#preloader:before 
{
  content: "";
  width: 70px;
  height: 70px;
  border-radius: 50%;
  background: var(--liquid-bg);        
  border: 1px solid var(--liquid-border);
  box-shadow: 0 8px 32px var(--liquid-shadow);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  position: absolute;
  
  border-top: 6px solid var(--accent-color);
  border-bottom: 6px solid var(--accent-color);
  border-left: 6px solid transparent;
  border-right: 6px solid transparent;
  animation: animate-preloader 1.5s linear infinite;
}

@keyframes animate-preloader 
{
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

/*--------------------------------------------------------------
#1007 - Scroll Top Button
--------------------------------------------------------------*/
.scroll-top 
{
  position: fixed;
  visibility: hidden;
  opacity: 0;
  right: 15px;
  bottom: -15px;
  z-index: 99999;
  width: 44px;
  height: 44px;
  border-radius: 50%; 
  background: var(--liquid-bg);
  border: 1px solid var(--liquid-border);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 8px 32px var(--liquid-shadow);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
}

.scroll-top:hover 
{
  box-shadow: 0 12px 40px var(--liquid-shadow-hover);
  transform: translateY(-3px);
  background: rgba(0, 123, 255, 0.35);
}

.scroll-top i 
{
  font-size: 24px;
  color: var(--secondary-color);
  line-height: 0;
}

.scroll-top.active 
{
  visibility: visible;
  opacity: 1;
  bottom: 15px;
}

/*--------------------------------------------------------------
#1008 - Disable aos animation delay on mobile devices
--------------------------------------------------------------*/
@media screen and (max-width: 768px) 
{
  [data-aos-delay] {
    transition-delay: 0 !important;
  }
}

/*--------------------------------------------------------------
#1009 - Global Page Titles & Breadcrumbs
--------------------------------------------------------------*/
.page-title 
{
  color: var(--secondary-color);
  background-color: var(--primary-color);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  padding: 160px 0 80px 0;
  text-align: center;
  position: relative;
}

.page-title::after 
{
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: repeating-linear-gradient(45deg, rgba(255, 255, 255, 0.02) 0px, rgba(255, 255, 255, 0.05) 1px, transparent 1px, transparent 10px);
  z-index: 1;
}

.page-title h1 
{
  font-size: 42px;
  font-weight: 700;
  margin-bottom: 10px;
}

.page-title .breadcrumbs ol 
{
  display: flex;
  flex-wrap: wrap;
  list-style: none;
  justify-content: center;
  padding: 0;
  margin: 0;
  font-size: 16px;
  font-weight: 400;
}

.page-title .breadcrumbs ol li+li 
{
  padding-left: 10px;
}

.page-title .breadcrumbs ol li+li::before 
{
  content: "/";
  display: inline-block;
  padding-right: 10px;
  color: color-mix(in srgb, var(--secondary-color), transparent 50%);
}

/*--------------------------------------------------------------
#1010 - Global Sections
--------------------------------------------------------------*/
section,
.section 
{
  color: var(--secondary-color);
  background-color: var(--primary-color);
  padding: 60px 0;
  scroll-margin-top: 90px;
  overflow: clip;
  min-height: 100vh;
}

@media (max-width: 1199px) 
{
  section,
  .section {
    scroll-margin-top: 66px;
  }
}

/*--------------------------------------------------------------
#1011 - Global Section Titles
--------------------------------------------------------------*/
.section-title 
{
  padding-top: 10px;
  padding-bottom: 60px;
  position: relative;
}

.section-title h2 
{
  font-size: 14px;
  font-weight: 500;
  padding: 0;
  line-height: 1px;
  margin: 0;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: color-mix(in srgb, var(--secondary-color), transparent 50%);
  position: relative;
}

.section-title h2::after 
{
  content: "";
  width: 120px;
  height: 1px;
  display: inline-block;

  background: var(--liquid-bg);               
  border: 1px solid var(--liquid-border);     
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);

  box-shadow: 0 0 12px var(--liquid-shadow);  

  margin: 4px 10px;
  border-radius: 10px;                       
  transition: all 0.3s ease;
}

.section-title div 
{
  color: var(--secondary-color);
  margin: 0;
  margin: 0;
  font-size: 28px;
  font-weight: 700;
  text-transform: uppercase;
  font-family: var(--secondary-font);
}

/*--------------------------------------------------------------
#1012 - Solutions Sections
--------------------------------------------------------------*/
.solutions .solution-item 
{
  display: flex;
  background-color: var(--liquid-bg);
  border: 1px solid var(--liquid-border);
  border-radius: 25px;
  padding: 2rem;
  height: 100%;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  position: relative;
  overflow: hidden;
  box-shadow: 0 8px 32px var(--liquid-shadow);
  transition: all 0.3s ease;
}

.solutions .solution-item::before 
{
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  height: 100%;
  width: 4px;
  background-color: var(--secondary-color);
  transform: scaleY(0);
  transform-origin: bottom;
  transition: transform 0.4s cubic-bezier(0.65, 0, 0.35, 1);
}

.solutions .solution-item:hover 
{
  box-shadow: 0 12px 40px var(--liquid-shadow-hover);
  transform: translateY(-3px);
  background: rgba(0, 123, 255, 0.35);
}

.solutions .solution-item:hover::before 
{
  transform: scaleY(1);
}

.solutions .solution-item:hover .solution-icon 
{
  background-color: var(--secondary-color);
  color: var(--primary-color);
  transform: rotateY(180deg);
}

.solutions .solution-item:hover .solution-icon i 
{
  transform: rotateY(180deg);
}

.solutions .solution-item:hover .solution-link i 
{
  transform: translateX(5px);
}

.solutions .solution-icon 
{
  flex-shrink: 0;
  width: 70px;
  height: 70px;
  border-radius: 12px;
  background-color: color-mix(in srgb, var(--primary-color), transparent 55%);
  color: var(--secondary-color);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 1.5rem;
  transition: all 0.5s ease;
}

.solutions .solution-icon i 
{
  font-size: 2rem;
  transition: transform 0.5s ease;
}

.solutions .solution-content 
{
  flex-grow: 1;
}

.solutions .solution-content h3 
{
  font-size: 1.4rem;
  margin-bottom: 1rem;
  font-weight: 700;
  color: var(--heading-color);
}

.solutions .solution-content p 
{
  margin-bottom: 1.25rem;
  color: color-mix(in srgb, var(--default-color), transparent 20%);
}

.solutions .solution-link 
{
  display: inline-flex;
  align-items: center;
  color: var(--accent-color);
  font-weight: 600;
  text-decoration: none;
  transition: color 0.3s ease;
}

.solutions .solution-link span 
{
  margin-right: 0.5rem;
}

.solutions .solution-link i 
{
  transition: transform 0.3s ease;
}

.solutions .solution-link:hover 
{
  color: color-mix(in srgb, var(--accent-color), transparent 25%);
}

@media (max-width: 767.98px) 
{
  .solutions .solution-item 
  {
    padding: 1.5rem;
    margin-bottom: 1rem;
  }

  .solutions .solution-icon 
  {
    width: 60px;
    height: 60px;
    margin-right: 1rem;
  }

  .solutions .solution-icon i 
  {
    font-size: 1.5rem;
  }

  .solutions .solution-content h3 
  {
    font-size: 1.2rem;
    margin-bottom: 0.75rem;
  }

  .solutions .solution-content p 
  {
    margin-bottom: 1rem;
    font-size: 0.95rem;
  }
}

@media (max-width: 575.98px) 
{
  .solutions .solution-item 
  {
    flex-direction: column;
    text-align: center;
  }

  .solutions .solution-item::before 
  {
    width: 100%;
    height: 4px;
    transform: scaleX(0);
    transform-origin: left;
  }

  .solutions .solution-item:hover::before 
  {
    transform: scaleX(1);
  }

  .solutions .solution-icon 
  {
    margin-right: 0;
    margin-bottom: 1.25rem;
  }

  .solutions .solution-link 
  {
    justify-content: center;
  }
}

/*--------------------------------------------------------------
#1013 - Cookie Banner
--------------------------------------------------------------*/
.cookie-banner 
{
  position: fixed;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--liquid-bg);
  border: 1px solid var(--liquid-border);
  border-radius: 50px;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  padding: 15px 25px;
  box-shadow: 0 8px 32px var(--liquid-shadow);
  display: flex;
  align-items: center;
  gap: 15px;
  z-index: 10000;
}

.cookie-banner p 
{
  margin: 0;
  color: var(--secondary-color);
}

.cookie-banner .btn-liquid 
{
  padding: 8px 20px;
  font-size: 14px;
}

.cookie-buttons 
{
  display: flex;
  gap: 10px;
  margin-top: 10px;
}

@media (max-width: 480px) {
  .cookie-banner {
    flex-direction: column;
    align-items: stretch;
    text-align: center;
    padding: 20px;
    gap: 10px;
    width: 90%;
    max-width: 320px;
  }

  .cookie-banner p {
    font-size: 15px;
    line-height: 1.4;
  }

  .cookie-banner a {
    display: inline-block;
    margin-top: 5px;
    font-size: 14px;
  }

  .cookie-banner .btn-liquid {
    width: 100%;
    font-size: 15px;
    padding: 10px 0;
  }

  .cookie-buttons {
    flex-direction: column;
    gap: 10px;
    margin-top: 10px;
  }
}

