/*--------------------------------------------------------------
# Mezescsupor
--------------------------------------------------------------*/
.mezescsupor {
  display: none;
}

/*--------------------------------------------------------------
# Brand variables and font-face
--------------------------------------------------------------*/
:root {
  /* Futó Italcentrum brand colors */
  --fic-green: #54C844;
  /* rgb(84,200,68) */
  --fic-anthracite: #1E1F22;
  /* anthracite background */
}

@font-face {
  font-family: 'Tailwind Black';
  src: url('../font/Tailwind_Black.woff2') format('woff2'),
    url('../font/Tailwind_Black.woff') format('woff'),
    url('../font/Tailwind_Black.ttf') format('truetype');
  font-weight: 900;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Montserrat';
  src: url('../font/Montserrat.woff2') format('woff2'),
    url('../font/Montserrat.woff') format('woff'),
    url('../font/Montserrat.ttf') format('truetype');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

.fic-base-text {
  font-family: 'Montserrat', sans-serif;
  font-size: 1.2rem;
  letter-spacing: 0.5px;
  color: #f5f5f5;
}

.montserrat {
  font-family: 'Montserrat', sans-serif !important;
}

.text-green {
  color: var(--fic-green) !important;
}

/*--------------------------------------------------------------
# General
--------------------------------------------------------------*/
body {
  font-family: "Roboto", sans-serif;
  color: #C5C6C7;
  background-color: var(--fic-anthracite);
  position: relative;
  /* create stacking context for bg pseudo-element */
}

/* Global background logo */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  background: url('../img/logo/futo_italcentrum_logo.svg') center center / 20% no-repeat;
  opacity: 0.12;
  /* default faint */
  pointer-events: none;
  z-index: 0;
  /* sit above background color, below content */
  transition: filter 0.4s ease, opacity 0.4s ease, transform 0.4s ease;
}

/* when inside the hero: make logo fully visible */
body.fic-hero-visible::before {
  opacity: 1;
}

/* blur state after hero */
body.fic-bg-blur::before {
  filter: blur(8px);
  /* make logo more visible during blur */
  opacity: 0.22;
}

/* blue overlay that fades in after hero */
body::after {
  content: "";
  position: fixed;
  inset: 0;
  background: rgba(30, 31, 34, 0);
  /* will fade into anthracite */
  pointer-events: none;
  z-index: 0;
  transition: background-color 0.35s ease, opacity 0.35s ease;
}

/* anthracite overlay after hero (subtle but earlier) */
body.fic-after-hero::after {
  background: rgba(30, 31, 34, 0.12);
  /* #1E1F22 with alpha - slightly lighter */
}

/* Ensure content paints above the fixed background */
#header,
#main,
#footer,
.back-to-top,
#preloader {
  position: relative;
  z-index: 1;
}


a {
  /* Use brand green for primary links */
  color: var(--fic-green);
  /* color: #43b3ae;
  color: #cf8848; */
  text-decoration: none;
}

a:hover {
  color: #46ad40;
  /* slightly darker/lower contrast on hover */
  text-decoration: none;
}

h1,
h2 {
  font-family: "Roboto", "sans-serif";
}

h3,
h4,
h5,
h6 {
  font-family: "Roboto", sans-serif;
}

/*--------------------------------------------------------------
# Back to top button
--------------------------------------------------------------*/
.back-to-top {
  position: fixed;
  visibility: hidden;
  opacity: 0;
  right: 15px;
  bottom: 15px;
  z-index: 996;
  background: #54C844;
  width: 40px;
  height: 40px;
  border-radius: 4px;
  transition: all 0.4s;
}

.back-to-top i {
  font-size: 28px;
  color: #151515;
  line-height: 0;
}

.back-to-top:hover {
  background: #151515;
}

.back-to-top:hover i {
  color: #45A29E;
}

.back-to-top.active {
  visibility: visible;
  opacity: 1;
}

/*--------------------------------------------------------------
# Preloader
--------------------------------------------------------------*/
/* #preloader {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 9999;
  overflow: hidden;
  background: #151515;
}

#preloader:before {
  content: "";
  position: fixed;
  top: calc(50% - 0px);
  left: calc(50% - 30px);
  border: 6px solid #54C844;
  border-top-color: #151515;
  border-bottom-color: #151515;
  border-radius: 50%;
  width: 60px;
  height: 60px;
  -webkit-animation: animate-preloader 1s linear infinite;
  animation: animate-preloader 1s linear infinite;
}

@-webkit-keyframes animate-preloader {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

@keyframes animate-preloader {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
} */

/*--------------------------------------------------------------
# Disable aos animation delay on mobile devices
--------------------------------------------------------------*/
@media screen and (max-width: 768px) {
  [data-aos-delay] {
    transition-delay: 0 !important;
  }
}

/*--------------------------------------------------------------
# Header
--------------------------------------------------------------*/
#header {
  display: flex;
  transition: all 0.2s;
  z-index: 1005;
  /* make header sticky so nav stays visible while scrolling */
  position: sticky;
  top: 0;
  padding: 20px;
  align-items: center;
  /* color: rgb(21, 21, 21);
  background: rgb(21, 21, 21); */
}

#header.header-scrolled,
#header.header-inner-pages {
  background: rgba(21, 21, 21, 0.8);
}

#header .logo {
  font-size: 1rem;
  margin: 0;
  padding: 0 10px 0 0;
  line-height: 1;
  font-weight: 100;
  letter-spacing: 2px;
  text-transform: uppercase;
  font-family: 'Tailwind Black', 'Roboto', sans-serif;
  font-weight: 900;
  letter-spacing: 1px;
  color: var(--fic-green);
  text-decoration: none;
}

@media (max-width: 768px) {
  #header .logo {
    font-size: 1.3rem;
  }
}

#header .logo a {
  color: #C5C6C7;
}

#header .logo a span {
  color: #54C844;
}

#header .logo img {
  max-height: 40px;
}

/*--------------------------------------------------------------
#  Get Started Button
--------------------------------------------------------------*/
.get-started-btn {
  color: #C5C6C7;
  border-radius: 4px;
  padding: 7px 25px 8px 25px;
  white-space: nowrap;
  transition: 0.3s;
  font-size: 14px;
  display: inline-block;
  border: 2px solid #54C844;
}

.get-started-btn:hover {
  background: #54C844;
  color: #343a40;
}

@media (max-width: 992px) {
  .get-started-btn {
    padding: 7px 15px 8px 15px;
    margin-right: 15px;
  }
}

/*--------------------------------------------------------------
# Navigation Menu
--------------------------------------------------------------*/
/**
* Desktop Navigation 
*/
.navbar {
  padding: 0;
  display: flex;
}

.navbar ul {
  margin: 0;
  padding: 0;
  display: flex;
  list-style: none;
  align-items: center;
}

.navbar li {
  position: relative;
}

.navbar a,
.navbar a:focus {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 0 10px 30px;
  font-size: 1rem;
  font-weight: 600;
  color: #C5C6C7;
  font-family: 'Tailwind Black', 'Roboto', sans-serif;
  font-weight: 900;
  white-space: nowrap;
  transition: 0.3s;
}

.navbar a i,
.navbar a:focus i {
  font-size: 12px;
  line-height: 0;
  margin-left: 5px;
}

.navbar a:hover,
.navbar .active,
.navbar .active:focus,
.navbar li:hover>a {
  color: var(--fic-green);
}

