body, html {
    height: 100%;
    margin: 0;
    font: 400 15px/1.8 "Lato", sans-serif;
    color: #777;
    background-color:#282E34;
  }

.body-white-bg {
  background-color: #eee;
  }
  
  .bgimg-1, .bgimg-2, .bgimg-3 {
    position: relative;
    opacity: 0.65;
    background-attachment: fixed;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
  
  }
  
  
  .bgimg-2 {
    background-image: url("../img/background_01.png");
    min-height: 400px;
  }
  
  .bgimg-3 {
    background-image: url("../img_parallax3.jpg");
    min-height: 400px;
  }

  
  .bgimgbk1 {
    background-image: url("../img/Book_MSoGA_Cover.png");
    height: 40%;
    width: auto;
  }
  
  .caption {
    position: absolute;
    left: 0; 
    right: 0; 
    margin-inline: auto; 
    width: fit-content;
    top: 50%;
    text-align: center;
    color: #000;
  }
  
  .caption div.border {
    background-color: #111;
    color: #fff;
    padding: 12px;
    font-size: 25px;
    letter-spacing: 10px;
  }

  
  .caption div.normal {
    background-color: #111;
    color: #fff;
    padding: 12px;
  }

  h1.adapted {
    letter-spacing: 7px;
    text-transform: uppercase;
    font-weight: bold;
    font: 20px "Lato", sans-serif;
    color: #d4926c;
  }
  h2 {
    letter-spacing: 7px;
    text-transform: uppercase;
    font-weight: bold;
    font: 20px "Lato", sans-serif;
    color: #d4926c;
  }

  .highlight-text {
    text-transform: uppercase;
    font-weight: bold;
    font: "Lato", sans-serif;
    color: #d4926c;
  }

  h3 {
    letter-spacing: 5px;
    text-transform: uppercase;
    font: 20px "Lato", sans-serif;
    color: #111;
  }
  
  /* Turn off parallax scrolling for tablets and phones */
  @media only screen and (max-device-width: 1024px) {
    .bgimg-1, .bgimg-2, .bgimg-3 {
      background-attachment: scroll;
    }
  }

  a {
    font: "Lato", sans-serif;
    color: #5fb3e4;
  }

  a:hover {
    font: "Lato", sans-serif;
    color: #d4926c;
  }
  
  a:visited {
    font: "Lato", sans-serif;
    color: #5fb3e4;
  }
  
  a:active {
    font: "Lato", sans-serif;
    color: #5fb3e4;
  }

  a.darkblue {
    color: #539eca;
  }

  .custom-btn {
    background-color: #dddddd;
    color: #d4926c;
  }

  a.btn-primary {
    color: #d4926c;
    background-color: #e6e6e6;
    border-color: #d4926c;
  }

  b.colored {
    color: #d4926c;
  }
  
  b.colored-alarm {
    color: #f54013;
  }


  /*=====================*/

.bgimg-11 {
    background-image: url('../img/background_02.webp');
    min-height: 100%;
    position: relative;
}

.bgimg-12 {
    background-image: url('../img/background_02.webp');
    min-height: 50%;
    position: relative;
}

.bg-solid-white {
  background-color: whitesmoke !important;
}

.bgimg-12-opac {
  background-image: url('../img/background_02.webp');
  min-height: 15%;
  max-height: 20%;
  position: relative;
  opacity: 1.0;
}


.img-author1 {
  max-width: 235px;
  max-width: auto;
}
.bgimg-shop1 {
  height: 45px;
  max-width: auto;
}
.bgimg-bk1 {
  height: auto;
  max-width: 250px;
}


.top-buffer { 
  margin-top:20px; 
}

.top-buffer-20 { 
  margin-top:20px; 
}

.top-buffer-80 { 
  margin-top:80px; 
}

.top-buffer-120 { 
  margin-top:120px; 
}

.top-bottom-buffer { 
  margin-top:40px; 
  margin-bottom:40px; 
}

.top-bottom-buffer-80 { 
  margin-top:80px; 
  margin-bottom:80px; 
}

.top-bottom-buffer-5 { 
  margin-top:5px; 
  margin-bottom:5px; 
}

.parallax {
  background-attachment: fixed;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}

.popup {
  display: none;
  position: fixed;
  z-index: 10;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(1.0, 1.0, 1.0, 0.5);
}

.popup-content {
  background-color: #fff;
  margin: 15% auto;
  padding: 20px;
  border: 1px solid #888;
  width: fit-content;

  text-align: center;
}

.close:hover,
.close:focus {
  color: black;
  text-decoration: none;
}

