.dropmenu ul li a {
  
  text-transform: uppercase;
  font-family: "D-DIN Exp";
  color: black !important;
}

.btn.btn-primary {
text-transform: uppercase;
  font-family: "D-DIN Exp";
}

/* Fix the  */
.hero .pulse {
  color: black;
  
}


.bg-gray {
background-image: url("sandpaper_backup.png") !important;
}

/* Make Font size bigger */
body {
font-family: Arial,-apple-system,system-ui,BlinkMacSystemFont,'Segoe UI',Roboto,'Helvetica Neue',sans-serif;
font-size: 1.0rem;
color: #000;
background-image: url("sandpaper_light.png") !important;
}


/* Change the titles to D-DIN, according to HU manual*/
h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: "D-DIN Exp", -apple-system,system-ui,BlinkMacSystemFont,'Segoe UI',Roboto,'Helvetica Neue',sans-serif;
  margin-top:2rem;
  color:#3a414e
}
      
      
.overlay {
background:  #fff;
}

#header {
  font-size: .9rem;

  height: 6rem;
  background: #f8f7f6;
  background-image: url("sandpaper_backup.png") !important;
}

#header .navbar-section {
  height: 6rem;
}

#header .logo img, #header .logo svg {
  display: inherit;
  height: 4.5rem;
}


body.header-fixed.header-animated #header.scrolled .navbar-section {
  height: 4rem;
}
body.header-fixed.header-animated #header.scrolled .logo img, body.header-fixed.header-animated #header.scrolled .logo svg {
  height: 3.5rem;
}
body.header-fixed.header-animated #header.scrolled {
  height: 4rem;
}

/* because of accessibility, contrast increased*/
.modular-features .feature-content {
  color: #000;
}



.hero .btn-primary {
    /* Colors - High contrast for visibility on dark overlay */
    background-color: #e5007c !important; /* Bright Pink - HU accent color */
    border: 2px solid #e5007c !important;
    color: #ffffff !important;
    
    /* Size - Large and prominent */
    padding: 16px 32px !important;
    font-size: 1rem !important;
    font-weight: 600 !important;
    
    /* Shape - Modern rounded */
    border-radius: 8px !important;
    
    /* Effects - Subtle shadow for depth */
    box-shadow: 0 4px 14px 0 rgba(229, 0, 124, 0.39) !important;
    
    /* TEXT ALIGNMENT FIXES - ADD THESE */
    line-height: 1.2 !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    vertical-align: middle !important;
    
    /* Interaction */
    transition: all 0.3s ease !important;
    text-decoration: none !important;
}

.hero .btn-primary:hover {
    background-color: #c10065 !important;
    border-color: #c10065 !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 6px 20px 0 rgba(229, 0, 124, 0.5) !important;
}



/* Speech bubble effect for hero text */
.hero.text-light h2 {
  font-family: 'D-DIN', sans-serif;
  color: #000000;
  font-weight: bold;
  background-color: white;
  font-size: 1.5rem;
  
  /* Speech bubble styling */
  padding: 20px 30px;
  border-radius: 80px / 60px;
  position: relative;
  display: inline-block;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  background-image: url("sandpaper_backup.png") !important;
}


.hero.text-light h1 {
  font-family: 'D-DIN Exp', sans-serif;
  color: #00376c;
  font-weight: bold;
      -webkit-text-stroke: 3px rgba(255,255,255,0.3);
  text-stroke: 1px rgba(255,255,255,0.8); /* fallback for other browsers */
  font-size: 3.5rem;
}

/* Make text readable with a slight white fog in the background */
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(
    circle,
    rgba(255,255,255,0.92) 0%,
    rgba(255,255,255,0.0) 92%
  );
  pointer-events: none;
  
  z-index: ;  
}

.hero .container {
  
  z-index: 1;  /* above glow */
}
  
/* For the display of features with images instead of icons */

/* Standard für col-3 col-md-4 col-sm-6 (4 Spalten Layout) */
.modular-features .column.col-3 .feature-icon img.feature-logo {
        max-width: 160px !important;
    max-height: 80px !important;
    width: auto !important;
    height: auto !important;
    position: relative;
    top: auto;
    left: auto;
    display: inherit;
    margin: 0 auto 1rem;
    transform: none;
}

/* Nur für col-4 col-md-6 col-sm-12 (3 Spalten Layout) */
.modular-features .column.col-4 .feature-icon img.feature-logo {
    max-width: 180px !important;
    max-height: 120px !important;
    width: auto !important;
    height: auto !important;
    

    display: block;
}