.navbar .dropdown ul {
  display: block;
  position: absolute;
  left: 14px;
  top: calc(100% + 30px);
  margin: 0;
  padding: 10px 0;
  z-index: 99;
  opacity: 0;
  visibility: hidden;
  background: #C5C6C7;
  box-shadow: 0px 0px 30px rgba(127, 137, 161, 0.25);
  transition: 0.3s;
}

.navbar .dropdown ul li {
  min-width: 200px;
}

.navbar .dropdown ul a {
  padding: 10px 20px;
  font-size: 14px;
  text-transform: none;
  color: #151515;
  font-weight: 400;
}

.navbar .dropdown ul a i {
  font-size: 12px;
}

.navbar .dropdown .active>a {
  color: #54C844;
}

.navbar .dropdown ul a:hover,
.navbar .dropdown ul .active:hover,
.navbar .dropdown ul li:hover>a {
  background-color: #54C844;
}

.navbar .dropdown:hover>ul {
  opacity: 1;
  top: 100%;
  visibility: visible;
}

.navbar .dropdown .dropdown ul {
  top: 0;
  left: calc(100% - 30px);
  visibility: hidden;
}

.navbar .dropdown .dropdown:hover>ul {
  opacity: 1;
  top: 0;
  left: 100%;
  visibility: visible;
}

@media (max-width: 1366px) {
  .navbar .dropdown .dropdown ul {
    left: -90%;
  }

  .navbar .dropdown .dropdown:hover>ul {
    left: -100%;
  }
}

/**
* Mobile Navigation 
*/
.mobile-nav-toggle {
  color: #C5C6C7;
  font-size: 28px;
  cursor: pointer;
  display: none;
  line-height: 0;
  transition: 0.5s;
}

@media (max-width: 991px) {
  .mobile-nav-toggle {
    display: block;
  }

  .navbar ul {
    display: none;
  }
}

.navbar-mobile {
  position: fixed;
  overflow: hidden;
  top: 0;
  right: 0;
  left: 0;
  bottom: 0;
  /* background: rgba(0, 0, 0, 0.9); */
  transition: 0.3s;
  z-index: 999;
}

/* New layout helpers for right-aligned nav blocks (desktop) */
.nav-right {
  display: flex;
  align-items: center;
  margin-left: auto;
  /* push to right */
  gap: 1.5rem;
}

.nav-block {
  display: flex;
  align-items: center;
  justify-content: center;
  /* center links inside their block */
  min-width: 360px;
  /* reserve space so items are centered away from Kontakt */
}

.nav-block .navbar ul {
  gap: 1.25rem;
  justify-content: center;
  margin: 0;
}

/* Only display the nav as a horizontal flex row on desktop widths.
   On smaller screens the base rule `.navbar ul { display: none }` will
   keep the menu collapsed and the mobile toggle will control visibility. */
@media (min-width: 992px) {
  .nav-block .navbar ul {
    display: flex;
  }
}

.contact-block {
  display: flex;
  align-items: center;
}

@media (max-width: 991px) {
  .nav-right {
    margin-left: 0;
    gap: .5rem;
  }

  .nav-block {
    min-width: 0;
    justify-content: flex-start;
  }

  .nav-block .navbar ul {
    gap: .5rem;
  }
}

.navbar-mobile .mobile-nav-toggle {
  position: absolute;
  top: 15px;
  right: 15px;
}

.navbar-mobile ul {
  display: block;
  position: absolute;
  top: 55px;
  right: 15px;
  bottom: 15px;
  left: 15px;
  padding: 10px 0;
  background-color: #C5C6C7;
  overflow-y: auto;
  transition: 0.3s;
}

.navbar-mobile a,
.navbar-mobile a:focus {
  padding: 10px 20px;
  font-size: 15px;
  color: #151515;
  font-family: 'Tailwind Black', 'Roboto', sans-serif;
  font-weight: 900;
}

.navbar-mobile a:hover,
.navbar-mobile .active,
.navbar-mobile li:hover>a {
  color: #151515;
  background-color: #54C844;
}

.navbar-mobile .getstarted,
.navbar-mobile .getstarted:focus {
  margin: 15px;
}

.navbar-mobile .dropdown ul {
  position: static;
  display: none;
  margin: 10px 20px;
  padding: 10px 0;
  z-index: 99;
  opacity: 1;
  visibility: visible;
  background: #C5C6C7;
  box-shadow: 0px 0px 30px rgba(127, 137, 161, 0.25);
}

.navbar-mobile .dropdown ul li {
  min-width: 200px;
}

.navbar-mobile .dropdown ul a {
  padding: 10px 20px;
  color: #151515;
}

.navbar-mobile .dropdown ul a i {
  font-size: 12px;
}

.navbar-mobile .dropdown ul a:hover,
.navbar-mobile .dropdown ul .active:hover,
.navbar-mobile .dropdown ul li:hover>a {
  background-color: #54C844;
}

.navbar-mobile .dropdown>.dropdown-active {
  display: block;
}

/*--------------------------------------------------------------
# Hero Section
--------------------------------------------------------------*/
/* #hero {
  display: flex;
  background-color: #000000;
  height: 100dvh;
  width: auto;
  background: url("../img/hero-bg.jpg") top center;
  background-size: cover;
  position: relative;
} */
/* #hero .layer {
  background-color: rgba(0, 0, 0, 0.5);
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
} */
#hero .container {
  position: relative;
  /* padding-top: 74px; */
  text-align: center;
}

#hero .container {
  padding-top: 12rem !important;
}

/* Hero text styling and scroll fade */
.hero-text {
  font-family: 'Montserrat', 'Roboto', sans-serif !important;
  font-size: 25px;
  color: #ffffff;
  margin: 0;
  transition: opacity 0.45s ease, filter 0.45s ease;
  opacity: 0;
  /* start hidden, fade in on load */
  will-change: opacity, filter;
  position: fixed;
  top: 52%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 80%;
  max-width: 780px;
  text-align: center;
  z-index: 1003;
  pointer-events: none;
}

/* hide and blur hero text when leaving hero */
/* when we have entered the hero-visible state (after load), show text */
body.fic-hero-visible .hero-text {
  opacity: 1;
  transition-delay: 0.45s;
  /* show shortly after logo lights */
}

body.fic-after-hero .hero-text {
  opacity: 0;
  filter: blur(4px);
  /* remains fixed, just hidden */
}

@media (max-width: 768px) {

  /* Make subtitle smaller (in rem) and move it lower on mobile */
  .hero-text {
    font-size: 0.65rem;
    /* even smaller per request */
    top: 70%;
    /* nudge subtitle further down on mobile */
  }

  /* Increase the background logo size on mobile (desktop remains 20%) */
  body::before {
    background-size: 60% !important;
    /* larger per your request */
    opacity: 0.14;
    /* slightly stronger on small screens */
  }
}

/* sharp hero logo: lights-on effect */
.hero-logo {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%) scale(1);
  width: 50%;
  max-width: 600px;
  height: auto;
  background: url('../img/logo/futo_italcentrum_logo.svg') center center / contain no-repeat;
  pointer-events: none;
  z-index: 1002;
  /* below header (1005) */
  opacity: 0;
  filter: drop-shadow(0 0 0 rgba(84, 200, 68, 0));
  transition: opacity 0.45s ease, transform 0.45s ease, filter 0.45s ease;
  will-change: opacity, transform;
  /* initial 'light turning on' animation + short neon flicker on load */
  /* signOn: makes the mark 'power on' and settle
     neonFlicker: short randomized flicker to mimic neon startup */
  animation: signOn 1.1s ease forwards 0.15s, neonFlicker 1.8s linear forwards 0.12s;
}

