/* --------------------------------------------------------------
   RESET & BASE
-------------------------------------------------------------- */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* Fonts */
@font-face {
  font-family: "abhaya_libreregular";
  src: url("../fonts/abhayalibre-regular-webfont.woff2") format("woff2"),
    url("../fonts/abhayalibre-regular-webfont.woff") format("woff");
}
@font-face {
  font-family: "abhaya_libremedium";
  src: url("../fonts/abhayalibre-medium-webfont.woff2") format("woff2"),
    url("../fonts/abhayalibre-medium-webfont.woff") format("woff");
}
@font-face {
  font-family: "abhaya_librebold";
  src: url("../fonts/abhayalibre-bold-webfont.woff2") format("woff2"),
    url("../fonts/abhayalibre-bold-webfont.woff") format("woff");
}
@font-face {
  font-family: "afacadregular";
  src: url("../fonts/afacad/afacad-regular-webfont.woff2") format("woff2"),
    url("../fonts/afacad/afacad-regular-webfont.woff") format("woff");
}
@font-face {
  font-family: "afacadmedium";
  src: url("../fonts/afacad/afacad-medium-webfont.woff2") format("woff2"),
    url("../fonts/afacad/afacad-medium-webfont.woff") format("woff");
}
@font-face {
  font-family: "afacadbold";
  src: url("../fonts/afacad/afacad-bold-webfont.woff2") format("woff2"),
    url("../fonts/afacad/afacad-bold-webfont.woff") format("woff");
}

body.WohlstandBody {
  font-family: "afacadregular";
  color: #000;
  line-height: 1.5;
}

a {
  color: #007bff;
  text-decoration: none;
}

img {
  max-width: 100%;
  height: auto;
}

.py-100 {
  padding: 100px 0;
}

/* --------------------------------------------------------------
   TYPOGRAPHY
-------------------------------------------------------------- */
h1,
h2,
h3,
h4,
h5,
h6 {
  margin-bottom: 0.5em;
  font-weight: bold;
}

h2 {
  font-size: 40px !important;
  color: #000;
  margin-bottom: 10px;
  font-family: "abhaya_libremedium";
}

h5 {
  font-size: 24px !important;
  margin: 0 !important;
  font-family: "abhaya_libreregular";
}

h6 {
  font-size: 22px !important;
  margin: 22px 0 5px !important;
  font-family: "abhaya_libremedium";
}

p {
  font-size: 20px;
  margin: 0;
  line-height: 30px;
}
/* FULL PAGE WRAPPER */
.loader-wrapper {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: #0d1b2a; /* dark navy to match your website style */
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 999999;
  transition: opacity 0.6s ease, visibility 0.6s;
}

/* HIDE SMOOTHLY */
.loader-wrapper.hidden {
  opacity: 0;
  visibility: hidden;
}

/* ACTUAL LOADER */
.loader {
  position: relative;
  width: 80px;
  height: 80px;
}

.loader span {
  position: absolute;
  width: 20px;
  height: 20px;
  background: #ffffff;
  border-radius: 50%;
  animation: pulse 1s infinite ease-in-out;
}

.loader span:nth-child(1) {
  top: 0;
  left: 0;
}

.loader span:nth-child(2) {
  top: 0;
  right: 0;
  animation-delay: 0.2s;
}

.loader span:nth-child(3) {
  bottom: 0;
  right: 0;
  animation-delay: 0.4s;
}

.loader span:nth-child(4) {
  bottom: 0;
  left: 0;
  animation-delay: 0.6s;
}

@keyframes pulse {
  0% {
    transform: scale(1);
    opacity: 1;
  }
  50% {
    transform: scale(1.8);
    opacity: 0.3;
  }
  100% {
    transform: scale(1);
    opacity: 1;
  }
}

/* --------------------------------------------------------------
   HEADER
-------------------------------------------------------------- */
#Header {
  transition: all 0.3s ease;
}

#Header.scrolled {
  background: #fff;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  padding-top: 5px;
  padding-bottom: 5px;
}

.WohlstandHeader {
  background: #fff;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.WohlstandHeader .navbar-nav {
  display: inline-flex;
  gap: 40px;
  align-items: center;
}