/* Nur für col-4 col-md-6 col-sm-12 (3 Spalten Layout) */
.modular-features .column.col-4 .feature-icon img.feature-logo {
    max-width: 180px !important;
    max-height: 120px !important;
    width: auto !important;
    height: auto !important;
    order: 1 !important;
    position: relative !important;
    top: auto !important;
    left: auto !important;
    transform: none !important;
    margin-bottom: 1rem !important;
    
}

.modular-features .feature-icon {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    position: relative !important;
    padding: 1.5rem 1rem !important;
    
    
}

/* Text at bottom with 3 columns */
.modular-features .column.col-4 .feature-icon h6 {
    order: 2 !important;
    margin-bottom: 1rem;
  
}



/* Custom tiny text class for EU disclaimer in footer*/
.text-tiny {
    font-size: 0.8rem;
    line-height: 1.4;
}

#footer {
  text-align: left; 
  color: #3c3c3c;

}

#footer .col-12{
  text-align: center; 
}

hr {
  
  opacity: 0.3;
}

iframe[src*="h5p_embed"] {
    width: 100% !important;
    height: 900px !important;
}

/* hero image background animation */
/* Create an animated duplicate of the background */
.hero::before {
  content: '';
  position: absolute;
  top: -10%;
  left: -10%;
  width: 150%;
  height: 120%;
  background-image: inherit; /* Copies the background from .hero */
  background-size: cover;
  background-position: center;
  animation: kenBurns 60s ease-in-out infinite alternate;
  z-index: 0;
}

/* Hide the original static background (we're using the animated ::before instead) */
.hero {
  position: relative;
  overflow: hidden;
  background-size: 0 !important; /* Hides original background */
}

/* Adjust the working animation for wider panning */
@keyframes kenBurns {
  0% {
    transform: scale(1) translate(4%, -5%); /* Start more to the left */
  }
  50% {
    transform: scale(1.2) translate(-5%, 0); /* End more to the right */
  }
  100% {
    transform: scale(1) translate(-20%, 0); /* End more to the right */
  }
  
}


/* TABLET: Slightly stronger movement */
@media (max-width: 768px) {
  @keyframes kenBurns {
    0% {
      transform: scale(1) translate(2%, -8%);
    }
    50% {
      transform: scale(1.25) translate(-35%, 0);
    }
    100% {
      transform: scale(1.05) translate(-75%, 0);
    }
  }
  
  .hero::before {
    left: -10%;
    width: 630%;
  }
}

#blog-hero h2 {
  text-shadow: none
}

/* Remove hero animations on blog posts */
.blogpostheader::before {
  animation: none !important;
  transform: scale(1) translate(0, 0) !important;
    top: 10%;
  left: 0%;
  width: 100%;
  height: 100%;
}

.blogpostheader::after {
  display: none !important;
}

/* Remove speech bubble effect on blog posts */
.blogpostheader.text-light h2,
.blogpostheader h2 {
  background-color: transparent !important;
  padding: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  background-image: none !important;
  display: block !important;
}


/* Improve accessibility, avoid flags, increase contrast */
/* Using Primary Brand Blue for maximum accessibility */
 a:link {
    color: #2E72B6; 
    text-decoration: none;
}

/* For visited links */
 a:visited {
    color: #4b6b8e; /* A desaturated version of brand blue */
}

 a:hover,  a:active {
    color: #001d3a; /* An even darker shade for interaction */
    text-decoration: none;
}



.dropmenu ul li a.active, .dropmenu ul li a:focus, .dropmenu ul li a:hover {
  color:  #2E72B6 !important;
}

/* Accessibility flag: date in blog to bright */
.text-gray {
  color: #6b6b6b !important;
}

.label.label-primary {
  color: #fff !important;
  background: #2870C9 !important; /* Adjusted for AA compliance */
}

.label.label-secondary {
  color: #2466B7 !important;
  background: #E1EDFD;
}

/* Buttons */
.btn-primary.button, .btn.btn-primary {
  color: #fff ;
  background: #2870C9 ;
  border-color: #2061B3 ; /* Slightly darker than background for depth */
}

/* Don't forget the hover state! */
.btn-primary.button:hover, .btn.btn-primary:hover {
  background: #1D569C ;
  border-color: #164278 ;
}
.btn-primary.button:focus, .btn.btn-primary:focus {
  outline: 3px solid #FFD700; /* Gold/Yellow stands out against blue */
  outline-offset: 2px;
}

details :focus {
  text-decoration: underline    ;
  
}

/* Reduced globally for consistency, inspired from project info sandbox */
.container.grid-xl {
  max-width: 1100px;
}

.card.ai2pibox {
background: #fff;
border: .10rem solid #e5007c;
  border-radius: .1rem;
}