@keyframes signOn {
  0% {
    opacity: 0;
    transform: translate(-50%, -50%) scale(0.96);
    filter: drop-shadow(0 0 0 rgba(84, 200, 68, 0));
  }

  20% {
    opacity: .6;
    filter: drop-shadow(0 0 6px rgba(84, 200, 68, 0.6));
    transform: translate(-50%, -50%) scale(1.02);
  }

  40% {
    opacity: .95;
    filter: drop-shadow(0 0 12px rgba(84, 200, 68, 0.85));
    transform: translate(-50%, -50%) scale(1.01);
  }

  100% {
    opacity: 1;
    filter: drop-shadow(0 0 14px rgba(84, 200, 68, 0.9));
    transform: translate(-50%, -50%) scale(1);
  }
}

/* small randomized-style flicker to add neon character on initial load */
@keyframes neonFlicker {
  0% {
    opacity: 0;
    filter: drop-shadow(0 0 0 rgba(84, 200, 68, 0));
  }

  6% {
    opacity: 0.55;
    filter: drop-shadow(0 0 8px rgba(84, 200, 68, 0.65));
  }

  12% {
    opacity: 0.45;
    filter: drop-shadow(0 0 2px rgba(84, 200, 68, 0.25));
  }

  20% {
    opacity: 0.9;
    filter: drop-shadow(0 0 10px rgba(84, 200, 68, 0.9));
  }

  28% {
    opacity: 0.75;
    filter: drop-shadow(0 0 6px rgba(84, 200, 68, 0.5));
  }

  38% {
    opacity: 1;
    filter: drop-shadow(0 0 12px rgba(84, 200, 68, 0.85));
  }

  52% {
    opacity: 0.9;
    filter: drop-shadow(0 0 6px rgba(84, 200, 68, 0.45));
  }

  70% {
    opacity: 0.98;
    filter: drop-shadow(0 0 10px rgba(84, 200, 68, 0.8));
  }

  100% {
    opacity: 1;
    filter: drop-shadow(0 0 14px rgba(84, 200, 68, 0.9));
  }
}

/* visible in hero: fully on */
body.fic-hero-visible .hero-logo {
  opacity: 1;
}

/* when we leave hero: fade/soft-scroll the sharp logo and reduce glow */
body.fic-after-hero .hero-logo {
  opacity: 0;
  transform: translate(-50%, -65%) scale(0.98);
  filter: blur(1px) drop-shadow(0 0 6px rgba(84, 200, 68, 0.35));
}

/* Push hero text lower for visual balance */
#hero {
  padding-top: 120px;
  padding-bottom: 80px;
}

@media (max-width: 768px) {
  #hero {
    padding-top: 60px;
    padding-bottom: 40px;
  }

  #hero h1 {
    font-size: 28px;
  }

  #hero h2 {
    font-size: 18px;
  }
}

#hero a {
  color: #C5C6C7;
  /* color: #43b3ae;
  color: #cf8848; */
  text-decoration: none;
  -webkit-appearance: none;
}

#hero a:hover {
  color: #54C844;
  text-decoration: none;
  -webkit-appearance: none;
}

#hero h1 {
  margin: 0;
  font-size: 60px;
  font-weight: 100;
  line-height: 64px;
  color: #C5C6C7;
  font-family: "Roboto", sans-serif;
}

#hero h1 span {
  color: #eebc1c;
}

#hero h2 {
  color: rgba(255, 255, 255, 0.9);
  margin: 10px 0 0 0;
  font-size: 2rem;
  font-weight: 200;
  font-family: "Roboto", sans-serif;
}

@media (max-width: 768px) {
  #hero h2 {
    font-size: 1.4rem;
  }
}

#hero h2 span {
  color: rgb(255, 196, 81);
}

/* #hero .icon-box {
  padding: 30px 20px;
  transition: ease-in-out 0.1s;
  border: 1px solid rgba(255, 255, 255, 0.3);
  height: 100%;
  text-align: center;
}
#hero .icon-box a {
  display: block;
}
#hero .icon-box i {
  font-size: 32px;
  line-height: 1;
  color: #54C844;
}
#hero .icon-box h3 {
  font-weight: 700;
  margin: 10px 0 0 0;
  padding: 0;
  line-height: 1;
  font-size: 20px;
  line-height: 26px;
}
#hero .icon-box h3 a {
  color: #C5C6C7;
  transition: ease-in-out 0.3s;
}
#hero .icon-box h3 a:hover {
  color: #54C844;
}
#hero .icon-box:hover {
  border-color: #54C844;
}
@media (min-width: 1024px) {
  #hero {
    background-attachment: fixed;
  }
}
@media (max-width: 768px) {
  #hero {
    height: auto;
  }
  #hero h1 {
    font-size: 28px;
    line-height: 36px;
  }
  #hero h2 {
    font-size: 20px;
    line-height: 24px;
  }
} */

/*--------------------------------------------------------------
# Sections General
--------------------------------------------------------------*/
section {
  padding: 60px 0;
  overflow: hidden;
}

.section-title {
  padding-bottom: 40px;
}

.section-title h2 {
  font-size: 14px;
  font-weight: 900;
  padding: 0;
  line-height: 1px;
  margin: 0 0 5px 0;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: #aaaaaa;
  font-family: 'Tailwind Black', 'Poppins', sans-serif;
}

.section-title h2::after {
  content: "";
  width: 60px;
  height: 1px;
  display: inline-block;
  background: var(--fic-green);
  margin: 4px 10px;
}

.section-title p {
  margin: 0;
  margin: 0;
  font-size: 36px;
  font-weight: 900;
  text-transform: uppercase;
  font-family: 'Tailwind Black', 'Poppins', sans-serif;
  color: #151515;
}

/* Make sections transparent so the global background logo is visible */
section,
#about,
#services,
#products,
#clients,
#portfolio,
#contact,
#subpage,
#offer,
.features,
.services .icon-box,
.products .icon-box,
.portfolio .portfolio-wrap,
.contact .info,
.contact .php-email-form,
.counts .image,
.testimonials,
.team .member,
#footer .footer-top,
.breadcrumbs,
.portfolio .portfolio-wrap::before,
.portfolio .portfolio-wrap {
  background: transparent !important;
  background-image: none !important;
  box-shadow: none !important;
}

/*--------------------------------------------------------------
# About
--------------------------------------------------------------*/

#about {
  /* background: rgb(23, 23, 23); */
}

.about .content h3 {
  color: rgba(238, 238, 238, 0.9);
  font-weight: 700;
  font-size: 28px;
  font-family: "Poppins", sans-serif;
}

.about .content ul {
  list-style: none;
  padding: 0;
}

.about .content ul li {
  padding: 0 0 8px 26px;
  position: relative;
}

.about .content ul i {
  position: absolute;
  font-size: 20px;
  left: 0;
  top: -3px;
  color: #54C844;
}

.about .content p:last-child {
  margin-bottom: 0;
}

#about h2 {
  color: rgba(238, 238, 238, 0.9);
}

#about h2 span {
  color: #54C844;
}

#about h3 {
  color: rgba(238, 238, 238, 0.9);
}

#about h3 span {
  color: #54C844;
}

#about p {
  color: rgba(238, 238, 238, 0.9);
}

#about p span {
  color: #54C844;
}

/*--------------------------------------------------------------
# Clients
--------------------------------------------------------------*/
.clients {
  padding-top: 20px;
}

.clients .swiper-slide img {
  opacity: 0.5;
  transition: 0.3s;
  filter: grayscale(100);
}

.clients .swiper-slide img:hover {
  filter: none;
  opacity: 1;
}

.clients .swiper-pagination {
  margin-top: 20px;
  position: relative;
}

