/******************************************************  COMPONENTS ******************************************************/

/******************************************************  Global  ******************************************************/
.pre-title {
  font-size: 1rem;
  font-weight: 500;
  color: var(--light_blue);
  text-transform: uppercase;
  margin-bottom: 0.2rem;
  display: block;
}

.title {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--navy_blue);
  line-height: 1.1;
  margin-bottom: 1.5rem;
  display: block;
}

.text {
  font-size: 1.1rem;
  line-height: 1.6;
  color: var(--navy_blue);
  margin-bottom: 0;
}

.text p {
  margin-bottom: 1rem;
}

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

@media (max-width: 991.98px) {
  .title {
    font-size: 2rem;
  }

  .text {
    font-size: 1rem;
  }
}

@media (max-width: 767.98px) {
  .title {
    font-size: 1.75rem;
  }

  .pre-title {
    font-size: 0.9rem;
  }
}

.mw-90 {
  max-width: 90%;
}

.mw-80 {
  max-width: 80%;
}

.mw-70 {
  max-width: 70%;
}

.mw-60 {
  max-width: 60%;
}

blockquote {
  background: #E6EEFF;
  padding: 2rem;
  border-left: solid 6px #6791fa;
  margin-top: 2rem;
  text-align: center;
  border-radius: 16px;
}

blockquote p:last-child {
  max-width: 500px;
  margin: 0 auto;
}

@media (max-width: 768px) {
  .invert-order .two-columns-row {
    flex-direction: column-reverse;
  }
}

@media (min-width: 991.98px) {
  .title-mw-90 .title {
    max-width: 90%;
  }

  .title-mw-80 .title {
    max-width: 80%;
  }

  .title-mw-70 .title {
    max-width: 70%;
  }

  .title-mw-60 .title {
    max-width: 60%;
  }
}


.bg-white-blur .two-columns-row {
  background: #ffffffd9;
  padding: 2rem 3rem;
  border-radius: 1rem;
  backdrop-filter: blur(2px);
}

@media (max-width: 768px) {
  .bg-white-blur .two-columns-row {
    padding: 2rem 1.8rem;
  }
}

.mbm-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  padding: 0 2rem;
  border-radius: 6px;
  font-weight: 600;
  text-transform: uppercase;
  border: none;
  cursor: pointer;
  height: 50px;
  background: var(--navy_blue);
  color: var(--white);
}

.mbm-btn:hover {
  filter: brightness(1.15);
}

/******************************************************  Home Hero ******************************************************/
.home-hero {
  position: relative;
  height: 105vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: linear-gradient(135deg, var(--navy_blue) 0%, var(--light_blue) 100%);
  top: -100px;
  margin-bottom: -5rem;
}

/* Video Background */
.hero-video-background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  overflow: hidden;
}

/* Hide background images when video is present */
.home-hero:has(.hero-video-background) .hero-background,
.home-hero:has(.hero-video-background) .hero-background-mobile {
  display: none;
}

/* Fallback for browsers that don't support :has() */
.hero-video-background+.hero-background,
.hero-video-background+.hero-background-mobile {
  display: none;
}

.hero-video-background video {
  position: absolute;
  top: 50%;
  left: 50%;
  min-width: 100%;
  min-height: 100%;
  width: auto;
  height: auto;
  transform: translate(-50%, -50%);
  object-fit: cover;
}

