/* ================ MERGED CLASSES ================ */

/* 1. Logo colors */
.logo span,
.logo.is-primary {
  color: #e359a2;
}

/* 2. Header/Footer base */
header,
.footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: white;
}

/* Fix button text vertical alignment */
.button.is-primary,
.btn {
  display: inline-flex; /* Use flexbox for better alignment */
  align-items: center; /* Vertically center content */
  justify-content: center; /* Horizontally center content */
  line-height: 1.2; /* Adjust line height if needed */
  padding: 10px 20px; /* Keep your existing padding */
  height: auto; /* Ensure height adjusts properly */
  font-weight: bold;
  transition: background-color 0.3s;
}

/* 4. Button hover states */
.btn:hover,
.button.is-primary:hover {
  background: #00509d !important;
  border-color: #00509d !important;
}

/* 5. Card base styles */
.card,
.service-card,
.course-card {
  height: 100%;
  display: flex;
  flex-direction: column;
  transition: transform 0.3s ease;
}

/* 6. Card hover effects */
.service-card:hover,
.course-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

/* 7. Content box styles */
.content-box,
.profile-card,
.content-box-about {
  border-radius: 6px;
  box-shadow: 0 2px 3px rgba(10, 10, 10, 0.1);
  padding: 2rem;
  margin-bottom: 2rem;
  background-color: #ffffff;
}

/* 8. Colored boxes */
.right-box,
.left-box {
  background-color: #00519daa;
  color: white;
}

/* 9. Social icon base */
.social-icons,
.social-icon {
  margin-right: 10px;
  color: #dcdcdc;
  font-size: 18px;
  transition: color 0.3s;
}

/* 10. Image container */
.image-container {
  position: relative;
  height: 100%;
  width: 100%;
  border-radius: 8px;
  overflow: hidden;
  margin: 0;
  padding: 0;
}

/* Text Rotator Animation */
.text-rotator {
  margin-top: 2rem;
  text-align: center;
  height: 3rem; /* Adjust based on your text size */
}

.rotating-text {
  position: relative;
  /* display: inline-block; */
  color: white;
  font-size: 1.5rem;
  font-weight: 600;
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
}

.rotating-text span {
  position: absolute;
  left: 0;
  right: 0;
  opacity: 0;
  transition: opacity 1s ease-in-out;
}

.rotating-text span.active {
  opacity: 1;
}

.testimonial-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 2rem;
  position: relative;
}

.card.is-active {
  opacity: 1;
  height: auto;
  margin-bottom: 1.5rem;
}

.card-positions {
  min-height: 300px;
}

/* ================ UNIQUE CLASS EXTENSIONS ================ */

/* General Styles */
html,
body {
  margin: 0;
  padding: 0;
}

body,
button,
input,
select,
textarea {
  font-family: "Poppins", sans-serif !important;
}

html {
  scroll-behavior: smooth;
}

body {
  height: 100%;
  background-color: #f8f9fa;
  color: #333;
}

/* Header specifics */
header {
  padding: 20px 50px;
}

.footer {
  padding: 3rem 1.5rem 2rem;
  background: #333;
}

.columns.is-vcentered.pt-2 {
  background-color: #00509d !important;
  padding: 1rem 0 1rem !important;
}

.logo {
  font-size: 18px;
  font-weight: bold;
}

/* Navigation */
nav ul {
  list-style: none;
  display: flex;
  gap: 20px;
}

.navbar-item img {
  max-height: 100%;
}

.navbar-style {
  font-weight: bold;
}

a.navbar-item {
  color: #00509d !important;
}