.clients .swiper-pagination .swiper-pagination-bullet {
  width: 12px;
  height: 12px;
  background-color: #C5C6C7;
  opacity: 1;
  background-color: #ddd;
}

.clients .swiper-pagination .swiper-pagination-bullet-active {
  background-color: #54C844;
}

/*--------------------------------------------------------------
# Features
--------------------------------------------------------------*/
.features {
  padding-top: 20px;
}

.features .icon-box {
  padding-left: 15px;
}

.features .icon-box h4 {
  font-size: 20px;
  font-weight: 700;
  margin: 5px 0 10px 60px;
}

.features .icon-box i {
  font-size: 48px;
  float: left;
  color: #45A29E;
}

.features .icon-box p {
  font-size: 15px;
  color: #848484;
  margin-left: 60px;
}

.features .image {
  background-position: center center;
  background-repeat: no-repeat;
  background-size: cover;
  min-height: 400px;
}

.features .features-btn {
  font-family: "Roboto", sans-serif;
  font-weight: 600;
  font-size: 16px;
  letter-spacing: 1px;
  display: inline-block;
  padding: 8px 28px;
  border-radius: 4px;
  transition: 0.5s;
  margin-top: 10px;
  border: 2px solid rgba(238, 238, 238, 0.9);
  color: rgba(238, 238, 238, 0.9);
}

.features .features-btn:hover {
  background: #54C844;
  border-color: #54C844;
  color: #151515;
}

/*--------------------------------------------------------------
# Services
--------------------------------------------------------------*/

#services {
  padding-top: 20px;
  background: rgb(19, 19, 19);
}

.services .icon-box {
  text-align: center;
  border: 1px solid #ebebeb;
  padding: 80px 20px;
  transition: all ease-in-out 0.3s;
  background: rgb(34, 34, 34);
}

.services .icon-box .icon {
  margin: 0 auto;
  width: 64px;
  height: 64px;
  background: #54C844;
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  transition: 0.3s;
}

.services .icon-box .icon i {
  color: #333333;
  font-size: 28px;
  transition: ease-in-out 0.3s;
}

.services .icon-box h4 {
  font-weight: 700;
  margin-bottom: 15px;
  font-size: 24px;
}

.services .icon-box h4 a {
  color: rgba(238, 238, 238, 0.9);
  transition: ease-in-out 0.3s;
}

.services .icon-box h4 a:hover {
  color: #54C844;
}

.services .icon-box p {
  color: rgba(221, 221, 221, 0.9);
  line-height: 24px;
  font-size: 14px;
  margin-bottom: 0;
}

.services .icon-box:hover {
  border-color: rgb(192, 192, 192);
  box-shadow: 0px 0 25px 0 rgba(0, 0, 0, 0.1);
  transform: translateY(-10px);
}

/*--------------------------------------------------------------
# Products
--------------------------------------------------------------*/

#products {
  padding-top: 20px;
  background: rgb(23, 23, 23);
}

.products .icon-box {
  text-align: center;
  border: 1px solid #ebebeb;
  padding: 80px 20px;
  transition: all ease-in-out 0.3s;
  background: rgb(34, 34, 34);
}

.products .icon-box .icon {
  margin: 0 auto;
  width: 64px;
  height: 64px;
  background: #54C844;
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  transition: 0.3s;
}

.products .icon-box .icon i {
  color: #333333;
  font-size: 28px;
  transition: ease-in-out 0.3s;
}

.products .icon-box h4 {
  font-weight: 700;
  margin-bottom: 15px;
  font-size: 24px;
}

.products .icon-box h4 a {
  color: rgba(238, 238, 238, 0.9);
  transition: ease-in-out 0.3s;
}

.products .icon-box h4 a:hover {
  color: #54C844;
}

.products .icon-box p {
  color: rgba(221, 221, 221, 0.9);
  line-height: 24px;
  font-size: 14px;
  margin-bottom: 0;
}

.products .icon-box:hover {
  border-color: rgb(192, 192, 192);
  box-shadow: 0px 0 25px 0 rgba(0, 0, 0, 0.1);
  transform: translateY(-10px);
}

/*--------------------------------------------------------------
# Clients
--------------------------------------------------------------*/
#clients {
  background: rgb(19, 19, 19);
}

/*--------------------------------------------------------------
# Cta
--------------------------------------------------------------*/
.cta {
  background: linear-gradient(rgba(2, 2, 2, 0.5), rgba(0, 0, 0, 0.5)), url("../img/cta-bg.jpg") fixed center center;
  background-size: cover;
  padding: 60px 0;
}

.cta h3 {
  color: rgba(238, 238, 238, 0.9);
  font-size: 28px;
  font-weight: 700;
}

.cta p {
  color: rgba(238, 238, 238, 0.9);
}

.cta .cta-btn {
  font-family: "Roboto", sans-serif;
  font-weight: 600;
  font-size: 16px;
  letter-spacing: 1px;
  display: inline-block;
  padding: 8px 28px;
  border-radius: 4px;
  transition: 0.5s;
  margin-top: 10px;
  border: 2px solid rgba(238, 238, 238, 0.9);
  color: rgba(238, 238, 238, 0.9);
}

.cta .cta-btn:hover {
  background: #54C844;
  border-color: #54C844;
  color: #151515;
}

/*--------------------------------------------------------------
# Portfolio
--------------------------------------------------------------*/

#portfolio {
  background: rgb(19, 19, 19);
}

.portfolio .portfolio-item {
  margin-bottom: 30px;
}

.portfolio #portfolio-flters {
  padding: 0;
  margin: 0 auto 20px auto;
  list-style: none;
  text-align: center;
}

.portfolio #portfolio-flters li {
  cursor: pointer;
  display: inline-block;
  padding: 8px 15px 10px 15px;
  font-size: 14px;
  font-weight: 600;
  line-height: 1;
  text-transform: uppercase;
  color: rgba(238, 238, 238, 0.9);
  margin-bottom: 5px;
  transition: all 0.3s ease-in-out;
  border-radius: 3px;
}

.portfolio #portfolio-flters li:hover,
.portfolio #portfolio-flters li.filter-active {
  color: #151515;
  background: #54C844;
}

.portfolio #portfolio-flters li:last-child {
  margin-right: 0;
}

.portfolio .portfolio-wrap {
  transition: 0.3s;
  position: relative;
  overflow: hidden;
  z-index: 1;
  background: rgba(21, 21, 21, 0.6);
}

/* Rounded corners and brand green outline for gallery/portfolio images */
.portfolio .portfolio-wrap {
  /* add a thin brand-colored border and rounded corners */
  border: 2px solid var(--fic-green);
  border-radius: 12px;
}

.portfolio .portfolio-wrap img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 10px;
  /* inner rounding to match container */
}

/* Also apply to the simpler landing gallery thumbs if present */
.gallery-thumb {
  border: 2px solid var(--fic-green);
  border-radius: 12px;
}

.portfolio .portfolio-wrap:hover {
  box-shadow: 0 6px 30px rgba(84, 200, 68, 0.12);
}

.portfolio .portfolio-wrap::before {
  content: "";
  background: rgba(21, 21, 21, 0.6);
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  bottom: 0;
  transition: all ease-in-out 0.3s;
  z-index: 2;
  opacity: 0;
  /* allow pointer events to pass through the decorative overlay so anchors underneath remain clickable */
  pointer-events: none;
}

.portfolio .portfolio-wrap img {
  transition: all ease-in-out 0.3s;
}

.portfolio .portfolio-wrap .portfolio-info {
  opacity: 0;
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 3;
  transition: all ease-in-out 0.3s;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  align-items: flex-start;
  padding: 20px;
}