.WohlstandHeader .navbar-nav .nav-link.btn {
  background: #e8b889;
  padding: 10px 20px;
  font-size: 16px;
  font-weight: 500;
  border-radius: 50px;
  color: #fff;
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.full-menu-overlay {
  position: fixed;
  top: 0;
  left: 0;
  height: 100vh;
  width: 100vw;
  background: rgba(10, 20, 40, 0.95);
  backdrop-filter: blur(5px);
  z-index: 9999;
  display: none; /* Hidden by default */
  align-items: center;
  justify-content: center;
  flex-direction: column;
  text-align: center;
}

.full-menu-overlay.active {
  display: flex;
}

.full-menu-list {
  list-style: none;
  padding: 0;
}

.full-menu-list li {
  margin: 20px 0;
}

.full-menu-list a {
  color: white;
  font-size: 28px;
  text-decoration: none;
  font-weight: 300;
}

.close-menu {
  position: absolute;
  top: 30px;
  right: 40px;
  color: white;
  font-size: 50px;
  text-decoration: none;
}

/* SEARCH OVERLAY */
.search-overlay {
  position: fixed;
  top: 0;
  left: 0;
  height: 100vh;
  width: 100vw;
  background: rgba(10, 20, 40, 0.92);
  backdrop-filter: blur(6px);
  z-index: 99999;
  display: none;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  padding: 20px;
  transition: 0.4s ease;
}

.search-overlay.active {
  display: flex;
}

/* Close button */
.close-search {
  position: absolute;
  top: 30px;
  right: 40px;
  color: #fff;
  font-size: 50px;
  text-decoration: none;
}

/* Search Box */
.search-box {
  display: flex;
  gap: 10px;
  width: 90%;
  max-width: 600px;
}

.search-box input {
  flex: 1;
  padding: 14px 20px;
  font-size: 18px;
  border-radius: 50px;
  border: none;
  outline: none;
}

.search-box button {
  padding: 14px 25px;
  background: transparent;
  border: 1px solid #e8b889;
  color: #fff;
  border-radius: 50px;
  font-size: 18px;
  cursor: pointer;
  transition: 0.3s;
}

.search-box button:hover {
  background: #e8b889;
}

/* --------------------------------------------------------------
   MAIN BANNER
-------------------------------------------------------------- */
.MainBanner {
  width: 100%;
  height: 100vh;
  position: relative;
  overflow: hidden;
}

.MainBanner video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.MainBanner::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(36, 46, 66, 0.6);
  z-index: 2;
}

.MainBannerText {
  position: absolute;
  bottom: 50px;
  left: 100px;
  z-index: 3;
}

.MainBannerText h1 {
  font-size: 50px;
  line-height: 50px;
  color: #fff;
  font-family: "abhaya_libreregular";
}

.MainBannerText p {
  color: #fff;
  font-size: 20px;
  font-weight: 300;
  margin: 0;
}
.VideoToggleBtn {
  position: absolute;
  bottom: 50px;
  right: 100px;
  z-index: 4;
  border: 1px solid rgba(255, 255, 255, 0.3);
  width: 40px;
  height: 40px;
  color: #fff;
  font-size: 18px;
  cursor: pointer;
  display: flex;
  justify-content: center;
  align-items: center;
  transition: background 0.2s ease;
  background-color: #fff0;
}

.VideoToggleBtn:hover {
  background: rgba(255, 255, 255, 0.4);
}

/* --------------------------------------------------------------
   WHY WOHLSTAND
-------------------------------------------------------------- */
.WhyWohlstand p {
  max-width: 600px;
}

.WhyWohlstand a.btn {
  background: #e8b889;
  padding: 10px 30px;
  font-size: 16px;
  color: #fff;
  margin-top: 40px;
  width: max-content;
}
.WhyWohlstand img {
  width: 100%;
}
.AboutUs {
  list-style: none;
  padding: 30px;
  background: #e8b889;
  position: absolute;
  top: 0;
  bottom: 0;
  margin: auto;
  z-index: 99;
  height: max-content;
  max-width: 230px;
  left: -100px;
  display: inline-flex;
  gap: 30px;
  flex-direction: column;
}
.AboutUs li {
  font-size: 20px;
  color: #ffff;
  line-height: 25px;
}
.AboutUs li strong {
  font-size: 30px;
  display: block;
}
.counter::after {
  content: "+";
  margin-left: 2px;
}

/* --------------------------------------------------------------
   OUR SERVICES
-------------------------------------------------------------- */
.OurServices {
  background: #fff8f2;
  text-align: center;
}

.OurServicesCard {
  max-width: 390px;
  max-height: 290px;
  padding: 35px;
  border: 1px solid #e9e9e9 !important;
  background: #fffcf9 !important;
  border-radius: 0 !important;
  text-align: left;
  transition: background 0.2s ease;
}

.OurServicesCard:hover {
  background: #fff !important;
}