/* Content Sections */
main,
.container-about {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

main {
  padding: 50px;
}

.container-about {
  flex-direction: column;
  max-width: 1200px;
  margin: 0 auto;
  padding: 2rem;
}

.content {
  max-width: 100%;
}

/* Typography */
h1,
.titleTranslation {
  font-size: 48px;
  margin-bottom: 10px;
}

.titleTranslation {
  font-weight: bold;
}

.subtitle {
  font-size: 18px;
  color: #777;
  margin-bottom: 20px;
}

.landingParagraf {
  margin-bottom: 15px;
}

.highlight {
  color: #e359a3;
  font-weight: 600;
}

.highlight-about {
  background-color: #6a6b6b1f;
  padding: 0.75rem 1.25rem;
  border-radius: 6px;
  font-weight: 600;
  color: #e359a2;
  display: inline-block;
}

/* Buttons & Links */
a {
  all: unset;
}

.a-link {
  text-decoration: underline;
}

.button.is-primary {
  background-color: hsl(328, 71%, 62%) !important;
  border-color: hsl(328, 71%, 62%) !important;
}

.contact-button {
  background-color: rgba(227, 89, 162, 0.3);
  border-color: rgba(227, 89, 162, 1);
  color: white;
}

/* Card specifics */
.service-card,
.course-card {
  margin-bottom: 2rem;
}

.service-card .card-content {
  display: flex;
  flex-direction: column;
  flex-grow: 1;
  padding: 1rem;
}

.service-card .content {
  width: 100%;
  padding: 0 0.5rem;
  margin: 0;
  text-align: justify;
  text-align-last: center;
}

.service-card .title.is-4 {
  margin-bottom: 0.75rem;
}

.service-card p {
  margin-bottom: 0.8em;
}

.service-card ol,
.service-card ul {
  padding-left: 1.25rem;
  margin: 0.5em auto;
  width: 90%;
}

.service-card li {
  margin-bottom: 0.3rem;
  text-align: left;
}

.card-footer {
  margin-top: auto;
}

/* Icon Styling */
.icon-circle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: linear-gradient(135deg, #2b5876 0%, #4e4376 100%);
  color: white;
  margin-bottom: 0.5rem;
}

/* Hero Sections */
.hero.is-primary {
  background: linear-gradient(135deg, #00509d 0%, #e359a3 100%);
  /* background: linear-gradient(135deg, #2b5876 0%, #4e4376 100%); */
}

.hero.is-medium .hero-body {
  padding: 2rem;
}

.hero-background {
  position: absolute;
  object-fit: cover;
  width: 100%;
  height: 100%;
}

.titleMOL {
  color: white;
  font-size: 4rem;
}

.subtitleMOL {
  color: white;
  font-size: 2rem;
}

/* Content Box specifics */
.content-box {
  width: 90%;
  max-width: 800px;
}

.profile-card {
  max-width: 800px;
  margin: 2rem auto;
  box-shadow: 0 0.5em 1em -0.125em rgba(10, 10, 10, 0.1),
    0 0px 0 1px rgba(10, 10, 10, 0.02);
}

.right-box {
  margin-left: auto;
}

.left-box {
  margin-right: auto;
}

.content-box-about {
  padding: 3rem !important;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.content-box-about p {
  font-size: 1.2rem;
  line-height: 1.8;
  color: #00509d;
  margin-bottom: 1.25rem;
}

/* Course Specific */
.course-divider {
  height: 4px;
  background-color: #f5f5f5;
  margin: 1.5rem 0;
}

.course-title {
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

.read-more {
  color: #3273dc;
  cursor: pointer;
  font-size: 0.9rem;
}

.read-more:hover {
  text-decoration: underline;
}

/* Profile Specific */
.profile-image {
  width: 250px;
  height: 250px;
  object-fit: cover;
  border-radius: 4px;
}

/* Social Icons */
.social-icon {
  margin-right: 1rem;
  font-size: 1.5rem;
}

.social-icons a:hover,
.social-icon:hover {
  color: #ff6b6b;
}

.social-icon:hover {
  color: #3273dc;
}

/* Images */
.illustration img {
  max-width: 100%;
}

.bulmaImg {
  width: 128px;
  height: 24px;
  margin-top: 10px;
}

.about-image {
  width: 80%;
  height: 100%;
  object-fit: cover;
  display: block;
  margin: 1rem 0 0.7rem 0;
  float: right;
}

.about-image-kanton {
  width: 8%;
}

.image-overlay {
  position: absolute;
  top: 60%;
  left: 50%;
  transform: translate(-50%, -50%);
  background-color: rgba(58, 81, 211, 0.6);
  color: white;
  padding: 1.5rem 3rem;
  text-align: center;
  font-size: 2.2rem;
  font-weight: bold;
  letter-spacing: 1px;
  border-radius: 4px;
  max-width: 400px;
}

/* Utilities */
.columns:not(:last-child) {
  margin-bottom: 0;
}

.section-title {
  position: relative;
  margin-bottom: 3rem;
}

.section-title:after {
  content: "";
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 3px;
  background: linear-gradient(135deg, #2b5876 0%, #4e4376 100%);
}

.services-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.file.is-primary .file-cta .input.is-primary {
  background-color: #e359a2;
}

.fileUpload {
  margin: 20px;
}

.primary-bg {
  background-color: #00509d !important;
}

.contact-section {
  height: calc(100vh - 132px);
  margin: 0;
  padding: 0;
}

.contact-content {
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 40px;
}

/* About Section */
#about {
  padding: 0 !important;
  margin: 0 !important;
}

.container-about {
  padding: 0 !important;
  max-width: 100% !important;
}

.columns.is-vcentered {
  margin: 0 !important;
  align-items: center;
}

.columns.is-vcentered > .column {
  padding: 0 !important;
}

/* Responsive Design */
@media (max-width: 768px) {
  .columns {
    flex-direction: column;
  }

  .column.is-6 {
    width: 100%;
  }

  .content-box-about {
    padding: 1.75rem !important;
    margin-bottom: 2rem;
  }

  .image-container {
    height: 350px;
  }

  .image-overlay {
    font-size: 1.8rem;
    padding: 1rem 2rem;
  }

  .columns.is-vcentered {
    flex-direction: column-reverse;
  }
}

@media (max-width: 480px) {
  .container-about {
    padding: 1rem;
  }

  .content-box p {
    font-size: 1rem;
  }

  .image-overlay {
    font-size: 1.5rem;
  }
}

.file-name {
  max-width: 100%;
}

/* PRIVACY */

li.list-privacy {
  list-style-type: disc;
  padding-left: 1.5em;
  margin-left: 2em;
}

/* Testimonials Section */
.testimonial-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 2rem;
  position: relative;
}

.testimonial-title {
  text-align: center;
  margin-bottom: 2rem;
}

.testimonial-slider {
  position: relative;
  overflow: hidden;
  padding: 0 40px; /* Space for arrows */
}

.testimonial-track {
  display: flex;
  transition: transform 0.5s ease;
}

.testimonial-card {
  flex: 0 0 calc(100% / 3); /* Show 3 cards by default */
  padding: 0 10px;
  box-sizing: border-box;
}

.card.testimonial {
  height: 100%;
  min-height: 300px;
  display: flex;
  flex-direction: column;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.testimonial .card-content {
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  padding: 1.5rem;
}

.testimonial .content {
  flex-grow: 1;
}

.testimonial-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: calc(100% - 80px);
  display: flex;
  justify-content: space-between;
  z-index: 10;
}

.testimonial-nav button {
  background: rgba(255, 255, 255, 0.9);
  border: none;
  border-radius: 50%;
  width: 40px;
  height: 40px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  color: #00509d;
  transition: all 0.3s ease;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

.testimonial-nav button:hover {
  background: #00509d;
  color: white;
}

.testimonial-dots {
  display: flex;
  justify-content: center;
  margin-top: 20px;
}

.testimonial-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #ddd;
  margin: 0 5px;
  cursor: pointer;
  transition: background 0.3s ease;
}

.testimonial-dot.active {
  background: #00509d;
}

/* Responsive adjustments */
@media (max-width: 1023px) {
  .testimonial-card {
    flex: 0 0 50%; /* Show 2 cards on tablet */
  }
}

@media (max-width: 767px) {
  .testimonial-slider {
    padding: 0 30px;
  }

  .testimonial-card {
    flex: 0 0 100%; /* Show 1 card on mobile */
  }

  .testimonial-nav {
    width: calc(100% - 60px);
  }

  .testimonial-nav button {
    width: 30px;
    height: 30px;
    font-size: 1.2rem;
  }
}

/* Add this to prevent partial card visibility */
.testimonial-slider {
  overflow: hidden;
  width: 100%;
}

.testimonial-track {
  width: 100%;
}

/* Ensure cards take full width of their container */
.testimonial-card {
  flex: 0 0 calc(100% / 3);
  max-width: calc(100% / 3);
  box-sizing: border-box;
}

/* Remove extra space when dots are clicked */
.testimonial-track {
  align-items: flex-start;
}

/* Responsive adjustments */
@media (max-width: 1023px) {
  .testimonial-card {
    flex: 0 0 50%;
    max-width: 50%;
  }
}

@media (max-width: 767px) {
  .testimonial-card {
    flex: 0 0 100%;
    max-width: 100%;
  }
}