.portfolio .portfolio-wrap .portfolio-info h4 {
  font-size: 20px;
  color: #C5C6C7;
  font-weight: 600;
  /* hide the filename/title under thumbnails (we keep the category label) */
  display: none;
}

.portfolio .portfolio-wrap .portfolio-info p {
  color: rgba(255, 255, 255, 0.7);
  font-size: 14px;
  text-transform: uppercase;
  padding: 0;
  margin: 0;
  font-style: italic;
}

.portfolio .portfolio-wrap .portfolio-links {
  text-align: center;
  z-index: 4;
}

.portfolio .portfolio-wrap .portfolio-links a {
  color: #C5C6C7;
  margin: 0 5px 0 0;
  font-size: 28px;
  display: inline-block;
  transition: 0.3s;
}

.portfolio .portfolio-wrap .portfolio-links a:hover {
  color: #54C844;
}

.portfolio .portfolio-wrap:hover::before {
  opacity: 1;
}

.portfolio .portfolio-wrap:hover img {
  transform: scale(1.2);
}

/* Ensure the lightbox anchors are above the decorative overlay and show a pointer cursor */
.portfolio .portfolio-wrap a.portfolio-lightbox,
.portfolio .portfolio-wrap .portfolio-links a {
  position: relative;
  z-index: 5;
  cursor: pointer;
}

.portfolio .portfolio-wrap:hover .portfolio-info {
  opacity: 1;
}

/* Landing gallery custom styles */
#gallery-filters {
  margin-bottom: 1rem;
}

#gallery-filters .filter {
  margin-right: .5rem;
}

.gallery-item {
  position: relative;
  overflow: hidden;
}

.gallery-thumb {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  display: block;
  transition: transform .35s ease, filter .35s ease;
}

.gallery-item .gallery-anchor {
  display: block;
}

.gallery-item:hover .gallery-thumb {
  transform: scale(1.06);
  filter: saturate(1.05) contrast(1.02);
}

/* remove default portfolio info / links for the simple landing gallery */
.portfolio .portfolio-wrap .portfolio-info,
.portfolio .portfolio-wrap .portfolio-links {
  display: none !important;
}

@media (max-width: 992px) {
  .gallery-thumb {
    aspect-ratio: 4 / 3;
  }
}

/* The contact button inside the nav (for mobile) is hidden on desktop */
.contact-item {
  display: none;
}

@media (max-width: 991px) {

  /* hide the floating contact-block (desktop) on mobile */
  .contact-block {
    display: none;
  }

  /* show the contact button inside the hamburger menu */
  .contact-item {
    display: list-item;
  }

  .contact-item .get-started-btn {
    display: block;
    margin: 12px 18px;
    padding: 10px 14px;
    text-align: center;
    border-radius: 6px;
    border: 2px solid #54C844;
    background: #54C844;
    color: #151515;
    font-weight: 900;
  }

  .contact-item .get-started-btn:hover {
    background: #45A29E;
  }
}

@media (max-width: 576px) {
  .gallery-thumb {
    aspect-ratio: 3 / 2;
  }
}

/*--------------------------------------------------------------
# Portfolio Details
--------------------------------------------------------------*/
.portfolio-details {
  padding-top: 40px;
}

.portfolio-details .portfolio-details-slider img {
  width: 100%;
}

.portfolio-details .portfolio-details-slider .swiper-pagination {
  margin-top: 20px;
  position: relative;
}

.portfolio-details .portfolio-details-slider .swiper-pagination .swiper-pagination-bullet {
  width: 12px;
  height: 12px;
  background-color: #C5C6C7;
  opacity: 1;
  border: 1px solid #54C844;
}

.portfolio-details .portfolio-details-slider .swiper-pagination .swiper-pagination-bullet-active {
  background-color: #54C844;
}

.portfolio-details .portfolio-info {
  padding: 30px;
  box-shadow: 0px 0 30px rgba(21, 21, 21, 0.08);
}

.portfolio-details .portfolio-info h3 {
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 20px;
  padding-bottom: 20px;
  border-bottom: 1px solid #eee;
}

.portfolio-details .portfolio-info ul {
  list-style: none;
  padding: 0;
  font-size: 15px;
}

.portfolio-details .portfolio-info ul li+li {
  margin-top: 10px;
}

.portfolio-details .portfolio-description {
  padding-top: 30px;
}

.portfolio-details .portfolio-description h2 {
  font-size: 26px;
  font-weight: 700;
  margin-bottom: 20px;
}

.portfolio-details .portfolio-description p {
  padding: 0;
}

/*--------------------------------------------------------------
# Counts
--------------------------------------------------------------*/
.counts .content {
  padding: 30px 0;
}

.counts .content h3 {
  font-weight: 700;
  font-size: 34px;
  color: #151515;
}

.counts .content p {
  margin-bottom: 0;
}

.counts .content .count-box {
  padding: 20px 0;
  width: 100%;
}

.counts .content .count-box i {
  display: block;
  font-size: 36px;
  color: #54C844;
  float: left;
}

.counts .content .count-box span {
  font-size: 36px;
  line-height: 30px;
  display: block;
  font-weight: 700;
  color: #151515;
  margin-left: 50px;
}

.counts .content .count-box p {
  padding: 15px 0 0 0;
  margin: 0 0 0 50px;
  font-family: "Roboto", sans-serif;
  font-size: 14px;
  color: #3b3b3b;
}

.counts .content .count-box a {
  font-weight: 600;
  display: block;
  margin-top: 20px;
  color: #3b3b3b;
  font-size: 15px;
  font-family: "Poppins", sans-serif;
  transition: ease-in-out 0.3s;
}

.counts .content .count-box a:hover {
  color: #626262;
}

.counts .image {
  background: url("../img/counts-img.jpg") center center no-repeat;
  background-size: cover;
  min-height: 400px;
}

@media (max-width: 991px) {
  .counts .image {
    text-align: center;
  }

  .counts .image img {
    max-width: 80%;
  }
}

@media (max-width: 667px) {
  .counts .image img {
    max-width: 100%;
  }
}

/*--------------------------------------------------------------
# Testimonials
--------------------------------------------------------------*/
.testimonials {
  padding: 80px 0;
  background: url("../img/testimonials-bg.jpg") no-repeat;
  background-position: center center;
  background-size: cover;
  position: relative;
}

.testimonials::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.7);
}

.testimonials .section-header {
  margin-bottom: 40px;
}

.testimonials .testimonials-carousel,
.testimonials .testimonials-slider {
  overflow: hidden;
}

.testimonials .testimonial-item {
  text-align: center;
  color: rgba(238, 238, 238, 0.9);
}

.testimonials .testimonial-item .testimonial-img {
  width: 100px;
  border-radius: 50%;
  border: 6px solid rgba(255, 255, 255, 0.15);
  margin: 0 auto;
}

.testimonials .testimonial-item h3 {
  font-size: 20px;
  font-weight: bold;
  margin: 10px 0 5px 0;
  color: rgba(238, 238, 238, 0.9);
}

.testimonials .testimonial-item h4 {
  font-size: 14px;
  color: rgba(238, 238, 238, 0.9);
  margin: 0 0 15px 0;
}

.testimonials .testimonial-item .quote-icon-left,
.testimonials .testimonial-item .quote-icon-right {
  color: rgba(255, 255, 255, 0.6);
  font-size: 26px;
}

.testimonials .testimonial-item .quote-icon-left {
  display: inline-block;
  left: -5px;
  position: relative;
}