.OurServicesCard p {
  font-size: 14px;
  line-height: 20px;
  color: #788280;
  margin-bottom: 10px;
}

.OurServicesCard a.btn {
  padding: 0;
  font-size: 15px;
  font-family: "abhaya_libremedium";
}

.OurServicesCard a.btn img {
  margin-left: 5px;
  margin-bottom: 0;
}
.OurServicesCard .card-body img {
  margin-bottom: 20px;
}

a.btn.rounded-pill.FieldTag {
  border: 1px solid #e8b889;
  padding: 5px 15px;
  font-size: 13px;
  color: #e8b889;
  font-family: "afacadregular";
  position: absolute;
  top: 20px;
  right: 20px;
}

.OurServices .card-body {
  padding: 0;
}

.OurServices .AllServicesBtn {
  border: 1px solid #000;
  margin-top: 80px;
  padding: 10px 30px;
}
.OurServices .AllServicesBtn:hover,
.OurServices .AllServicesBtn:focus {
  background: #000;
  color: #fff;
}

/* --------------------------------------------------------------
   EXCELLENCE THAT STANDS APART
-------------------------------------------------------------- */
.Excellence {
  text-align: center;
}

.ExcellenceCard {
  width: 350px;
  border: none !important;
  text-align: left;
}

.ExcellenceCard h1 {
  font-size: 50px;
  line-height: 30px;
  font-family: "abhaya_libremedium";
}

.ExcellenceCard p {
  font-size: 18px;
  line-height: 24px;
  font-family: "afacadregular";
}

/* --------------------------------------------------------------
   ECONOMICS OF PROSPERITY
-------------------------------------------------------------- */
.EconomicsProsperity {
  position: relative;
  background-image: url("../images/home/The_Economics_of_Prosperity.jpg");
  width: 100%;
  background-position: center center;
  background-size: contain;
}

.EconomicsProsperity::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(33, 43, 64, 0.8);
  z-index: 2;
}

.EconomicsProsperity img {
  object-fit: cover;
}

span.EconomicsProsperityText {
  display: inline-block;
  width: 100%;
  position: relative;
  z-index: 999;
}

.EconomicsProsperityText p {
  font-size: 18px;
  color: #fff;
  margin-bottom: 30px;
  font-family: "afacadregular";
}

.EconomicsProsperityText h2 {
  color: #fff;
  margin: 0;
}

.EconomicsProsperityText a.btn {
  border: 1px solid #e8b889;
  padding: 10px 30px;
  color: #fff;
}

.EconomicsProsperityText a.btn:hover {
  background-color: #e8b889;
  color: #fff;
}

/* The Wohlstand Journal */
.WohlstandJournal {
  text-align: center;
  background-color: #fff8f2;
}
.WohlstandJournal .LatestInsight {
  position: relative;
  height: auto;
}
.LatestInsight img {
  object-fit: cover;
  height: 100%;
}
.WohlstandJournal .WohlstandJournalText {
  position: absolute;
  text-align: left;
  color: #fff;
  left: 30px;
  bottom: 30px;
  max-width: 500px;
  width: 100%;
}
.WohlstandJournalText h4 {
  font-size: 24px;
  line-height: 28px;
  font-family: "abhaya_libremedium";
  margin-bottom: 20px;
}
.WohlstandJournalText p {
  font-size: 14px;
  line-height: 20px;
  margin: 0px;
}
.WohlstandJournalspacer {
  margin-top: 80px !important;
}
.LatestInsightList ul li {
  gap: 20px;
  margin-bottom: 40px;
}
.Insight img {
  width: auto;
  height: 140px;
}
.LatestInsightList ul {
  padding: 0px;
  margin: 0px;
  width: 90%;
  text-align: left;
  float: right;
}

/* Testimonial */
.Testimonial {
  text-align: center;
  padding-left: 120px;
  padding-right: 120px;
}
#testimonialSlider p.TestimonialText {
  font-size: 20px;
  line-height: 30px;
  color: #000;
  margin-bottom: 30px;
}
#testimonialSlider h5 {
  color: #e8b889;
  font-size: 22px;
}
#testimonialSlider p {
  color: #788280;
  font-size: 20px;
}
#testimonialSlider .carousel-item {
  border-radius: 12px;
  border: 1px solid #e8b889;
  padding: 25px;
}
#testimonialSlider .carousel-item img {
  width: 100%;
}
/* Company Logos */
.CompanyLogos {
  background-color: #e8b889;
  padding: 40px 0px;
  overflow: hidden;
}
.CompanyLogos ul {
  margin: 0px;
  padding: 0px;
  display: flex;
  list-style: none;
  justify-content: space-between;
  align-items: center;
}