.hero-video-background img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Background Images */
.hero-background,
.hero-background-mobile {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.hero-bg-image,
.hero-bg-image-mobile {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  opacity: 0;
  transition: opacity 1s ease-in-out;
}

.hero-bg-image.active,
.hero-bg-image-mobile.active {
  opacity: 1;
}

/* Mobile Background */
.hero-background-mobile {
  display: none;
}

/* Overlay/Mask */
/* .hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgb(0 12 81 / 81%);
  z-index: 2;
  transition: opacity 0.3s ease;
} */

/* Content */
.hero-content {
  position: relative;
  z-index: 3;
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
  padding: 0 2rem;
}

.hero-title {
  font-size: 5.5rem;
  line-height: 1.1;
  margin-bottom: 1.5rem;
}

.hero-subtitle {
  font-size: 1.8rem;
  font-weight: 500;
  line-height: 1.3;
  margin-bottom: 0;
  opacity: 0.9;
}

/* Bottom Mask */
.hero-mask {
  position: absolute;
  bottom: -112px;
  left: 0;
  width: 100%;
  height: 159px;
  /* background: #F5F6FF; */
  background: linear-gradient(90deg, #fff4de 0%, #C7E4FE 100%);
  -webkit-mask: url(../../images/subtraction-hero-bottom-mask.svg) no-repeat center bottom;
  mask: url(../../images/subtraction-hero-bottom-mask.svg) no-repeat center bottom;
  -webkit-mask-size: 100% 100%;
  mask-size: 100% 100%;
  z-index: 4;
  min-width: 100%;
}

/* Responsive */
@media (max-width: 991.98px) {
  .hero-title {
    font-size: 3rem;
    letter-spacing: 1px;
  }

  .hero-subtitle {
    font-size: 1.4rem;
    letter-spacing: 0.5px;
  }

  .hero-background {
    display: none;
  }

  .hero-background-mobile {
    display: block;
  }

  .hero-video-background video {
    min-width: 100%;
    min-height: 100%;
  }
}

@media (max-width: 767.98px) {
  .hero-title {
    font-size: 2.5rem;
    margin-bottom: 1rem;
  }

  .hero-subtitle {
    font-size: 1.2rem;
  }

  .hero-content {
    padding: 0 1rem;
  }

  .hero-mask {
    -webkit-mask-size: 100% 100%;
    mask-size: 100% 100%;
    bottom: -60px;
    min-width: 130%;
    left: -15%;
  }

  .hero-video-background video {
    min-width: 100%;
    min-height: 100%;
  }
}

/******************************************************  Two Columns ******************************************************/
.two-columns {
  padding: 6rem 0;
  position: relative;
}

.two-columns .container {
  position: relative;
  z-index: 2;
}

.two-columns-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: nowrap;
  width: 100%;
}

.two-columns-col {
  flex-shrink: 0;
}

@media (min-width: 992px) {
  .two-columns.img-left-3 .image-content img {
    position: relative;
    left: -3rem;
  }
}

/* Dynamic Column Widths with Gap Calculation */
.two-columns-row.gap-1 .two-columns-col.width-10 {
  width: calc(10% - 0.5rem);
}

.two-columns-row.gap-1 .two-columns-col.width-20 {
  width: calc(20% - 0.5rem);
}

.two-columns-row.gap-1 .two-columns-col.width-30 {
  width: calc(30% - 0.5rem);
}

.two-columns-row.gap-1 .two-columns-col.width-40 {
  width: calc(40% - 0.5rem);
}

.two-columns-row.gap-1 .two-columns-col.width-50 {
  width: calc(50% - 0.5rem);
}

.two-columns-row.gap-1 .two-columns-col.width-60 {
  width: calc(60% - 0.5rem);
}

.two-columns-row.gap-1 .two-columns-col.width-70 {
  width: calc(70% - 0.5rem);
}

.two-columns-row.gap-1 .two-columns-col.width-80 {
  width: calc(80% - 0.5rem);
}

.two-columns-row.gap-1 .two-columns-col.width-90 {
  width: calc(90% - 0.5rem);
}

.two-columns-row.gap-1 .two-columns-col.width-100 {
  width: calc(100% - 0.5rem);
}

.two-columns-row.gap-2 .two-columns-col.width-10 {
  width: calc(10% - 1rem);
}

.two-columns-row.gap-2 .two-columns-col.width-20 {
  width: calc(20% - 1rem);
}

.two-columns-row.gap-2 .two-columns-col.width-30 {
  width: calc(30% - 1rem);
}

.two-columns-row.gap-2 .two-columns-col.width-40 {
  width: calc(40% - 1rem);
}

.two-columns-row.gap-2 .two-columns-col.width-50 {
  width: calc(50% - 1rem);
}

.two-columns-row.gap-2 .two-columns-col.width-60 {
  width: calc(60% - 1rem);
}

.two-columns-row.gap-2 .two-columns-col.width-70 {
  width: calc(70% - 1rem);
}

.two-columns-row.gap-2 .two-columns-col.width-80 {
  width: calc(80% - 1rem);
}

.two-columns-row.gap-2 .two-columns-col.width-90 {
  width: calc(90% - 1rem);
}

.two-columns-row.gap-2 .two-columns-col.width-100 {
  width: calc(100% - 1rem);
}

.two-columns-row.gap-3 .two-columns-col.width-10 {
  width: calc(10% - 1.5rem);
}

.two-columns-row.gap-3 .two-columns-col.width-20 {
  width: calc(20% - 1.5rem);
}

.two-columns-row.gap-3 .two-columns-col.width-30 {
  width: calc(30% - 1.5rem);
}

.two-columns-row.gap-3 .two-columns-col.width-40 {
  width: calc(40% - 1.5rem);
}

.two-columns-row.gap-3 .two-columns-col.width-50 {
  width: calc(50% - 1.5rem);
}

.two-columns-row.gap-3 .two-columns-col.width-60 {
  width: calc(60% - 1.5rem);
}

.two-columns-row.gap-3 .two-columns-col.width-70 {
  width: calc(70% - 1.5rem);
}

.two-columns-row.gap-3 .two-columns-col.width-80 {
  width: calc(80% - 1.5rem);
}

.two-columns-row.gap-3 .two-columns-col.width-90 {
  width: calc(90% - 1.5rem);
}

.two-columns-row.gap-3 .two-columns-col.width-100 {
  width: calc(100% - 1.5rem);
}

.two-columns-row.gap-4 .two-columns-col.width-10 {
  width: calc(10% - 2rem);
}

.two-columns-row.gap-4 .two-columns-col.width-20 {
  width: calc(20% - 2rem);
}

.two-columns-row.gap-4 .two-columns-col.width-30 {
  width: calc(30% - 2rem);
}

.two-columns-row.gap-4 .two-columns-col.width-40 {
  width: calc(40% - 2rem);
}

.two-columns-row.gap-4 .two-columns-col.width-50 {
  width: calc(50% - 2rem);
}

.two-columns-row.gap-4 .two-columns-col.width-60 {
  width: calc(60% - 2rem);
}

.two-columns-row.gap-4 .two-columns-col.width-70 {
  width: calc(70% - 2rem);
}

.two-columns-row.gap-4 .two-columns-col.width-80 {
  width: calc(80% - 2rem);
}

.two-columns-row.gap-4 .two-columns-col.width-90 {
  width: calc(90% - 2rem);
}

.two-columns-row.gap-4 .two-columns-col.width-100 {
  width: calc(100% - 2rem);
}

.two-columns-row.gap-5 .two-columns-col.width-10 {
  width: calc(10% - 2.5rem);
}

.two-columns-row.gap-5 .two-columns-col.width-20 {
  width: calc(20% - 2.5rem);
}

.two-columns-row.gap-5 .two-columns-col.width-30 {
  width: calc(30% - 2.5rem);
}

.two-columns-row.gap-5 .two-columns-col.width-40 {
  width: calc(40% - 2.5rem);
}

.two-columns-row.gap-5 .two-columns-col.width-50 {
  width: calc(50% - 2.5rem);
}

.two-columns-row.gap-5 .two-columns-col.width-60 {
  width: calc(60% - 2.5rem);
}

.two-columns-row.gap-5 .two-columns-col.width-70 {
  width: calc(70% - 2.5rem);
}

.two-columns-row.gap-5 .two-columns-col.width-80 {
  width: calc(80% - 2.5rem);
}

.two-columns-row.gap-5 .two-columns-col.width-90 {
  width: calc(90% - 2.5rem);
}

.two-columns-row.gap-5 .two-columns-col.width-100 {
  width: calc(100% - 2.5rem);
}

.two-columns-row.gap-6 .two-columns-col.width-10 {
  width: calc(10% - 3rem);
}

.two-columns-row.gap-6 .two-columns-col.width-20 {
  width: calc(20% - 3rem);
}

.two-columns-row.gap-6 .two-columns-col.width-30 {
  width: calc(30% - 3rem);
}

.two-columns-row.gap-6 .two-columns-col.width-40 {
  width: calc(40% - 3rem);
}

.two-columns-row.gap-6 .two-columns-col.width-50 {
  width: calc(50% - 3rem);
}

.two-columns-row.gap-6 .two-columns-col.width-60 {
  width: calc(60% - 3rem);
}

.two-columns-row.gap-6 .two-columns-col.width-70 {
  width: calc(70% - 3rem);
}

.two-columns-row.gap-6 .two-columns-col.width-80 {
  width: calc(80% - 3rem);
}

.two-columns-row.gap-6 .two-columns-col.width-90 {
  width: calc(90% - 3rem);
}

.two-columns-row.gap-6 .two-columns-col.width-100 {
  width: calc(100% - 3rem);
}

.two-columns-row.gap-7 .two-columns-col.width-10 {
  width: calc(10% - 3.5rem);
}

.two-columns-row.gap-7 .two-columns-col.width-20 {
  width: calc(20% - 3.5rem);
}

.two-columns-row.gap-7 .two-columns-col.width-30 {
  width: calc(30% - 3.5rem);
}

.two-columns-row.gap-7 .two-columns-col.width-40 {
  width: calc(40% - 3.5rem);
}

.two-columns-row.gap-7 .two-columns-col.width-50 {
  width: calc(50% - 3.5rem);
}

.two-columns-row.gap-7 .two-columns-col.width-60 {
  width: calc(60% - 3.5rem);
}

.two-columns-row.gap-7 .two-columns-col.width-70 {
  width: calc(70% - 3.5rem);
}

.two-columns-row.gap-7 .two-columns-col.width-80 {
  width: calc(80% - 3.5rem);
}

.two-columns-row.gap-7 .two-columns-col.width-90 {
  width: calc(90% - 3.5rem);
}

.two-columns-row.gap-7 .two-columns-col.width-100 {
  width: calc(100% - 3.5rem);
}

.two-columns-row.gap-8 .two-columns-col.width-10 {
  width: calc(10% - 4rem);
}

.two-columns-row.gap-8 .two-columns-col.width-20 {
  width: calc(20% - 4rem);
}

.two-columns-row.gap-8 .two-columns-col.width-30 {
  width: calc(30% - 4rem);
}

.two-columns-row.gap-8 .two-columns-col.width-40 {
  width: calc(40% - 4rem);
}

.two-columns-row.gap-8 .two-columns-col.width-50 {
  width: calc(50% - 4rem);
}

.two-columns-row.gap-8 .two-columns-col.width-60 {
  width: calc(60% - 4rem);
}

.two-columns-row.gap-8 .two-columns-col.width-70 {
  width: calc(70% - 4rem);
}

.two-columns-row.gap-8 .two-columns-col.width-80 {
  width: calc(80% - 4rem);
}

.two-columns-row.gap-8 .two-columns-col.width-90 {
  width: calc(90% - 4rem);
}

.two-columns-row.gap-8 .two-columns-col.width-100 {
  width: calc(100% - 4rem);
}

.two-columns-row.gap-9 .two-columns-col.width-10 {
  width: calc(10% - 4.5rem);
}

.two-columns-row.gap-9 .two-columns-col.width-20 {
  width: calc(20% - 4.5rem);
}

.two-columns-row.gap-9 .two-columns-col.width-30 {
  width: calc(30% - 4.5rem);
}

.two-columns-row.gap-9 .two-columns-col.width-40 {
  width: calc(40% - 4.5rem);
}

.two-columns-row.gap-9 .two-columns-col.width-50 {
  width: calc(50% - 4.5rem);
}

.two-columns-row.gap-9 .two-columns-col.width-60 {
  width: calc(60% - 4.5rem);
}

.two-columns-row.gap-9 .two-columns-col.width-70 {
  width: calc(70% - 4.5rem);
}

.two-columns-row.gap-9 .two-columns-col.width-80 {
  width: calc(80% - 4.5rem);
}

.two-columns-row.gap-9 .two-columns-col.width-90 {
  width: calc(90% - 4.5rem);
}

.two-columns-row.gap-9 .two-columns-col.width-100 {
  width: calc(100% - 4.5rem);
}

.two-columns-row.gap-10 .two-columns-col.width-10 {
  width: calc(10% - 5rem);
}

.two-columns-row.gap-10 .two-columns-col.width-20 {
  width: calc(20% - 5rem);
}

.two-columns-row.gap-10 .two-columns-col.width-30 {
  width: calc(30% - 5rem);
}

.two-columns-row.gap-10 .two-columns-col.width-40 {
  width: calc(40% - 5rem);
}

.two-columns-row.gap-10 .two-columns-col.width-50 {
  width: calc(50% - 5rem);
}

.two-columns-row.gap-10 .two-columns-col.width-60 {
  width: calc(60% - 5rem);
}

.two-columns-row.gap-10 .two-columns-col.width-70 {
  width: calc(70% - 5rem);
}

.two-columns-row.gap-10 .two-columns-col.width-80 {
  width: calc(80% - 5rem);
}

.two-columns-row.gap-10 .two-columns-col.width-90 {
  width: calc(90% - 5rem);
}

.two-columns-row.gap-10 .two-columns-col.width-100 {
  width: calc(100% - 5rem);
}

/* Column Content */
.column-content {
  /* height: 100%; */
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.text-content {
  max-width: 100%;
}

/* Image Content */
.image-content {
  position: relative;
  width: 100%;
  height: 100%;
  min-height: 400px;
}


/* Sticky Image - Desktop Only */
@media (min-width: 992px) {
  .two-columns.image-sticky {
    overflow: visible !important;
  }

  .two-columns.image-sticky .column-content {
    position: sticky !important;
    top: 20px !important;
    z-index: 10;
  }

  .two-columns.image-sticky .two-columns-col {
    position: sticky !important;
    top: 0px !important;
    z-index: 10;
  }

  .two-columns.image-sticky .image-content {
    position: sticky !important;
    top: 0px !important;
    z-index: 10;
  }

  .two-columns.image-sticky .two-columns-row {
    align-items: unset;
  }

  .two-columns.image-sticky .container {
    overflow: visible !important;
  }

  .two-columns.image-sticky .two-columns-row {
    overflow: visible !important;
  }

  .two-columns.image-sticky .two-columns-col {
    overflow: visible !important;
  }

  .two-columns.image-sticky .column-content {
    overflow: visible !important;
  }

  .two-columns.image-sticky .image-content {
    overflow: visible !important;
    position: relative;
  }

  .two-columns.image-sticky .image-content img {
    position: sticky !important;
    top: 100px !important;
    z-index: 10;
  }
}

/* Reset for mobile/tablet */
@media (max-width: 991.98px) {
  .two-columns.image-sticky .image-content img {
    position: relative !important;
    top: auto !important;
  }
}

/* Debug - Adicionar altura mínima para testar */
@media (min-width: 992px) {
  .two-columns.image-sticky .text-content {
    min-height: 800px;
    /* Temporário para testar */
  }
}



.image-content .main-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.image-content .small-image {
  position: absolute;
  width: 120px;
  height: 120px;
  object-fit: cover;
  border-radius: 8px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
  z-index: 10;
}

/* Small Image Positions */
.image-content .small-image.position-top_left {
  top: -3rem;
  left: -3rem;
}

.image-content .small-image.position-bottom_left {
  bottom: -3rem;
  left: -3rem;
}

.image-content .small-image.position-top_right {
  top: -3rem;
  right: -3rem;
}

.image-content .small-image.position-bottom_right {
  bottom: -3rem;
  right: -3rem;
}

@media (max-width: 768px) {
  .image-content .small-image.position-top_left {
    top: 0.5rem;
    left: 0.5rem;
    padding: 6px;
    background: #ffffff94;
    backdrop-filter: blur(3px);
  }

  .image-content .small-image.position-bottom_left {
    bottom: 0.5rem;
    left: 0.5rem;
    padding: 6px;
    background: #ffffff94;
    backdrop-filter: blur(3px);
  }

  .image-content .small-image.position-top_right {
    top: 0.5rem;
    right: 0.5rem;
    padding: 6px;
    background: #ffffff94;
    backdrop-filter: blur(3px);
  }

  .image-content .small-image.position-bottom_right {
    bottom: 0.5rem;
    right: 0.5rem;
    padding: 6px;
    background: #ffffff94;
    backdrop-filter: blur(3px);
  }
}

/* Video Content */
.video-content {
  position: relative;
  width: 100%;
  height: 0;
  padding-bottom: 56.25%;
  /* 16:9 Aspect Ratio */
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.video-content iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: none;
}

/* Card Content */
.card-content {
  position: relative;
  width: 100%;
  border-radius: 12px;
  /* box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1); */
  height: 100%;
  display: flex;
  flex-direction: column;
}

.card-content .card-top-image {
  width: 90%;
  height: 290px;
  position: relative;
  top: -3rem;
  left: 5%;
  margin-bottom: -2rem;
}

.card-content .card-top-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 10px;
  box-shadow: 0 12px 44px -4px #0612442b;
}

.card-content .card-body {
  flex: 1;
  padding: 1rem 2rem 2rem 2rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.card-content .card-text {
  color: #00072f;
  margin: 0;
  background: #ffffff4a;
  padding: 1rem;
  backdrop-filter: blur(10px);
  border: 2px solid transparent;
  border-radius: 15px;
  background: linear-gradient(#ffffff, white) padding-box, linear-gradient(314deg, #b0cce9, #fff1d1) border-box;
}

.card-content .card-text p {
  margin-bottom: 1rem;
}

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

/* Card Background Variants */
.card-content.bg-gradient_blue_green {
  background: linear-gradient(326deg, #c8b89778 0%, #6992b86b 100%);
  /* background: linear-gradient(135deg, var(--navy_blue) 0%, var(--light_blue) 100%); */
  color: white;
}

.card-content.bg-light_blue_bg {
  background: var(--light-blue-bg);
  color: var(--navy_blue);
}

.card-content.bg-white {
  background: var(--white);
  color: var(--navy_blue);
}

.card-content.bg-whitesmoke {
  background: var(--light-gray);
  color: var(--navy_blue);
}

.card-content.bg-black {
  background: var(--black);
  color: var(--white);
}

.card-content.bg-xanthous {
  background: var(--light_blue);
  color: var(--navy_blue);
}

.card-content.bg-light_cyan {
  background: var(--light_blue);
  color: var(--navy_blue);
}

.card-content.bg-cerulean {
  background: var(--navy_blue);
  color: var(--white);
}

.card-content.bg-prussian_blue {
  background: var(--navy_blue);
  color: var(--white);
}

.card-content.bg-blue_charcoal {
  background: var(--navy_blue);
  color: var(--white);
}

/* Responsive */
@media (max-width: 991.98px) {
  .two-columns {
    padding: 4rem 0;
  }

  .image-content {
    min-height: 300px;
  }

  .image-content .small-image {
    width: 100px;
    height: 100px;
  }

  .card-content .card-top-image {
    height: 180px;
  }

  .card-content .card-body {
    padding: 1.5rem;
  }

  /* Reset column widths on mobile - no gap calculation needed */
  .two-columns-col.width-10,
  .two-columns-col.width-20,
  .two-columns-col.width-30,
  .two-columns-col.width-40,
  .two-columns-col.width-50,
  .two-columns-col.width-60,
  .two-columns-col.width-70,
  .two-columns-col.width-80,
  .two-columns-col.width-90,
  .two-columns-col.width-100 {
    width: 100% !important;
  }

  .two-columns-row {
    flex-wrap: wrap;
    gap: 2rem !important;
  }
}

@media (max-width: 767.98px) {
  .two-columns {
    padding: 3rem 0;
  }

  .image-content {
    min-height: 250px;
  }

  .image-content .small-image {
    width: 80px;
    height: 80px;
  }

  .card-content .card-top-image {
    height: 160px;
  }

  .card-content .card-body {
    padding: 1.25rem;
  }

  .text-content .pre-title,
  .text-content .title {
    text-align: center;
  }

  .two-columns-row {
    gap: 1.5rem !important;
  }
}



/******************************************************  Academia Info ******************************************************/
/* Academia Info Component Styles */
.academia-info-section {
  padding: 4rem 0;
  /* background-color: var(--light-blue-bg); */
}

.academia-header {
  text-align: center;
  margin-bottom: 3rem;
}

.academia-pre-title {
  color: var(--light_blue);
  font-size: 1.1rem;
  font-weight: 500;
  margin-bottom: 0.5rem;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.academia-title {
  color: var(--navy_blue);
  font-size: 2.5rem;
  font-weight: 700;
  margin: 0;
  line-height: 1.2;
}

.academia-content {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

.academia-card {
  /* background: var(--white); */
  background: #ffffff69;
  border-radius: 12px;
  padding: 2rem;
  /* box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08); */
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

/* University card layout with image */
.university-content {
  display: flex;
  align-items: flex-start;
  gap: 2rem;
}

.university-text {
  flex: 1;
  color: var(--gray);
  line-height: 1.6;
}

.university-text p {
  margin-bottom: 1rem;
}

.university-text p:last-child {
  margin-bottom: 0;
}

@media (min-width: 992px) {
  .university-image {
    flex-shrink: 0;
    width: 380px;
    border-radius: 8px;
    overflow: hidden;
    position: relative;
    margin-bottom: -6rem;
  }
}

@media (max-width: 991px) {
  .university-image {
    flex-shrink: 0;
    width: 300px;
    border-radius: 8px;
    overflow: hidden;
  }
}

.university-image img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 0.3s ease;
}

@media (max-width: 768px) {
  .university-image {
    aspect-ratio: 1 / 1;
    object-fit: cover;
  }
}


.university-image:hover img {
  transform: scale(1.05);
}

/* Mobile responsive for university card */
@media (max-width: 991.98px) {
  .university-content {
    flex-direction: column;
    gap: 1.5rem;
  }

  .university-image {
    width: 100%;
    max-width: 400px;
    margin: 0 auto;
  }
}

/* Podcast Link Styles */
.podcast-link-container {
  margin-top: 0.5rem;
}

.podcast-link {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: var(--navy_blue);
  text-decoration: none;
  font-weight: 500;
  background: #fff;
  width: fit-content;
  padding: 2px 20px 0px 2px;
  border-radius: 100px;
}

.podcast-icon {
  width: 50px;
  height: auto;
  object-fit: cover;
}

.podcast-title {
  font-size: 0.95rem;
  font-weight: 600;
}



/* START Podcast bars animation */
.eq {
  display: inline-flex;
  align-items: flex-end;
  width: 22px;
  height: 16px;
  gap: 4px;
}

.eq i {
  display: block;
  width: 3px;
  height: 100%;
  border-radius: 2px;
  background: #3b82f6;
  transform-origin: 50% 100%;
  animation: bounce 3s ease-in-out infinite;
  opacity: .95;
}

.eq i:nth-child(1) {
  animation-duration: 2.1s;
}

.eq i:nth-child(2) {
  animation-duration: 2.6s;
}

.eq i:nth-child(3) {
  animation-duration: 1.8s;
}

.eq i:nth-child(4) {
  animation-duration: 2.4s;
}

@keyframes bounce {
  0% {
    transform: scaleY(.25)
  }

  10% {
    transform: scaleY(.9)
  }

  20% {
    transform: scaleY(.4)
  }

  35% {
    transform: scaleY(1)
  }

  55% {
    transform: scaleY(.35)
  }

  70% {
    transform: scaleY(.8)
  }

  85% {
    transform: scaleY(.5)
  }

  100% {
    transform: scaleY(.25)
  }
}

@media (prefers-reduced-motion: reduce) {
  .eq i {
    animation: none;
    transform: scaleY(.6);
  }
}

/* END Podcast bars animation */




/* Responsive Design for Podcast Link */
@media (max-width: 767.98px) {
  .podcast-link-container {
    margin-top: 1.25rem;
    padding-top: 1.25rem;
  }

  .podcast-link {
    padding: 0.6rem 0.875rem;
    font-size: 0.9rem;
  }

  .podcast-icon {
    width: 22px;
    height: 22px;
  }

  .podcast-title {
    font-size: 0.85rem;
  }
}

/* Contact Form with Parallax Background */
.contact-form {
  position: relative;
  overflow: hidden;
}

.contact-form .container-xxl {
  position: relative;
  z-index: 2;
}

/* About Component Styles */
.about-section {
  position: relative;
  overflow: hidden;
}

.about-section .container {
  position: relative;
  z-index: 2;
}

/* About Links Styling */
.about-links {
  margin-top: 1rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  width: fit-content;
  min-width: 300px;
  background: #ffffff69;
  border-radius: 12px;
  padding: 2rem;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.about-link-item {
  display: flex;
  align-items: center;
}

.about-link {
  display: flex;
  align-items: center;
  color: var(--navy_blue);
  text-decoration: none;
  font-weight: 500;
  gap: 0.5rem;
}

.about-link:hover {
  color: var(--light_blue);
}

.link-icon {
  font-size: 1.2rem;
  line-height: 1;
  min-width: 20px;
}

.link-text {
  font-size: 0.95rem;
}

/* Responsive Design for About Links */
@media (max-width: 767.98px) {
  .about-links {
    margin-top: 1.5rem;
    gap: 0.75rem;
    width: 100%;
  }

  .about-link {
    padding: 0.6rem 1rem;
    font-size: 0.9rem;
  }

  .link-icon {
    font-size: 1.4rem;
  }

  .link-text {
    font-size: 0.85rem;
  }
}

.card-title {
  color: var(--navy_blue);
  font-size: 1.5rem;
  font-weight: 700;
  margin: 0 0 1.5rem 0;
  padding-bottom: 0.75rem;
  border-bottom: 2px solid var(--light_blue);
}

.card-text {
  color: var(--gray);
  line-height: 1.6;
  margin-bottom: 1.5rem;
}

.card-text p {
  margin-bottom: 1rem;
}

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

/* Publications Styles */
.publications-list {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.publication-item {
  display: flex;
  align-items: center;
  gap: 4rem;
  padding: 1rem;
  background: linear-gradient(9deg, #fff 0%, #fff 100%);
  border-radius: 8px;
  border: solid 1px transparent;
  box-shadow: 0 5px 10px -7px #00000036;
  transition: border-color 0.3s ease, box-shadow 1.3s ease;
  min-height: 80px;
}

.publication-item:hover {
  border-color: #020d530f;
  box-shadow: 0 7px 10px -7px #0000004b;
}

.publication-content {
  flex: 1;
}

.publication-text {
  font-size: .9rem;
  color: var(--navy_blue);
  line-height: 1.4;
}

.publication-text p {
  margin-bottom: 0.5rem;
}

.publication-text p:last-child {
  margin-bottom: 0;
}

.publication-text a {
  color: var(--light_blue);
  text-decoration: none;
  transition: color 0.3s ease;
}

.publication-text a:hover {
  color: var(--navy_blue);
  text-decoration: underline;
}

.publication-link {
  transition: all 0.3s ease-in-out;
  transform: scale(.8) rotate(45deg);
}

.publication-link:hover {
  transform: scale(1) rotate(0);
}

.publication-link a {
  padding: 1rem;
}

/* Trainings Styles */
.trainings-list {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.training-item {
  display: flex;
  align-items: center;
  gap: 4rem;
  padding: 1rem;
  background: linear-gradient(9deg, #fff 0%, #fff 100%);
  border-radius: 8px;
  border: solid 1px transparent;
  box-shadow: 0 5px 10px -7px #00000036;
  transition: border-color 0.3s ease, box-shadow 1.3s ease;
  min-height: 80px;
}

.training-item:hover {
  border-color: #020d530f;
  box-shadow: 0 7px 10px -7px #0000004b;
}

.training-content {
  flex: 1;
}

.training-text {
  font-size: .9rem;
  color: var(--navy_blue);
  line-height: 1.4;
}

.training-text p {
  margin-bottom: 0.5rem;
}

.training-text p:last-child {
  margin-bottom: 0;
}

.training-text a {
  color: var(--light_blue);
  text-decoration: none;
  transition: color 0.3s ease;
}

.training-text a:hover {
  color: var(--navy_blue);
  text-decoration: underline;
}

/* No content messages */
.no-publications,
.no-trainings {
  text-align: center;
  color: var(--gray);
  font-style: italic;
  padding: 2rem;
  background: var(--light-gray);
  border-radius: 8px;
  margin: 1rem 0;
}

/* Unified Publications & Trainings Card Styles */
.publications-trainings-card {
  display: flex;
  flex-direction: column;
}

.mixed-posts-list {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

/* Load More Button Styles */
.load-more-container {
  text-align: center;
  padding-top: 1rem;
  border-top: 1px solid var(--light-gray);
}

.load-more-btn {
  background: var(--light_blue);
  color: var(--white);
  border: none;
  padding: 0.75rem 2rem;
  border-radius: 25px;
  font-size: 1rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.load-more-btn:hover {
  background: var(--navy_blue);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.load-more-btn:disabled {
  background: var(--gray);
  cursor: not-allowed;
  transform: none;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.load-more-btn:disabled:hover {
  transform: none;
}

/* Responsive Design */
@media (max-width: 768px) {
  .academia-info-section {
    padding: 2rem 0;
    word-break: break-word;
  }

  .academia-title {
    font-size: 2rem;
  }

  .academia-card {
    padding: 1.5rem;
  }

  .publication-item,
  .training-item {
    flex-direction: column;
    gap: 2rem;
  }

  .publication-link {
    align-self: flex-end;
    margin-top: 0;
    transform: scale(.8) rotate(0deg);
  }

  .link-icon {
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
  }

  /* Unified card responsive */
  .publications-trainings-card {
    gap: 1.5rem;
  }

  .mixed-posts-list {
    gap: 1.25rem;
  }

  .load-more-container {
    margin-top: 1.5rem;
  }

  .load-more-btn {
    padding: 0.6rem 1.5rem;
    font-size: 0.9rem;
  }
}

@media (max-width: 480px) {
  .academia-title {
    font-size: 1.75rem;
  }

  .card-title {
    font-size: 1.25rem;
  }

  .publication-item,
  .training-item {
    padding: 1rem;
  }

  /* Unified card mobile */
  .publications-trainings-card {
    gap: 1rem;
  }

  .mixed-posts-list {
    gap: 1rem;
  }

  .load-more-btn {
    padding: 0.5rem 1.25rem;
    font-size: 0.85rem;
  }
}

.two-columns.left-image-draw .image-content .main-image {
  width: 140%;
  height: 140%;
  object-fit: cover;
  border-radius: 0;
  box-shadow: none;
  position: absolute;
  top: -70%;
  left: -30%;
  overflow: visible;
}

@media (max-width: 768px) {
  .two-columns.left-image-draw .image-content .main-image {
    top: -20%;
    left: -15%;
  }
}


/******************************************************  Contact Form  ******************************************************/
.contact-form {
  padding: 5rem 0;
}

.contact-form .form-header {
  margin-bottom: 3rem;
}

.contact-form .contact-form-wrapper {
  max-width: 800px;
  margin: 0 auto;
}

.contact-form .form-group {
  margin-bottom: 12px;
}

.contact-form .col-md-6:last-child {
  display: flex;
  flex-direction: column;
}

.contact-form .col-md-6:last-child .form-group {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.contact-form .col-md-6:last-child .form-group textarea {
  flex: 1;
}

.contact-form .form-control {
  width: 100%;
  padding: 1rem 1.5rem;
  border: 1px solid var(--navy_blue);
  border-radius: 12px;
  font-size: 1rem;
  transition: all 0.3s ease;
  background: var(--white);
  color: var(--navy_blue);
}

.contact-form .form-control:focus {
  outline: none;
  border-color: var(--light_blue);
  box-shadow: 0 0 0 3px rgba(0, 123, 255, 0.1);
}

.contact-form .form-control::placeholder {
  color: #6c757d;
  opacity: 0.7;
}

.contact-form textarea.form-control {
  resize: vertical;
  min-height: 200px;
  height: 100%;
}

.form-submit .text-hover {
  max-width: 75% !important;
  width: 75% !important;
  left: 12.5% !important;
}

.contact-form .error-message {
  color: #dc3545;
  font-size: 0.875rem;
  margin-top: 0.5rem;
  display: none;
}

.contact-form .form-messages {
  margin-top: 2rem;
  padding: 1rem;
  border-radius: 12px;
}

.contact-form .success-message {
  color: #082d1b;
  background: #84ffc7;
  padding: 2rem;
  border-radius: 8px;
  text-align: center;
}

.contact-form .error-message.general {
  color: #2d0808;
  background: #ffbfbf;
  padding: 1rem;
  border-radius: 8px;
  display: none;
}

.contact-form button[type="submit"]:disabled {
  opacity: 0.7;
  cursor: not-allowed;
}

@media (max-width: 991.98px) {
  #contact-form .row div:nth-child(2) {
    margin-top: 0;

  }

  .contact-form {
    padding: 3rem 0;
  }

  .contact-form .contact-form-element {
    padding: 1rem;
  }
}

@media (max-width: 767.98px) {
  .contact-form .contact-form-element {
    padding: 0;
  }

  .contact-form .form-control {
    padding: 0.875rem 1.25rem;
  }
}

/* Gallery Slideshow Styles */
.gallery-slideshow {
  position: relative;
  overflow: visible;
  min-height: 300px;
}

.gallery-container {
  position: relative;
  width: 100%;
  min-height: 600px;
  aspect-ratio: 16/9;
  overflow: hidden;
}

@media (max-width: 768px) {
  .gallery-container {
    min-height: 200px;
    aspect-ratio: 1/1;
  }
}

.gallery-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 0.8s ease-in-out;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 0;
}

.gallery-slide.active {
  opacity: 1;
  z-index: 1;
}

.gallery-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  max-width: 100%;
  max-height: 100%;
}



/* STRAT CTA BOX */
.cta-box-on{
  text-align: center;
  border: 2px solid #eae0cb;
  background: #fdf4e0;
  color: #5f553d;
  font-size: 1.1rem;
  line-height: 1.45;
}
/* END CTA BOX */