.testimonials .testimonial-item .quote-icon-right {
  display: inline-block;
  right: -5px;
  position: relative;
  top: 10px;
}

.testimonials .testimonial-item p {
  font-style: italic;
  margin: 0 auto 15px auto;
  color: rgba(238, 238, 238, 0.9);
}

.testimonials .swiper-pagination {
  margin-top: 20px;
  position: relative;
}

.testimonials .swiper-pagination .swiper-pagination-bullet {
  width: 12px;
  height: 12px;
  background-color: rgba(255, 255, 255, 0.4);
  opacity: 0.5;
}

.testimonials .swiper-pagination .swiper-pagination-bullet-active {
  background-color: #54C844;
  opacity: 1;
}

@media (min-width: 1024px) {
  .testimonials {
    background-attachment: fixed;
  }
}

@media (min-width: 992px) {
  .testimonials .testimonial-item p {
    width: 80%;
  }
}

/*--------------------------------------------------------------
# Team
--------------------------------------------------------------*/
.team {
  background: #C5C6C7;
  padding: 60px 0;
}

.team .member {
  margin-bottom: 20px;
  overflow: hidden;
  border-radius: 5px;
  background: #C5C6C7;
  box-shadow: 0px 2px 15px rgba(0, 0, 0, 0.1);
}

.team .member .member-img {
  position: relative;
  overflow: hidden;
}

.team .member .social {
  position: absolute;
  left: 0;
  bottom: 30px;
  right: 0;
  opacity: 0;
  transition: ease-in-out 0.3s;
  text-align: center;
}

.team .member .social a {
  transition: color 0.3s;
  color: #151515;
  margin: 0 3px;
  border-radius: 4px;
  width: 36px;
  height: 36px;
  background: rgba(255, 255, 255, 0.8);
  transition: ease-in-out 0.3s;
  color: #484848;
  display: inline-flex;
  justify-content: center;
  align-items: center;
}

.team .member .social a:hover {
  color: #151515;
  background: #54C844;
}

.team .member .social i {
  font-size: 18px;
  line-height: 0;
}

.team .member .member-info {
  padding: 25px 15px;
}

.team .member .member-info h4 {
  font-weight: 700;
  margin-bottom: 5px;
  font-size: 18px;
  color: #151515;
}

.team .member .member-info span {
  display: block;
  font-size: 13px;
  font-weight: 400;
  color: #aaaaaa;
}

.team .member .member-info p {
  font-style: italic;
  font-size: 14px;
  line-height: 26px;
  color: #777777;
}

.team .member:hover .social {
  opacity: 1;
  bottom: 15px;
}

/*--------------------------------------------------------------
# Contact
--------------------------------------------------------------*/

#contact {
  background: rgb(19, 19, 19);
}

.contact .info {
  width: 100%;
  background: rgb(19, 19, 19);
}

.contact .info i {
  font-size: 20px;
  background: var(--fic-green);
  color: #151515;
  float: left;
  width: 44px;
  height: 44px;
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 22px;
  transition: all 0.3s ease-in-out;
}

.contact .info h4 {
  padding: 0 0 0 60px;
  font-size: 22px;
  font-weight: 600;
  margin-bottom: 5px;
  color: rgba(238, 238, 238, 0.9);
}

.contact .info p {
  padding: 0 0 0 60px;
  margin-bottom: 0;
  font-size: 14px;
  color: rgba(238, 238, 238, 0.9);
}

.contact .info .email,
.contact .info .phone {
  margin-top: 40px;
}

.contact .php-email-form {
  width: 100%;
  background: rgb(19, 19, 19);
}

.contact .php-email-form .form-group {
  padding-bottom: 8px;
}

.contact .php-email-form .error-message {
  display: none;
  color: rgba(238, 238, 238, 0.9);
  background: #ed3c0d;
  text-align: left;
  padding: 15px;
  font-weight: 600;
}

.contact .php-email-form .error-message br+br {
  margin-top: 25px;
}

.contact .php-email-form .sent-message {
  display: none;
  color: rgba(238, 238, 238, 0.9);
  background: #18d26e;
  text-align: center;
  padding: 15px;
  font-weight: 600;
}

.contact .php-email-form .loading {
  display: none;
  background: rgba(238, 238, 238, 0.9);
  text-align: center;
  padding: 15px;
}

.contact .php-email-form .loading:before {
  content: "";
  display: inline-block;
  border-radius: 50%;
  width: 24px;
  height: 24px;
  margin: 0 10px -6px 0;
  border: 3px solid #18d26e;
  border-top-color: rgba(238, 238, 238, 0.9);
  -webkit-animation: animate-loading 1s linear infinite;
  animation: animate-loading 1s linear infinite;
}

.contact .php-email-form input,
.contact .php-email-form textarea {
  border-radius: 0;
  box-shadow: none;
  font-size: 14px;
  border-radius: 4px;
}

.contact .php-email-form input:focus,
.contact .php-email-form textarea:focus {
  border-color: #54C844;
}

.contact .php-email-form input {
  height: 44px;
}

.contact .php-email-form textarea {
  padding: 10px 12px;
}

.contact .php-email-form button[type=submit] {
  background: #54C844;
  border: 0;
  padding: 10px 24px;
  color: #151515;
  transition: 0.4s;
  border-radius: 4px;
}

.contact .php-email-form button[type=submit]:hover {
  background: #45A29E;
}

@-webkit-keyframes animate-loading {
  0% {
    transform: rotate(0deg);
  }

  100% {
    transform: rotate(360deg);
  }
}

@keyframes animate-loading {
  0% {
    transform: rotate(0deg);
  }

  100% {
    transform: rotate(360deg);
  }
}

/*--------------------------------------------------------------
# Breadcrumbs
--------------------------------------------------------------*/
.breadcrumbs {
  /* padding: 15px 0; */
  /* padding: 74px; */
  background: #151515;
  min-height: 40px;
  /* margin-top: 74px; */
}

.breadcrumbs h2 {
  font-size: 28px;
  font-weight: 400;
}

.breadcrumbs ol {
  display: flex;
  flex-wrap: wrap;
  list-style: none;
  padding: 0;
  margin: 0;
}

.breadcrumbs ol li+li {
  padding-left: 10px;
}

.breadcrumbs ol li+li::before {
  display: inline-block;
  padding-right: 10px;
  color: #2f2f2f;
  content: "/";
}

@media (max-width: 992px) {
  .breadcrumbs {
    margin-top: 68px;
  }

  .breadcrumbs .d-flex {
    display: block !important;
  }

  .breadcrumbs ol {
    display: block;
  }

  .breadcrumbs ol li {
    display: inline-block;
  }
}

/*--------------------------------------------------------------
# Subpage
--------------------------------------------------------------*/

#subpage {
  background: #151515;
  color: rgba(233, 233, 233, 0.9);
  padding: 125px 5px 0 20px;
}

.subpage .content h3 {
  color: rgba(238, 238, 238, 0.9);
  font-weight: 700;
  font-size: 28px;
  font-family: "Poppins", sans-serif;
}

.subpage .content ul {
  list-style: none;
  padding: 0;
}

.subpage .content ul li {
  padding: 0 0 8px 26px;
  position: relative;
}

.subpage .content ul i {
  position: absolute;
  font-size: 20px;
  left: 0;
  top: -3px;
  color: #54C844;
}

.subpage .content p:last-child {
  margin-bottom: 0;
}

#subpage h2 {
  color: rgba(238, 238, 238, 0.9);
}

#subpage h2 span {
  color: #54C844;
}

#subpage h3 {
  color: rgba(238, 238, 238, 0.9);
}