.logo-slider {
  white-space: nowrap;
  position: relative;
}
/* 
.logo-track {
  display: flex;
  width: calc(250px * 10);
  animation: scroll 40s linear infinite;
}

.logo-track li {
  list-style: none;
  padding: 0 40px;
}

.logo-track img {
  height: 60px;
  object-fit: contain;
  opacity: 0.9;
  transition: transform 0.3s ease;
}

.logo-track img:hover {
  transform: scale(1.1);
  opacity: 1;
}
.logo-track:hover {
  animation-play-state: paused;
}
@keyframes scroll {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
} */

/* Footer */
.footer footer {
  justify-content: space-between;
  padding-top: 100px !important;
  padding-bottom: 70px !important;
}
.footer {
  background: #000;
  color: #fff !important;
  position: relative;
  overflow: hidden;
}
.footer footer p,
.footer footer a {
  font-size: 16px;
  color: #fff !important;
  font-family: "afacadregular";
}
.footer input {
  padding: 10px 8px;
  border: 1px solid #9a9ea5;
}
.footer input::placeholder {
  color: #9a9ea5;
  font-family: "afacadregular";
}
.footer button {
  width: 100%;
  font-size: 14px;
  font-family: "afacadregular";
  border: 2px solid #fff;
  background: #000;
}
.Watermark {
  position: absolute;
  top: 65px;
}
.footer h5 {
  margin-top: 0px !important;
}
.footer .Copyright {
  font-size: 14px;
  padding: 25px 0px;
  margin: 0;
  font-family: "afacadregular";
}

/* Page Up Icon */
.PageUpIcon {
  position: fixed;
  right: 30px;
  bottom: 30px;
  z-index: 999;
  cursor: pointer;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s ease;
}
.PageUpIcon.show {
  opacity: 1;
  pointer-events: auto;
}

/* Mobile Media Queries */
@media (max-width: 767.98px) {
  div#navbarText {
    padding: 20px 10px;
    background: #f4f4f4;
  }
  .WohlstandHeader .navbar-nav {
    display: inline-block;
    width: 100%;
  }
  .WohlstandHeader .navbar-nav li {
    margin-bottom: 12px;
  }
  .WohlstandHeader .navbar-nav li img {
    width: 20px;
  }
  a.nav-link.HeaderSearch::after,
  a.nav-link.HeaderMenu::after {
    content: "Search";
    display: inline-flex;
    margin-left: 10px;
    font-size: 20px;
    position: relative;
    top: 3px;
  }
  a.nav-link.HeaderMenu::after {
    content: "Menu";
  }
  .MainBanner {
    height: 50vh;
  }
  .MainBannerText {
    bottom: 30px;
    left: 30px;
  }
  .MainBannerText h1 {
    font-size: 30px;
    line-height: 30px;
  }
  .MainBannerText p {
    font-size: 13px;
    line-height: normal;
  }
  button#videoToggleBtn {
    display: none;
  }
  .WhyWohlstand a.btn {
    margin-top: 20px;
    margin-bottom: 40px;
  }
  .AboutUs {
    max-width: calc(100% - 60px);
    left: 30px;
  }
  .py-100 {
    padding: 50px 0;
  }
  h2 {
    font-size: 30px !important;
  }
  p {
    font-size: 14px;
    line-height: 22px;
  }
  .LatestInsightList ul {
    width: 100%;
    text-align: left;
    float: left;
  }
  .Insight img {
    height: 100px;
  }
  .WohlstandJournalspacer {
    margin-top: 30px !important;
  }
  .LatestInsightList ul li {
    margin-bottom: 0;
    margin-top: 30px;
  }
  .WohlstandJournal .WohlstandJournalText {
    bottom: 20px;
    width: calc(100% - 60px);
  }
  #testimonialSlider .carousel-item img {
    width: 40%;
    margin-bottom: 20px;
  }
  #testimonialSlider p.TestimonialText {
    font-size: 16px;
    line-height: 20px;
  }
  #testimonialSlider p {
    font-size: 16px;
  }
  #testimonialSlider h5 {
    font-size: 20px !important;
  }
  .footer footer {
    padding-top: 50px !important;
    padding-bottom: 30px !important;
  }
  .loader-wrapper {
    width: 82%;
  }
  .EconomicsProsperity {
    background-size: cover;
  }
  .CompanyLogos ul {
    gap: 20px;
  }
}