popup-image {
  margin-top: 50px;
  margin-left: 20px;
  margin-right: 20px;
  margin-bottom: 20px;
  
  max-width: 75%;
  text-align: center;
}

/*== collapsible elements */

.faq-item {
  overflow: hidden;
}

.faq-question {
  display: flex;
  justify-content: space-between;
  cursor: pointer;
}
.faq-question:hover {
  background-color: #d1d1d1;
  /*color: #e9b28c;*/
}

.faq-answer {
  max-height: 0;
  padding: 0 15px;
  overflow: hidden;
  transition: max-height 0.3s ease, padding 0.3s ease;
}
.faq-answer.active {
  max-height: 1400px;
  padding: 15px;
}

.arrow {
  transition: transform 0.3s ease;
  font-size: 24px;
}
.arrow:before {
  content: '[+]';
}
.arrow.active {
  transition: transform 0.3s ease;
  font-size: 24px;
}
.arrow.active:before {
  content: '[-]';
}

/* New styles for language selector and slider */
.language-selector {
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 101;
}
.language-selector img {
    width: 24px;
    height: auto;
    margin: 0 5px;
    cursor: pointer;
    border: 2px solid transparent;
    border-radius: 3px;
    transition: border-color 0.3s;
}
.language-selector img:hover {
    border-color: #F7CF5D;
}
.language-selector img.active {
    border-color: #F7CF5D;
}

/* Slider styles */
.content-slider {
    position: relative;
    overflow: hidden;
}
.slider-content {
    display: flex;
    transition: transform 0.5s ease-in-out;
}
.slide {
    min-width: 100%;
    max-width: 100%;
    flex-shrink: 0;
}
.slider-nav {
    text-align: center;
    margin: 20px 0;
}
.slider-nav button {
    background: #282E34;
    color: white;
    border: none;
    padding: 10px 20px;
    margin: 0 10px;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s;
}
.slider-nav button:hover,
.slider-nav button.active {
    background: #F7CF5D;
    color: #282E34;
}

.hfield {
    opacity: 0 !important;
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    height: 0 !important;
    width: 0 !important;
    z-index: -1 !important;
    pointer-events: none !important;
}

.vfield {
    display: none !important;
}

/* Styles for content cards */

.content-card {
    background: white;
    border-radius: 15px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
    padding: 40px;
    margin-bottom: 30px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border-left: 5px solid transparent;
}

.content-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0,0,0,0.15);
}

.content-card.challenges {
    border-left-color: #dc3545;
}

.content-card.goals {
    border-left-color: #fd7e14;
}

.content-card.value {
    border-left-color: #28a745;
}

.icon-header {
    display: flex;
    align-items: center;
    margin-bottom: 25px;
}

.icon-circle {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 20px;
    font-size: 24px;
    color: white;
    flex-shrink: 0;
}

.icon-circle.challenges {
    background: linear-gradient(135deg, #dc3545, #c82333);
}

.icon-circle.goals {
    background: linear-gradient(135deg, #fd7e14, #e8590c);
}

.icon-circle.value {
    background: linear-gradient(135deg, #28a745, #1e7e34);
}

.icon-header h4 {
    margin: 0;
    font-size: 1.4rem;
    font-weight: 600;
    color: #282E34;
}

.card-content p {
    margin-bottom: 15px;
    color: #495057;
}

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

.approach-list {
    list-style: none;
    padding: 0;
    margin: 20px 0;
}

.approach-list li {
    padding: 12px 0;
    padding-left: 30px;
    position: relative;
    border-bottom: 1px solid #e9ecef;
}

.approach-list li:last-child {
    border-bottom: none;
}

.approach-list li::before {
    content: "✓";
    position: absolute;
    left: 0;
    top: 12px;
    color: #28a745;
    font-weight: bold;
    font-size: 16px;
}

.cta-section {
    background: linear-gradient(135deg, #282E34, #495057);
    color: white;
    padding: 40px;
    border-radius: 15px;
    text-align: center;
    margin-top: 40px;
}

.cta-button {
    background: #F7CF5D;
    color: #282E34;
    border: none;
    padding: 15px 40px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
    margin-top: 20px;
}

.cta-button:hover {
    background: #f1c40f;
    color: #282E34;
    text-decoration: none;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(247, 207, 93, 0.4);
}

@media (max-width: 768px) {
  .content-card {
      padding: 25px;
  }
  
  .icon-header {
      flex-direction: column;
      text-align: center;
  }
  
  .icon-circle {
      margin-right: 0;
      margin-bottom: 15px;
  }
  
  .section-header h2 {
      font-size: 2rem;
  }
}

/* Hidden language content */
.lang-content {
    display: none;
}
.lang-content.active {
    display: block;
}