#subpage h3 span {
  color: #54C844;
}

#subpage p {
  color: rgba(238, 238, 238, 0.9);
}

#subpage p span {
  color: #54C844;
}


/*--------------------------------------------------------------
# Offer
--------------------------------------------------------------*/

#offer {
  background: rgb(19, 19, 19);
  padding: 125px 5px 0 20px;
}

.offer .info {
  width: 100%;
  background: rgb(19, 19, 19);
}

.offer .info i {
  font-size: 20px;
  background: #54C844;
  color: #151515;
  float: left;
  width: 44px;
  height: 44px;
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 4px;
  transition: all 0.3s ease-in-out;
}

.offer .info h4 {
  padding: 0 0 0 60px;
  font-size: 22px;
  font-weight: 600;
  margin-bottom: 5px;
  color: rgba(238, 238, 238, 0.9);
}

.offer .info p {
  padding: 0 0 0 60px;
  margin-bottom: 0;
  font-size: 14px;
  color: rgba(238, 238, 238, 0.9);
}

.offer .info .email,
.offer .info .phone {
  margin-top: 40px;
}

.offer .php-email-form {
  width: 100%;
  background: rgb(19, 19, 19);
}

.offer .php-email-form .form-group {
  padding-bottom: 8px;
}

.offer .php-email-form .error-message {
  display: none;
  color: rgba(238, 238, 238, 0.9);
  background: #ed3c0d;
  text-align: left;
  padding: 15px;
  font-weight: 600;
}

.offer .php-email-form .error-message br+br {
  margin-top: 25px;
}

.offer .php-email-form .sent-message {
  display: none;
  color: rgba(238, 238, 238, 0.9);
  background: #18d26e;
  text-align: center;
  padding: 15px;
  font-weight: 600;
}

.offer .php-email-form .loading {
  display: none;
  background: rgba(238, 238, 238, 0.9);
  text-align: center;
  padding: 15px;
}

.offer .php-email-form .loading:before {
  content: "";
  display: inline-block;
  border-radius: 50%;
  width: 24px;
  height: 24px;
  margin: 0 10px -6px 0;
  border: 3px solid #18d26e;
  border-top-color: rgba(238, 238, 238, 0.9);
  -webkit-animation: animate-loading 1s linear infinite;
  animation: animate-loading 1s linear infinite;
}

.offer .php-email-form input,
.offer .php-email-form textarea {
  border-radius: 0;
  box-shadow: none;
  font-size: 14px;
  border-radius: 4px;
}

.offer .php-email-form input:focus,
.offer .php-email-form textarea:focus {
  border-color: #54C844;
}

.offer .php-email-form input {
  height: 44px;
}

.offer .php-email-form textarea {
  padding: 10px 12px;
}

.offer .php-email-form button[type=submit] {
  background: var(--fic-green);
  border: 0;
  padding: 10px 24px;
  color: #151515;
  transition: 0.4s;
  border-radius: 4px;
}

.offer .php-email-form button[type=submit]:hover {
  background: #ffcd6b;
}

@-webkit-keyframes animate-loading {
  0% {
    transform: rotate(0deg);
  }

  100% {
    transform: rotate(360deg);
  }
}

@keyframes animate-loading {
  0% {
    transform: rotate(0deg);
  }

  100% {
    transform: rotate(360deg);
  }
}

/*--------------------------------------------------------------
# Footer
--------------------------------------------------------------*/
#footer {
  /* background: black; */
  padding: 0 0 30px 0;
  color: rgba(238, 238, 238, 0.9);
  font-size: 14px;
}

#footer .footer-top {
  background: #151515;
  border-bottom: 1px solid #222222;
  padding: 60px 0 30px 0;
}

#footer .footer-top .footer-info {
  margin-bottom: 30px;
}

#footer .footer-top .footer-info h3 {
  font-size: 28px;
  margin: 0 0 20px 0;
  padding: 2px 0 2px 0;
  line-height: 1;
  font-weight: 700;
  text-transform: uppercase;
}

#footer .footer-top .footer-info h3 span {
  color: #54C844;
}

#footer .footer-top .footer-info p {
  font-size: 14px;
  line-height: 24px;
  margin-bottom: 0;
  font-family: "Roboto", sans-serif;
  color: rgba(238, 238, 238, 0.9);
}

#footer .footer-top .social-links a {
  font-size: 18px;
  display: inline-block;
  background: #292929;
  color: rgba(238, 238, 238, 0.9);
  line-height: 1;
  padding: 8px 0;
  margin-right: 4px;
  border-radius: 4px;
  text-align: center;
  width: 36px;
  height: 36px;
  transition: 0.3s;
}

#footer .footer-top .social-links a:hover {
  background: #54C844;
  color: #151515;
  text-decoration: none;
}

#footer .footer-top h4 {
  font-size: 16px;
  font-weight: 600;
  color: rgba(238, 238, 238, 0.9);
  position: relative;
  padding-bottom: 12px;
}

#footer .footer-top .footer-links {
  margin-bottom: 30px;
}

#footer .footer-top .footer-links ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

#footer .footer-top .footer-links ul i {
  padding-right: 2px;
  color: #54C844;
  font-size: 18px;
  line-height: 1;
}

#footer .footer-top .footer-links ul li {
  padding: 10px 0;
  display: flex;
  align-items: center;
}

#footer .footer-top .footer-links ul li:first-child {
  padding-top: 0;
}

#footer .footer-top .footer-links ul a {
  color: rgba(238, 238, 238, 0.9);
  transition: 0.3s;
  display: inline-block;
  line-height: 1;
}

#footer .footer-top .footer-links ul a:hover {
  color: #54C844;
}

#footer .footer-top .footer-newsletter form {
  margin-top: 30px;
  background: rgba(238, 238, 238, 0.9);
  padding: 6px 10px;
  position: relative;
  border-radius: 4px;
}

#footer .footer-top .footer-newsletter form input[type=email] {
  border: 0;
  padding: 4px;
  width: calc(100% - 110px);
}

#footer .footer-top .footer-newsletter form input[type=submit] {
  position: absolute;
  top: 0;
  right: -2px;
  bottom: 0;
  border: 0;
  background: none;
  font-size: 16px;
  padding: 0 20px;
  background: #54C844;
  color: #151515;
  transition: 0.3s;
  border-radius: 0 4px 4px 0;
}

#footer .footer-top .footer-newsletter form input[type=submit]:hover {
  background: #ffcd6b;
}

/*--------------------------------------------------------------
# Opening Hours (Nyitvatartás)
--------------------------------------------------------------*/
.opening-hours-list {
  /* remove the block background behind rows as requested */
  background: transparent !important;
  border-radius: 12px;
  padding: 18px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.06);
}

.opening-hours-rows {
  list-style: none;
  padding: 0;
  margin: 0;
  font-size: 16px;
  color: #C5C6C7;
}

.opening-hours-rows>li {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 12px;
  /* keep day and time closer */
  padding: 10px 0;
}

/* full-width separator between rows implemented as a top border on every li except the first */
.opening-hours-rows>li+li {
  border-top: 2px solid var(--fic-green);
  padding-top: 12px;
  /* space after the border */
  margin-top: 12px;
}

.opening-hours-rows .oh-day {
  font-family: 'Montserrat', sans-serif !important;
  color: var(--fic-green);
  font-weight: 800;
  /* stronger/bolder */
  margin-right: 8px;
  white-space: nowrap;
}

.opening-hours-rows .oh-time {
  color: #C5C6C7;
  margin-left: auto;
  /* push time to the far right while keeping proximity */
  white-space: nowrap;
}

@media (max-width: 768px) {

  /* Mobile: place day at the left edge and time at the right edge */
  .opening-hours-rows>li {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
  }

  .opening-hours-rows .oh-day {
    flex: 0 0 auto;
    text-align: left;
    margin-right: 8px;
  }

  .opening-hours-rows .oh-time {
    flex: 0 0 auto;
    margin-left: auto;
    text-align: right;
  }
}

#footer .copyright {
  text-align: center;
  padding-top: 30px;
}

#footer .credits {
  padding-top: 10px;
  text-align: center;
  font-size: 13px;
  color: rgba(238, 238, 238, 0.9);
}

.carousel-control .control-left,
.carousel-control .control-right {
  position: absolute;
  top: 50%;
  z-index: 5;
  display: inline-block;
}

.carousel-control .control-left {
  left: 50%;
}

.carousel-control .control-right {
  right: 50%;
}

/* single bloom used during the sign-on: expands a soft radial glow (shortened) */
@keyframes bloomOnce {
  0% {
    opacity: 0;
    transform: scale(0.86);
    filter: blur(1px);
  }

  28% {
    opacity: 1;
    transform: scale(1.16);
    filter: blur(6px);
  }

  60% {
    opacity: 0.65;
    transform: scale(1.04);
    filter: blur(4px);
  }

  100% {
    opacity: 0;
    transform: scale(1.0);
    filter: blur(8px);
  }
}

/* strengthened breathing pulse to keep a stronger neon glow while hero is visible */
@keyframes neonPulse {
  0% {
    transform: translate(-50%, -50%) scale(1);
    filter: drop-shadow(0 0 12px rgba(84, 200, 68, 0.95));
  }

  50% {
    transform: translate(-50%, -50%) scale(1.025);
    filter: drop-shadow(0 0 30px rgba(84, 200, 68, 1));
  }

  100% {
    transform: translate(-50%, -50%) scale(1);
    filter: drop-shadow(0 0 12px rgba(84, 200, 68, 0.95));
  }
}

/* add a glowing halo using a pseudo-element to simulate a diffuse neon bloom */
.hero-logo::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%) scale(1);
  width: 100%;
  height: 100%;
  pointer-events: none;
  background: radial-gradient(circle at center, rgba(84, 200, 68, 0.45) 0%, rgba(84, 200, 68, 0.18) 20%, rgba(84, 200, 68, 0.04) 45%, transparent 60%);
  opacity: 0;
  transition: opacity 0.35s ease, transform 0.45s ease;
  z-index: -1;
}

/* while signing: play a single bloom animation */
.hero-logo.signing::after {
  opacity: 1;
  /* shorter bloom for snappier startup */
  animation: bloomOnce 620ms ease-out forwards;
}

/* once the sign-on completed, allow a slow pulse while hero is visible */
body.fic-hero-visible .hero-logo.sign-done {
  animation: neonPulse 2.2s ease-in-out infinite 0.18s;
}

/* make pseudo-element slightly visible when sign-done so the halo persists */
body.fic-hero-visible .hero-logo.sign-done::after {
  opacity: 0.55;
  transform: translate(-50%, -50%) scale(1.04);
}

/* quick burst that increases glow briefly */
@keyframes neonBurst {
  0% {
    filter: drop-shadow(0 0 8px rgba(84, 200, 68, 0.7));
    opacity: 1;
  }

  50% {
    filter: drop-shadow(0 0 40px rgba(84, 200, 68, 1));
    opacity: 1;
  }

  100% {
    filter: drop-shadow(0 0 10px rgba(84, 200, 68, 0.9));
    opacity: 1;
  }
}

/* small white spark that expands briefly to simulate a flash */
.hero-logo::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%) scale(0.6);
  width: 6%;
  height: 6%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.95) 0%, rgba(255, 255, 255, 0.6) 30%, rgba(255, 255, 255, 0.0) 60%);
  pointer-events: none;
  opacity: 0;
  z-index: 1001;
}

@keyframes sparkBurst {
  0% {
    opacity: 0.95;
    transform: translate(-50%, -50%) scale(0.4);
  }

  60% {
    opacity: 0.6;
    transform: translate(-50%, -50%) scale(1.6);
  }

  100% {
    opacity: 0;
    transform: translate(-50%, -50%) scale(2.4);
  }
}

.hero-logo.flash {
  animation: neonBurst 160ms ease-in-out both;
}

.hero-logo.flash::before {
  opacity: 1;
  animation: sparkBurst 260ms ease-out both;
}

.hero-text-padding-top {
  /* Adjusted so the headline sits lower than before but not too low.
     Increase the top padding so the text is visually centered in hero
     for typical desktop screens. */
  padding-top: 35rem; /* desktop default — lowered vs previous extremely high or very low */
}

@media (max-width: 1200px) {
  .hero-text-padding-top {
    padding-top: 14rem; /* large laptops */
  }
}

@media (max-width: 992px) {
  .hero-text-padding-top {
    padding-top: 17rem; /* tablet */
  }
}

@media (max-width: 768px) {
  .hero-text-padding-top {
    padding-top: 7.5rem; /* mobile */
  }
}

/* Down-arrow below hero text */
.hero-down-arrow {
  /* Position the arrow relative to the fixed hero text so it always sits
     centered directly beneath the headline. Using fixed positioning keeps
     it aligned with the .hero-text which is also fixed. */
  position: fixed;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  justify-content: center;
  /* place the arrow near the bottom of the viewport so it sits below
    the hero text on all viewports; use `bottom` for consistent positioning */
  bottom: 8vh; /* desktop: ~8% of viewport height from bottom */
  z-index: 1003; /* same stacking as .hero-text */
  pointer-events: none;
  /* start hidden by default; will be shown when body.fic-hero-visible is applied */
  opacity: 0;
  visibility: hidden;
}
@media (max-width: 768px) {
  /* on mobile, place the arrow a bit closer to the bottom so it remains
     visually under the hero text but not too far from the viewport edge */
  .hero-down-arrow { bottom: 5vh; }
}

.hero-down-arrow svg {
  width: 28px;
  height: 28px;
  color: var(--fic-green);
  fill: none;
  stroke: var(--fic-green);
  stroke-width: 1.6; /* thinner stroke per request */
  transform-origin: center;
  will-change: transform;
  /* subtle drop-and-hold animation */
  animation: arrow-bob 2200ms ease-in-out infinite;
}

/* Ensure the hero headline is centered so the arrow sits directly beneath it */
.hero-text {
  text-align: center;
  display: block;
  margin: 0 auto;
}

.hero-down-arrow svg { display: inline-block; }

@keyframes arrow-bob {
  0% { transform: translateY(0); opacity: 1; }
  30% { transform: translateY(10px); opacity: 0.95; }
  50% { transform: translateY(10px); opacity: 0.95; }
  80% { transform: translateY(0); opacity: 1; }
  100% { transform: translateY(0); opacity: 1; }
}

/* hide/show transition when the hero scrolls out of view */
.hero-down-arrow {
  transition: opacity 320ms ease, transform 320ms ease;
}
.hero-down-arrow.hero-arrow-hidden {
  opacity: 0;
  transform: translateY(8px);
  visibility: hidden;
}

/* show arrow slightly after the hero text appears */
body.fic-hero-visible .hero-down-arrow {
  opacity: 1;
  visibility: visible;
  transition-delay: 0.6s; /* appear a bit after the headline */
}

/* Slightly larger arrow on very large screens for balance */
@media (min-width: 1400px) {
  .hero-down-arrow svg { width: 36px; height: 36px; stroke-width: 2; }
}