/* Anchor padding-top fix */
html {
  scroll-padding-top: 8rem;
}


section {
  max-width: 1223px;
  margin: 0 auto;
}

header {
  display: -webkit-flex;
  display: -moz-flex;
  display: flex;
  -webkit-align-items: center;
  -moz-align-items: center;
  align-items: center;
  gap: 6.8vw;
  padding-right: 5vw;
  margin-bottom: 12.4375rem;
  position: relative;
  overflow: visible;
}

.header-img {
  width: 50%;
  padding: 0;
  /* padding: 0.9375rem; */
  /* padding-left: 0; */
  /* Box Shadow */
  -webkit-box-shadow: 1px 4px 4px 0px rgba(0,0,0,0.25);
  -moz-box-shadow: 1px 4px 4px 0px rgba(0,0,0,0.25);
  box-shadow: 1px 4px 4px 0px rgba(0,0,0,0.25);
  -webkit-border-top-right-radius: 2.03vw;
  -moz-border-top-right-radius: 2.03vw;
  border-top-right-radius: 2.03vw;
  -webkit-border-bottom-right-radius: 2.03vw;
  -moz-border-bottom-right-radius: 2.03vw;
  border-bottom-right-radius: 2.03vw;
  position: relative;
  background-color: black;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: visible;
}

/* Dotted Square */
body > header > div.header-img > div.dotted-square {
  top: 18vw;
  z-index: -1;
  opacity: 1;
  right: calc((100% - 85%) / 2);
  transform: translateX(50%);
}

header .dotted-square img {
  width: 100%;
  height: 100%;
  filter: grayscale(100%) brightness(0.6);
  opacity: 0.3;
}

.header-img img {
  width: 100%;
}
.header-img img.hero-img {
  border-radius: 0 2.03vw 2.03vw 0;
}

.header-text {
  width: 50%;
  display: -webkit-flex;
  display: -moz-flex;
  display: flex;
  -webkit-flex-direction: column;
  -moz-flex-direction: column;
  flex-direction: column;
  gap: 1.04vw;
  max-width: 610px;
  position: relative;
  z-index: 1;
}

.header-img {
  position: relative;
  z-index: 2;
}

body > header > div.header-text > h2 {
  /* font-size: min(3.125vw, 60px) !important; */
  color: #FF5F1F;
}

/* CIDF header h2 - Green */
/* Note: Header comes before section#cidf in DOM, so we use a more specific approach */
body:has(section.section-micro-certification#cidf) header > div.header-text > h2 {
  color: rgb(34, 197, 94);
}

/* Smooth scroll for anchor links */
html {
  scroll-behavior: smooth;
}

/* CIDF Navigation Links */
.section-label {
  display: inline-block;
  font-size: 1.2rem;
  font-weight: 600;
  color: #333;
  padding-bottom: 0.25rem;
  margin: 1rem 0;
  position: relative;
}

.section-label::after {
  content: "";
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 40px;
  height: 3px;
  background-color: rgb(34, 197, 94);
  -webkit-border-radius: 2px;
  -moz-border-radius: 2px;
  border-radius: 2px;
}

.cidf-nav-links {
  width: 80%;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  flex-wrap: wrap;
  /* gap: 0.9375rem; */
  margin-top: 1.875rem;
}

.cidf-nav-links .nav-link {
  color: rgb(34, 197, 94);
  text-decoration: none;
  font-size: 1rem;
  font-weight: 500;
  transition: all 0.3s ease;
  padding: 0.5rem 0.75rem;
  border-radius: 0.5rem;
  border: 1px solid rgba(34, 197, 94, 0.25);
  margin: 0.5rem 0;
}


.cidf-nav-links .nav-link:hover {
  color: rgb(22, 163, 74);
  background-color: rgba(34, 197, 94, 0.1);
  text-decoration: none;
}

.cidf-nav-links .nav-separator {
  color: rgba(34, 197, 94, 0.4);
  font-size: 1.125rem;
  margin: 0.5rem;
}

/* Responsive CIDF Navigation */
@media (max-width: 768px) {
  .cidf-nav-links {
    gap: 0.75rem;
    margin-top: 1.5rem;
  }
  
  .cidf-nav-links .nav-link {
    font-size: 14px;
    padding: 0.5rem 0.75rem;
  }
  
  .cidf-nav-links .nav-separator {
    font-size: 14px;
    margin: 0 0.25rem;
  }
}

@media (max-width: 480px) {
  .cidf-nav-links {
    gap: 0.25rem;
    margin-top: 1rem;
    flex-direction: column;
    align-items: flex-start;
  }
  
  .cidf-nav-links .nav-separator {
    display: none;
  }
  
  .cidf-nav-links .nav-link {
    font-size: 13px;
    padding: 0.4rem 0.6rem;
  }
}


.lang-en .cidf-nav-links .nav-link {
  width: 75%;
}

.lang-en .cidf-nav-links .nav-separator {
  display: none;
}

.title {
  font-size: 1.25rem;
  opacity: .2;
}

/* Responsive Header Styles */
@media (max-width: 1024px) {
  header {
    gap: 4vw;
    padding-right: 3vw;
    margin-bottom: 7.5rem;
  }
  
  .header-img {
    -webkit-border-top-right-radius: 3vw;
    -moz-border-top-right-radius: 3vw;
    border-top-right-radius: 3vw;
    -webkit-border-bottom-right-radius: 3vw;
    -moz-border-bottom-right-radius: 3vw;
    border-bottom-right-radius: 3vw;
  }
  
  body > header > div.header-text > h2 {
    font-size: min(4vw, 45px) !important;
  }
  
  .header-text {
    gap: 2vw;
  }
  
}

@media (max-width: 768px) {
  header {
    -webkit-flex-direction: column;
    -moz-flex-direction: column;
    flex-direction: column;
    gap: 3rem;
    padding-right: 0;
    padding: 0 1rem;
    margin-bottom: 5.0rem;
    -webkit-align-items: stretch;
    -moz-align-items: stretch;
    align-items: stretch;
  }
  
  .header-img {
    width: 100%;
    padding: 15px;
    -webkit-border-radius: 20px;
    -moz-border-radius: 20px;
    border-radius: 20px;
    -webkit-border-top-right-radius: 20px;
    -moz-border-top-right-radius: 20px;
    border-top-right-radius: 20px;
    -webkit-border-bottom-right-radius: 20px;
    -moz-border-bottom-right-radius: 20px;
    border-bottom-right-radius: 20px;
    order: 2;
  }
  
  .header-text {
    width: 100%;
    max-width: none;
    gap: 1.5rem;
    text-align: start;
    order: 1;
  }
  
  body > header > div.header-text > h2 {
    font-size: min(6vw, 36px) !important;
    line-height: 1.2;
  }
  
  .title {
    font-size: 18px;
  }
  
  .header-text p {
    font-size: 16px;
    line-height: 1.6;
  }
  
}

@media (max-width: 480px) {
  header {
    gap: 2rem;
    margin-bottom: 60px;
  }
  
  .header-img {
    padding: 10px;
    border-radius: 15px;
    border-top-right-radius: 15px;
    border-bottom-right-radius: 15px;
  }
  
  .header-text {
    gap: 1rem;
  }
  
  body > header > div.header-text > h2 {
    font-size: min(7vw, 28px) !important;
  }
  
  .title {
    font-size: 16px;
  }
  
  .header-text p {
    font-size: 14px;
  }
  
}

/* Companies Section */
section#companies {
  display: flex;
  gap: 3.5rem;
  align-items: center;
  margin-bottom: 9.125rem;
}

.companies-text {
  width: 50%;
  display: flex;
  flex-direction: column;
  gap: 1.3vw;
  max-width: 574px;
}

.companies-imgs {
  width: 50%;
  display: flex;
  gap: 1.25rem;
  max-width: 608px;
  justify-content: flex-end;
  position: relative;
}

#companies > div.companies-imgs > div:nth-child(3) {
  width: 20vw;
  top: -18vw;
  transform: rotate(90deg);
  right: 5vw;
}

#companies > div.companies-imgs > div:nth-child(4) {
  width: 22vw;
  height: 15vw;
  transform: rotate(-30deg);
  top: 10vw;
  right: 10vw;
}

.company-container img {
  width: 100%;
}

.company-container {
  width: 21.2vw;
  height: 18.59vw;
  border-radius: 2.5rem;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 1.25rem;
  position: relative;
  box-shadow: 1px 4px 4px 0px rgba(0,0,0,0.25);
  max-width: 297px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  background-color: white;
}

.company-container:hover {
  transform: translateY(-5px);
  box-shadow: 2px 8px 15px 0px rgba(0,0,0,0.15);
}

/* Clickable logo cursor */
.company-container.clickable-logo:hover {
  cursor: pointer;
}

/* Krystal Institute logo container */
#companies > div.companies-imgs > div:nth-child(1) {
  top: -8vw;
}

/* CGGE logo container */
#companies > div.companies-imgs > div:nth-child(2) {
  align-self: flex-end;
  padding: 4.375rem;
  bottom: -8vw;
}

#companies > div.companies-text > button {
  width: fit-content;
  margin-top: 2rem;
}

/* Responsive Companies Section */

@media (width <= 1310px) {
  section#companies {
    margin-left: 5vw;
    margin-right: 5vw;
  }
}

@media (max-width: 1024px) {
  section#companies {
    gap: 2.5rem;
    margin-bottom: 7.5rem;
    align-items: flex-start;
  }
  
  .companies-text {
    gap: 2vw;
  }
  
  .company-container {
    width: 18vw;
    height: 16vw;
    border-radius: 2.1875rem;
    max-width: 250px;
  }

  #companies > div.companies-imgs {
    align-self: center;
  }
}

@media (max-width: 768px) {
  section#companies {
    flex-direction: column;
    gap: 3rem;
    text-align: center;
    margin-bottom: 80px;
    padding: 0 1rem;
  }
  
  .companies-text {
    width: 100%;
    max-width: none;
    gap: 1.5rem;
    order: 1;
  }
  
  .companies-text h2 {
    font-size: 2.0rem;
    line-height: 1.3;
  }
  
  .companies-text p {
    font-size: 16px;
    line-height: 1.6;
  }
  
  .companies-imgs {
    width: 100%;
    max-width: none;
    justify-content: center;
    gap: 2rem;
    order: 2;
    position: relative;
    padding: 2rem 0;
  }
  
  .company-container {
    width: 140px;
    height: 120px;
    border-radius: 25px;
    max-width: none;
    position: relative;
    top: 0 !important;
    bottom: 0 !important;
    align-self: center;
  }
  
  #companies > div.companies-imgs > div:nth-child(1) {
    top: 0 !important;
  }
  
  #companies > div.companies-imgs > div:nth-child(2) {
    bottom: 0 !important;
    padding: 20px;
    align-self: center;
  }
  
  #companies > div.companies-text > button {
    margin: 2rem auto 0;
    align-self: center;
  }
}

@media (max-width: 480px) {
  section#companies {
    gap: 2rem;
    margin-bottom: 60px;
    padding: 0 0.5rem;
  }
  
  .companies-text {
    gap: 1rem;
  }
  
  .companies-text h2 {
    font-size: min(6vw, 26px);
  }
  
  .companies-text p {
    font-size: 14px;
  }
  
  .companies-imgs {
    gap: 1.5rem;
    align-items: center;
  }
  
  .company-container {
    width: 120px;
    height: 100px;
    border-radius: 20px;
  }
  
  #companies > div.companies-imgs > div:nth-child(2) {
    padding: 15px;
  }
}

/* Mission Card Section */

section#our-missions {
  margin-bottom: 12vw;
}

section#our-missions h2,
section#our-missions p {
  text-align: center;
}

section#our-missions p {
  margin-top: 1.25rem;
  margin-bottom: 2rem;
}

/* Remove default focus outline and improve accessibility with subtle focus states */
.mission-card:focus {
  outline: none;
  box-shadow: 0 0 0 2px rgba(255, 95, 31, 0.3);
}

.mission-card:not(.flipped) {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  border-radius: 1.25rem;
  box-shadow: 1px 4px 4px 0px rgba(0,0,0,0.25);
  animation: float 6s ease-in-out infinite;
  transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  background: white;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  will-change: transform;
}

.mission-card.flipped {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  border-radius: 1.25rem;
  box-shadow: 1px 4px 4px 0px rgba(0,0,0,0.25);
  transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  background: white;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  will-change: transform;
  transform: scale(1.3);
  z-index: 10;
  animation: none;
}

.mission-card-inner {
  position: relative;
  width: 100%;
  height: 100%;
  min-height: 200px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.mission-card-front, .mission-card-back {
  position: absolute;
  width: 100%;
  height: 100%;
  border-radius: 1.25rem;
  background: white;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  box-sizing: border-box;
  transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.mission-card-front {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.mission-card-back {
  opacity: 0;
  transform: translateY(20px) scale(0.95);
  padding: 2rem 1.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}

/* Flipped state content transitions */
.mission-card.flipped .mission-card-front {
  opacity: 0;
  transform: translateY(-20px) scale(0.95);
}

.mission-card.flipped .mission-card-back {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.mission-card-back h3 {
  color: #333;
  font-size: 12px;
  margin-bottom: 1rem;
  font-weight: 600;
  line-height: 1.3;
}

.mission-card-back p {
  color: #666 !important;
  font-size: 10px !important;
  line-height: 1.5 !important;
  text-align: left !important;
  margin: 0;
  white-space: normal !important;
}

.mission-card:hover {
  box-shadow: 2px 8px 20px 0px rgba(0,0,0,0.2);
  transform: translateY(-8px);
}

/* Maintain floating animation and hover effects for flipped cards */
.mission-card.flipped:hover {
  box-shadow: 2px 8px 20px 0px rgba(0,0,0,0.2);
  transform: scale(1.5) translateY(-5px);
}

/* Add a subtle pulse effect for better user feedback */
.mission-card:active {
  transform: scale(0.98) translateY(-4px);
  transition: transform 0.1s ease;
}

.mission-card img {
  width: auto;
  height: auto;
  max-width: 60px;
  max-height: 60px;
  margin-bottom: 1rem;
  transition: transform 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* Add subtle image scaling on hover for front cards */
.mission-card:not(.flipped):hover img {
  transform: scale(1.1);
}

.mission-card-front p {
  color: black;
  opacity: 1 !important;
  font-size: 24px !important;
  text-wrap: nowrap;
  text-align: center;
}

#our-missions > div > div.themed-shape {
  top: -20vw;
  left: 0vw;
  width: 55vw;
  transform: rotate(-15deg);
  height: 45vw;
}

/* Floating animation keyframes */
@keyframes float {
  0%, 100% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-12px);
  }
}

/* Enhanced floating animation that works with both states */
@keyframes floatHover {
  0%, 100% {
    transform: translateY(-8px);
  }
  50% {
    transform: translateY(-20px);
  }
}

/* Different animation delays and durations for each card to create unsynchronized floating */
#our-missions > div > div.left-cards > div:nth-child(1):not(.flipped) {
  animation: float 4.5s ease-in-out infinite;
  animation-delay: 0s;
}

#our-missions > div > div.left-cards > div:nth-child(1):not(.flipped):hover {
  animation: floatHover 4.5s ease-in-out infinite;
  animation-delay: 0s;
}

#our-missions > div > div.left-cards > div:nth-child(2):not(.flipped) {
  animation: float 5.2s ease-in-out infinite;
  animation-delay: 0.8s;
}

#our-missions > div > div.left-cards > div:nth-child(2):not(.flipped):hover {
  animation: floatHover 5.2s ease-in-out infinite;
  animation-delay: 0.8s;
}

#our-missions > div > div.center-cards > div:not(.flipped) {
  animation: float 6.1s ease-in-out infinite;
  animation-delay: 1.6s;
}

#our-missions > div > div.center-cards > div:not(.flipped):hover {
  animation: floatHover 6.1s ease-in-out infinite;
  animation-delay: 1.6s;
}

#our-missions > div > div.right-cards > div:nth-child(1):not(.flipped) {
  animation: float 4.8s ease-in-out infinite;
  animation-delay: 2.4s;
}

#our-missions > div > div.right-cards > div:nth-child(1):not(.flipped):hover {
  animation: floatHover 4.8s ease-in-out infinite;
  animation-delay: 2.4s;
}

#our-missions > div > div.right-cards > div:nth-child(2):not(.flipped) {
  animation: float 5.7s ease-in-out infinite;
  animation-delay: 0.4s;
}

#our-missions > div > div.right-cards > div:nth-child(2):not(.flipped):hover {
  animation: floatHover 5.7s ease-in-out infinite;
  animation-delay: 0.4s;
}

.our-missions-cards-container {
  display: flex;
  justify-content: center;
  width: 75.0rem;
  margin: 0 auto;
  gap: 1.25rem;
  align-items: center;
  position: relative;
}

.left-cards,
.center-cards,
.right-cards {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  flex: 1;
}

.left-cards {
  align-items: flex-end;
}

.center-cards {
  align-items: center;
}

.right-cards {
  align-items: flex-start;
}

/* Individual Card Stylings - Flexible Sizing */
#our-missions > div > div.left-cards > div:nth-child(1):not(.flipped) {
  padding: 3.9375rem 3.375rem;
  width: 22.625rem;
  min-width: 200px;
}

#our-missions > div > div.left-cards > div:nth-child(2):not(.flipped) {
  padding: 1.8125rem 4.5rem;
  width: 17.125rem;
  min-width: 180px;
}

#our-missions > div > div.center-cards > div:not(.flipped) {
  padding: 2.4375rem 4.375rem;
  width: 27.6875rem;
  min-width: 220px;
}

#our-missions > div > div.right-cards > div:nth-child(1):not(.flipped) {
  padding: 2.3125rem 4.75rem;
  width: 17.125rem;
  min-width: 180px;
}

#our-missions > div > div.right-cards > div:nth-child(2):not(.flipped) {
  padding: 2.8125rem 4.6875rem;
  width: 22.625rem;
  min-width: 200px;
}

/* Flipped card sizing - more uniform and spacious */
#our-missions > div > div > div.mission-card.flipped {
  padding: 1.875rem;
  width: auto;
  min-width: 280px;
}

/* Responsive Mission Cards Section */
@media (min-width: 769px) and (max-width: 1024px) {
  section#our-missions {
    margin-bottom: 8vw;
    padding: 0 2rem;
  }

  .left-cards,
  .right-cards {
    gap: 2rem;
  }
  
  .our-missions-cards-container {
    width: 100%;
    gap: 0;
  }
  
  .mission-card p {
    font-size: 1.25rem !important;
  }
  
  .mission-card img {
    max-width: 3.125rem;
    max-height: 3.125rem;
  }
  
  /* Flexible card sizes for tablet - maintain proportions */
  #our-missions > div > div.left-cards > div:nth-child(1) {
    width: 17.5rem;
    padding: 2.5rem 2.1875rem;
  }
  
  #our-missions > div > div.left-cards > div:nth-child(2) {
    width: 13.75rem;
    padding: 1.5625rem 2.8125rem;
  }
  
  #our-missions > div > div.center-cards > div {
    width: 20.0rem;
    padding: 2.1875rem 3.125rem;
  }
  
  #our-missions > div > div.right-cards > div:nth-child(1) {
    width: 13.75rem;
    padding: 1.875rem 3.125rem;
  }
  
  #our-missions > div > div.right-cards > div:nth-child(2) {
    width: 17.5rem;
    padding: 2.1875rem 3.125rem;
  }
}

@media (max-width: 768px) {
  section#our-missions {
    margin-bottom: 60px;
    padding: 0 1rem;
  }

  
  section#our-missions h2 {
    font-size: 2.0rem;
    margin-bottom: 1rem;
  }
  
  section#our-missions p {
    font-size: 16px;
    line-height: 1.6;
    margin-bottom: 0;
  }
  
  .our-missions-cards-container {
    flex-direction: column;
    width: 100%;
    gap: 2rem;
    align-items: center;
  }
  
  .left-cards,
  .center-cards,
  .right-cards {
    width: 100%;
    align-items: center;
    gap: 1.5rem;
  }
  
  .mission-card {
    width: 100% !important;
    max-width: 300px;
    border-radius: 20px;
    animation: none !important; /* Disable floating animation on mobile */
    perspective: 1000px;
  }
  
  /* Ensure mobile cards don't break with flipping */
  .mission-card.flipped {
    animation: none !important;
  }
  
  .mission-card-inner {
    min-height: 180px;
  }
  
  .mission-card-front, .mission-card-back {
    padding: 1.5rem;
    border-radius: 20px;
  }
  
  .mission-card-back {
    padding: 1.5rem 1rem;
  }
  
  .mission-card-back h3 {
    font-size: 16px;
    margin-bottom: 0.8rem;
  }
  
  .mission-card-back p {
    font-size: 14px !important;
    line-height: 1.4 !important;
  }
  
  .mission-card img {
    max-width: 45px;
    max-height: 45px;
    margin-bottom: 1rem;
  }
  
  .mission-card-front p {
    font-size: 18px !important;
    white-space: normal;
    text-align: center;
    line-height: 1.4;
  }
  
  /* Keep only hover effect for mobile */
  .mission-card:hover {
    transform: translateY(-4px);
  }
}

@media (max-width: 480px) {
  section#our-missions {
    margin-bottom: 40px;
    padding: 0 0.5rem;
  }
  
  section#our-missions h2 {
    font-size: 1.75rem;
  }
  
  section#our-missions p {
    font-size: 14px;
  }
  
  .our-missions-cards-container {
    gap: 1.5rem;
  }
  
  .left-cards,
  .center-cards,
  .right-cards {
    gap: 1rem;
  }
  
  .mission-card {
    max-width: 280px;
    border-radius: 15px;
    animation: none !important; /* Ensure no animation on small mobile */
  }
  
  /* Ensure mobile cards don't break with flipping */
  .mission-card.flipped {
    animation: none !important;
  }
  
  .mission-card-inner {
    min-height: 160px;
  }
  
  .mission-card-front, .mission-card-back {
    padding: 1rem;
    border-radius: 15px;
  }
  
  .mission-card-back h3 {
    font-size: 14px;
    margin-bottom: 0.5rem;
  }
  
  .mission-card-back p {
    font-size: 12px !important;
    line-height: 1.3 !important;
  }
  
  .mission-card img {
    max-width: 40px;
    max-height: 40px;
  }
  
  .mission-card-front p {
    font-size: 16px !important;
  }
  
  /* Keep only hover effect for small mobile */
  .mission-card:hover {
    transform: translateY(-2px);
  }
}

/* Founder Section */
section#founder {
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
  margin-bottom: 8.625rem;
  padding-left: 5vw;
  padding-right: 5vw;
  margin: 0 auto;
  padding-bottom: 5vw;
}

#founder > div.founder-top {
  display: flex;
  justify-content: space-between;
  flex-direction: column;
  gap: 2.5rem;
}

.founder-top-main {
  display: flex;
  flex: 1;
}

#founder > div.founder-top > div.founder-top-main {
  width: 100%;
  align-items: center;
  gap: 2rem;
}

#founder > div.founder-top > div.founder-top-text {
  width: 100%;
  max-width: none;
}

#founder > div.founder-top > div.founder-top-text {
  margin-left: 0;
}

.founder-top-img {
  border: 1.25rem solid white;
  box-shadow: 1px 4px 4px 0px rgba(0,0,0,0.25);
  border-radius: 2.5rem;

}

#founder > div.founder-top > div.founder-top-img > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 15px;
}

.founder-top-text {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  /* justify-content: space-around; */
  justify-content: flex-end;
  gap: 2rem;
  max-width: 767px;
  margin-left: 2rem;
}

.founder-top-header {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  flex: 1;
  align-self: flex-end
}

.founder-top-main {
  display: flex;
  flex: 1;
}

#founder > div.founder-top > div.founder-top-text > ul {
  display: flex;
  flex-direction: column;
  font-size: 1.25rem;
  opacity: .7;
  gap: .5rem;
}

.founder-top-header ul {
  display: flex;
  flex-direction: column;
  font-size: 1.25rem;
  opacity: .7;
  gap: .5rem;
}

.founder-middle {
  width: 100%;
}

.founder-middle p {
  font-size: inherit;
  line-height: 1.6;
}

.founder-bottom {
  display: flex;
  gap: 1.25rem;
  justify-content: space-between;
}

#founder > div.founder-bottom > div.founder-bottom-text {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 1.25rem;
  max-width: 706px;
}

#founder > div.founder-bottom > div.founder-bottom-text > button {
  width: fit-content;
}

#founder > div.founder-bottom > div.founder-bottom-img {
  display: flex;
  /* align-items: flex-start; */
  border: 1.25rem solid white;
  box-shadow: 1px 4px 4px 0px rgba(0,0,0,0.25);
  border-radius: 1.25rem;
  max-width: 502px;
}

#founder > div.founder-bottom > div.founder-bottom-img > img {
  width: 100%;
  border-radius: 15px;
}

#founder > div.founder-bottom > div.founder-bottom-text > button {
  margin-top: 2rem;
}

#founder > div.founder-bottom > div.founder-bottom-img > img {
  object-fit: cover;
}

/* Responsive Founder Section */
@media (max-width: 1024px) {
  section#founder {
    gap: 1.875rem;
    margin-bottom: 6.25rem;
    padding: 0 2rem;
  }
  
  .founder-top {
    gap: 1.875rem;
    align-items: flex-start;
  }
  
  .founder-top-main {
    display: flex;
    flex: 1;
  }
  
  .founder-top-img {
    width: 35vw;
    height: 32vw;
    border-radius: 1.875rem;
    max-width: 350px;
  }
  
  .founder-top-text {
    width: 60vw;
    max-width: 600px;
    gap: 1.5rem;
  }
  
  .founder-top-header {
    gap: 1rem;
    flex: 1;
    
  }
  
  .founder-top-header ul {
    font-size: 1.125rem;
  }
  
  .founder-bottom {
    gap: 1.5625rem;
  }
  
  #founder > div.founder-bottom > div.founder-bottom-text {
    width: 55vw;
    max-width: 600px;
  }
  
  #founder > div.founder-bottom > div.founder-bottom-img {
    width: 40vw;
    max-width: 400px;
    border-radius: 1.5625rem;
  }
}

@media (max-width: 768px) {
  section#founder {
    gap: 2rem;
    margin-bottom: 60px;
    margin-left: 1rem;
    margin-right: 1rem;
    padding: 0;
  }
  
  .founder-top {
    flex-direction: column !important;
    gap: 1.5rem;
    align-items: stretch !important;
    text-align: left;
  }
  
  .founder-top-main {
    display: flex;
    gap: 1.5rem;
    align-items: flex-start;
  }
  
  .founder-top-img {
    width: 150px !important;
    border-radius: 15px;
    min-width: unset !important;
    max-width: none;
    max-height: none;
    flex-shrink: 0;
  }
  
  .founder-top-header {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    flex: 1;
  }
  
  .founder-top-text {
    width: 100% !important;
    max-width: none;
    margin-left: 0 !important;
  }
  
  .founder-top-header h2 {
    font-size: 1.5rem;
    margin-bottom: 0;
  }
  
  .founder-top-header ul {
    font-size: 14px;
    text-align: left;
    margin: 0;
  }
  
  .founder-top-text p {
    font-size: 16px;
    line-height: 1.6;
    text-align: left;
    margin: 0;
    width: 100%;
  }
  
  .founder-middle {
    text-align: left;
  }
  
  .founder-middle p {
    font-size: 16px;
    line-height: 1.6;
  }
  
  .founder-bottom {
    flex-direction: column;
    gap: 2rem;
    justify-content: center;
  }
  
  #founder > div.founder-bottom > div.founder-bottom-text {
    width: 100% !important;
    max-width: none;
    order: 1;
  }
  
  #founder > div.founder-bottom > div.founder-bottom-text p {
    font-size: 16px;
    line-height: 1.6;
  }
  
  #founder > div.founder-bottom > div.founder-bottom-img {
    width: 100% !important;
    max-width: 400px;
    margin: 0 auto;
    border-radius: 20px;
    order: 2;
  }
  
  #founder > div.founder-bottom > div.founder-bottom-text > button {
    margin: 2rem auto 0;
    align-self: center;
  }
}

@media (max-width: 480px) {
  section#founder {
    gap: 1.5rem;
    margin-bottom: 40px;
    margin-left: 0.5rem;
    margin-right: 0.5rem;
    padding: 0;
  }
  
  .founder-top {
    gap: 1.5rem;
    flex-direction: column !important;
    align-items: center !important;
  }
  
  
  .founder-top-img {
    width: 150px !important;
    height: 150px !important;
    border-radius: 20px;
    min-width: unset !important;
  }
  
  .founder-top-text {
    margin-left: 0 !important;
    width: 100% !important;
    text-align: left;
  }
  
  .founder-top-header {
    text-align: center;
  }
  
  .founder-top-header h2 {
    font-size: 1.5rem;
    text-align: left;
  }
  
  .founder-top-header ul {
    font-size: 14px;
    text-align: left;
    max-width: 300px;
    margin: 0 auto;
  }
  
  .founder-top-text p,
  .founder-middle p,
  #founder > div.founder-bottom > div.founder-bottom-text p {
    font-size: 14px;
    line-height: 1.6;
  }
  
  #founder > div.founder-bottom > div.founder-bottom-img {
    max-width: 300px;
    border-radius: 15px;
  }
}

/* Founder Responsiveness settings */
.founder-top-img {
  min-width: 275px;
  width: 5rem;
}

#founder > div.founder-top > div.founder-top-main > div.founder-top-img > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 15px;
}

#founder > div.founder-bottom > div.founder-bottom-img > img {
  object-position: left;
}

@media (width <= 1024px) {
  .founder-top {
    flex-direction: row-reverse;

  }

  .founder-top-text {
    margin-left: 0;
  }
}

@media (width <= 970px) {
  .founder-top {
    align-items: center;
  }
}

@media (width <= 820px) {
  .founder-top {
    align-items: flex-end;
  }
}

@media (width >= 1024px) {
  #founder > div.founder-top > div.founder-top-main > div.founder-top-header > ul {
    font-size: 18px;
  }
}

@media (width <= 768px) {
  #companies > div.companies-imgs > div:nth-child(3) {
    display: none;
  }
}

/* Pre-Entry Section */
section.section-micro-certification {
  display: flex;
  flex-direction: column;
  gap: 3.75rem;
  margin-bottom: 8.625rem;
  padding: 0 5vw;
  max-width: 1223px;
  margin-left: auto;
  margin-right: auto;
}

/* Scroll-based floating animation - subtle breathing effect */
@keyframes scrollFloat {
  0%, 100% {
    opacity: 1;
  }
  50% {
    opacity: 0.85;
  }
}

/* Features container within pre-entry section */
section.section-micro-certification .features-container {
  max-width: 1200px;
  margin: 0 auto;
  display: -ms-grid;
  display: grid;
  gap: min(2.92vw, 56px);
}

/* Full width features container */
section.section-micro-certification .features-container-full-width {
  max-width: 100%;
  width: 100%;
}

section.section-micro-certification#pre-entry .features-container {
  /* Mobile: single column (col-12) */
  -ms-grid-columns: 1fr;
  grid-template-columns: 1fr;
}

/* Tablet and up: single column (col-md-12) */
@media (min-width: 768px) {
  section.section-micro-certification#pre-entry .features-container {
    -ms-grid-columns: 1fr;
    grid-template-columns: 1fr;
  }
}

/* Large screens: two columns (col-lg-6) */
@media (min-width: 992px) {
  section.section-micro-certification#pre-entry .features-container {
    -ms-grid-columns: repeat(auto-fit, minmax(500px, 1fr));
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
  }
}

/* Core feature styling within pre-entry */
section.section-micro-certification .core-feature {
  background: white;
  padding: min(3.12vw, 60px) min(3.64vw, 70px);
  -webkit-border-radius: min(2.08vw, 40px);
  -moz-border-radius: min(2.08vw, 40px);
  border-radius: min(2.08vw, 40px);
  -webkit-box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
  -moz-box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
  -webkit-transition: -webkit-transform 0.3s ease, box-shadow 0.3s ease;
  -moz-transition: -moz-transform 0.3s ease, box-shadow 0.3s ease;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
  gap: 1.875rem;
}

/* section.section-micro-certification .core-feature:hover {
  -webkit-transform: translateY(-5px);
  -moz-transform: translateY(-5px);
  transform: translateY(-5px);
  -webkit-box-shadow: 2px 8px 20px 0px rgba(0,0,0,0.15);
  -moz-box-shadow: 2px 8px 20px 0px rgba(0,0,0,0.15);
  box-shadow: 2px 8px 20px 0px rgba(0,0,0,0.15);
} */

/* Feature header styling */
section.section-micro-certification .feature-header {
  display: -webkit-flex;
  display: -moz-flex;
  display: flex;
  -webkit-align-items: center;
  -moz-align-items: center;
  align-items: center;
  gap: 1.25rem;
  margin-bottom: 1.875rem;
}

/* Feature number styling */
section.section-micro-certification .feature-number {
  font-size: min(3.12vw, 60px);
  font-weight: 700;
  color: rgba(255, 95, 31, 0.2);
  opacity: 1;
  -webkit-flex-shrink: 0;
  -moz-flex-shrink: 0;
  flex-shrink: 0;
  line-height: 1;
}

/* Feature header h3 styling */
section.section-micro-certification .feature-header h3 {
  font-size: 1.5rem;
  font-weight: 600;
  color: #333;
  margin: 0;
  line-height: 1.3;
  -webkit-flex: 1;
  -moz-flex: 1;
  flex: 1;
}

/* Feature subtitle styling */
section.section-micro-certification .feature-subtitle {
  color: #555;
  margin: 0;
  font-size: 1.25rem;
  line-height: 1.6;
}

/* Feature list styling */
section.section-micro-certification .feature-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.9375rem;
}

/* Feature list items */
section.section-micro-certification .feature-list li {
  font-size: 1rem;
  line-height: 1.25;
  color: #555;
  padding-left: 2.5rem;
  position: relative;
}

/* Feature list bullet points */
section.section-micro-certification .feature-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.25rem;
  width: 0.625rem;
  height: 0.625rem;
  background-color: rgba(255, 95, 31, 0.6);
  border-radius: 50%;
}

/* Feature answer styling */
section.section-micro-certification .core-feature .pre-entry-answer {
  font-size: min(1.56vw, 30px) !important;
  font-weight: 600;
  color: #333 !important;
  margin-bottom: 1.25rem !important;
  margin-top: 0 !important;
}

/* Paragraph styling within core-feature */
section.section-micro-certification .core-feature p {
  font-size: min(1.04vw, 20px);
  line-height: 1.6;
  color: #555;
  margin-bottom: 0.9375rem;
}

section.section-micro-certification .core-feature p:last-child {
  margin-bottom: 0;
}

.pre-entry-container {
  background: white;
  border-radius: 2.5rem;
  padding: 3.75rem 4.375rem;
  -webkit-box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
  -moz-box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
  display: flex;
  flex-direction: column;
  gap: 1.875rem;
}

/* Q&A style containers - first two containers */
section.section-micro-certification > .pre-entry-container:nth-child(1),
section.section-micro-certification > .pre-entry-container:nth-child(2) {
  gap: 1.3vw;
  padding: 3.125rem 3.75rem;
}

section.section-micro-certification > .pre-entry-container:nth-child(1) h2,
section.section-micro-certification > .pre-entry-container:nth-child(2) h2 {
  font-size: 3.125rem;
  color: #333;
  margin-bottom: 0;
  line-height: 1.3;
}

section.section-micro-certification > .pre-entry-container:nth-child(1) p,
section.section-micro-certification > .pre-entry-container:nth-child(2) p {
  font-size: 1.25rem;
  line-height: 1.6;
  color: #555;
  margin-bottom: 0;
}

.pre-entry-container h2 {
  font-size: 2.5rem;
  color: #333;
  margin-bottom: 1.25rem;
  line-height: 1.3;
}

/* Pre-entry title styling */
.pre-entry-title {
  font-size: 2rem !important;
  color: #333;
  line-height: 1.3;
}

/* Override lang-en h2 for pre-entry-title */
.lang-en .pre-entry-title,
section.section-micro-certification .lang-en .pre-entry-title {
  /* font-size: 2.25rem !important; */
  margin-bottom: 0 !important;
}

.pre-entry-container h3 {
  font-size: 2.1875rem;
  color: #333;
  margin-top: 1.875rem;
  margin-bottom: 0.9375rem;
  line-height: 1.4;
}

.pre-entry-feature .feature-content h3 {
  margin-top: 0;
}

.pre-entry-container p {
  font-size: 1.25rem;
  line-height: 1.8;
  color: #555;
  margin-bottom: 0.9375rem;
}

.pre-entry-answer {
  font-size: 1.875rem !important;
  font-weight: 600;
  color: #333 !important;
  margin-bottom: 1.3vw !important;
}

.pre-entry-intro {
  font-size: 1.25rem !important;
  line-height: 1.6 !important;
  margin-bottom: 1.3vw !important;
}

.pre-entry-list {
  list-style: none;
  padding: 0;
  margin: 1.25rem 0;
  display: flex;
  flex-direction: column;
  gap: 0.9375rem;
}

/* Q&A containers list styling */
section.section-micro-certification > .pre-entry-container:nth-child(1) .pre-entry-list,
section.section-micro-certification > .pre-entry-container:nth-child(2) .pre-entry-list {
  margin: 1.3vw 0;
  gap: 0.625rem;
}

.pre-entry-list li {
  font-size: min(1.04vw, 20px);
  line-height: 1.6;
  color: #555;
  padding-left: 2.5rem;
  position: relative;
}

/* Q&A containers list items */
/* section.section-micro-certification > .pre-entry-container:nth-child(1) .pre-entry-list li,
section.section-micro-certification > .pre-entry-container:nth-child(2) .pre-entry-list li {
  font-size: 1.25rem;
  line-height: 1.6;
} */

.pre-entry-list li::before {
  content: "•";
  position: absolute;
  left: 0;
  color: #333;
  font-size: min(1.56vw, 30px);
  line-height: 1.4;
}

.pre-entry-highlight {
  background: linear-gradient(135deg, rgba(255, 95, 31, 0.1) 0%, rgba(255, 95, 31, 0.05) 100%);
  padding: 1.875rem 2.5rem;
  border-radius: 1.25rem;
  border-left: 0.3125rem solid rgba(255, 95, 31, 0.5);
  font-size: min(1.14vw, 22px) !important;
  line-height: 1.8 !important;
  color: #333 !important;
  margin-top: 0.75rem !important;
  margin-bottom: 0 !important;
}

/* Q&A containers highlight styling */
section.section-micro-certification > .pre-entry-container:nth-child(1) .pre-entry-highlight,
section.section-micro-certification > .pre-entry-container:nth-child(2) .pre-entry-highlight {
  margin-top: 1.3vw !important;
  font-size: min(1.04vw, 20px) !important;
  line-height: 1.6 !important;
}

/* Features Container */
.pre-entry-features-container {
  margin-top: 2.5rem;
}

.pre-entry-features-container .row {
  --bs-gutter-x: 2.5rem;
  --bs-gutter-y: 2.5rem;
}

/* Feature Card */
.pre-entry-feature-card {
  padding: 3.125rem 2.5rem;
  background: white;
  border-radius: 1.875rem;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
  position: relative;
  display: flex;
  flex-direction: column;
  transition: all 0.3s ease;
  border: 1px solid rgba(0, 0, 0, 0.05);
  height: 100%;
}

.pre-entry-feature-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
  border-color: rgba(255, 95, 31, 0.2);
}

/* Legacy support for old class name */
.pre-entry-feature {
  margin-top: 0;
  padding: 0;
  border: none;
  background: transparent;
}

/* Feature Header Row */
.feature-header-row {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  margin-bottom: 0.9375rem;
}

/* Feature Number Badge */
.feature-number-badge {
  width: 4.375rem;
  height: 4.375rem;
  min-width: 4.375rem;
  min-height: 4.375rem;
  background: linear-gradient(135deg, rgba(255, 95, 31, 0.15) 0%, rgba(255, 95, 31, 0.05) 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: min(1.56vw, 30px);
  font-weight: 700;
  color: rgba(255, 95, 31, 0.6);
  flex-shrink: 0;
  transition: all 0.3s ease;
}

.pre-entry-feature-card:hover .feature-number-badge {
  background: linear-gradient(135deg, rgba(255, 95, 31, 0.25) 0%, rgba(255, 95, 31, 0.1) 100%);
  color: rgba(255, 95, 31, 0.8);
  transform: scale(1.1);
}

/* Feature Content */
.feature-content {
  flex: 1;
  position: relative;
  margin-top: 0;
}

.feature-header-row h3 {
  margin: 0;
  flex: 1;
  padding-left: 0;
}

.pre-entry-outcomes {
  background: linear-gradient(135deg, rgba(180, 180, 180, 0.05) 0%, rgba(180, 180, 180, 0.02) 100%);
}

.pre-entry-outcomes-list {
  list-style: none;
  padding: 0;
  margin: 1.875rem 0;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.pre-entry-outcomes-list li {
  font-size: min(1.14vw, 22px);
  line-height: 1.8;
  color: #333;
  font-weight: 500;
  padding-left: 0;
}

/* Sparkle animation */
.pre-entry-outcomes-list li .sparkle {
  display: inline-block;
  animation: sparkle-twinkle 2s ease-in-out infinite;
}

@keyframes sparkle-twinkle {
  0%, 100% {
    opacity: 1;
    transform: scale(1);
  }
  25% {
    opacity: 0.3;
    transform: scale(0.8);
  }
  50% {
    opacity: 1;
    transform: scale(1.2);
  }
  75% {
    opacity: 0.5;
    transform: scale(0.9);
  }
}

.pre-entry-summary {
  background: linear-gradient(135deg, rgba(255, 95, 31, 0.2) 0%, rgba(255, 95, 31, 0.1) 100%);
  border: 0.3125rem solid rgba(255, 95, 31, 0.2);
}

.pre-entry-summary .pre-entry-highlight {
  /* light blue gradient */
  background: rgba(255, 255, 255, 0.9);
}

/* Responsive Pre-Entry Section */
@media (max-width: 1024px) {
  section.section-micro-certification {
    gap: 3.125rem;
    margin-bottom: 6.25rem;
    padding: 0 2rem;
  }
  
  .bg-shape-1 {
    width: 18.75rem;
    height: 18.75rem;
    top: 5%;
  }
  
  .bg-shape-2 {
    border-left-width: 9.375rem;
    border-right-width: 9.375rem;
    border-bottom-width: 12.5rem;
    top: 25%;
  }
  
  .bg-shape-3 {
    width: 13.75rem;
    height: 13.75rem;
    top: 55%;
  }
  
  .bg-shape-4 {
    width: 15.0rem;
    height: 15.0rem;
    bottom: 10%;
  }
  
  section.section-micro-certification .features-container {
    -ms-grid-columns: 1fr;
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
  
  section.section-micro-certification .core-feature {
    padding: 2.5rem 2.5rem;
    gap: 1.5625rem;
  }
  
  section.section-micro-certification .feature-header {
    gap: 1.25rem;
    margin-bottom: 1.5625rem;
  }
  
  section.section-micro-certification .feature-number {
    font-size: 2.8125rem;
  }
  
  /* section.section-micro-certification .feature-header h3 {
    font-size: 2.5rem;
  } */
  
  section.section-micro-certification .feature-subtitle,
  section.section-micro-certification .core-feature p,
  section.section-micro-certification .feature-list li {
    font-size: min(1.5vw, 18px)
  }
  
  section.section-micro-certification .core-feature .pre-entry-answer {
    font-size: min(2.2vw, 26px) !important;
  }
  
  .pre-entry-features-container {
    margin-top: min(1.5vw, 30px);
  }
  
  .pre-entry-features-container .row {
    --bs-gutter-x: min(1.5vw, 30px);
    --bs-gutter-y: min(1.5vw, 30px);
  }
  
  .pre-entry-feature-card {
    padding: min(2vw, 40px) min(1.5vw, 30px);
  }
  
  .feature-header-row {
    gap: min(0.8vw, 15px);
    margin-bottom: min(0.6vw, 12px);
  }
  
  .feature-number-badge {
    width: min(3vw, 60px);
    height: min(3vw, 60px);
    min-width: min(3vw, 60px);
    min-height: min(3vw, 60px);
    font-size: min(1.3vw, 25px);
  }
  
  .pre-entry-container {
    padding: min(4vw, 40px) min(4vw, 40px);
    gap: min(2vw, 25px);
  }
  
  .pre-entry-container h2 {
    font-size: min(3.5vw, 40px);
  }
  
  .pre-entry-container h3 {
    font-size: min(2.5vw, 28px);
  }
  
  .pre-entry-container p,
  .pre-entry-list li {
    font-size: min(1.5vw, 18px);
  }
  
  .pre-entry-answer {
    font-size: min(2.2vw, 26px) !important;
  }
  
  .pre-entry-intro,
  .pre-entry-highlight {
    font-size: min(1.6vw, 20px) !important;
  }
  
  .pre-entry-outcomes-list li {
    font-size: min(1.6vw, 20px);
  }
}

@media (max-width: 768px) {
  section.section-micro-certification {
    gap: 2.5rem;
    margin-bottom: 60px;
    padding: 0 1rem;
  }
  
  .bg-shape-1 {
    width: 15.625rem;
    height: 15.625rem;
    top: 3%;
    right: -8%;
  }
  
  .bg-shape-2 {
    border-left-width: 7.5rem;
    border-right-width: 7.5rem;
    border-bottom-width: 10.0rem;
    top: 20%;
    left: -8%;
  }
  
  .bg-shape-3 {
    width: 11.25rem;
    height: 11.25rem;
    top: 50%;
    right: 3%;
  }
  
  .bg-shape-4 {
    width: 12.5rem;
    height: 12.5rem;
    bottom: 8%;
    left: -8%;
  }
  
  
  section.section-micro-certification .features-container {
    gap: 2rem;
  }
  
  section.section-micro-certification .core-feature {
    padding: 2rem 1.5rem;
    gap: 1.5rem;
    border-radius: 20px;
  }
  
  section.section-micro-certification .feature-header {
    gap: 1rem;
    margin-bottom: 1.5rem;
    /* -webkit-flex-direction: column;
    -moz-flex-direction: column;
    flex-direction: column; */
    flex-direction: row;
    -webkit-align-items: flex-start;
    -moz-align-items: flex-start;
    align-items: flex-start;
  }
  
  section.section-micro-certification .feature-number {
    font-size: min(6vw, 48px);
  }
  
  section.section-micro-certification .feature-header h3 {
    font-size: min(3vw, 28px);
  }
  
  section.section-micro-certification .feature-subtitle,
  section.section-micro-certification .core-feature p {
    font-size: 1rem;
  }
  
  section.section-micro-certification .feature-list li {
    font-size: 1rem !important;
    font-weight: 400;
    line-height: 1.25;
  }
  
  section.section-micro-certification .feature-list {
    gap: 0.5rem;
    margin: 1rem 0;
  }
  
  section.section-micro-certification .feature-list li {
    padding-left: 1.5rem;
  }
  
  section.section-micro-certification .feature-list li::before {
    width: 8px;
    height: 8px;
    top: 8px;
  }
  
  section.section-micro-certification .core-feature .pre-entry-answer {
    font-size: 1.3rem !important;
  }
  
  .pre-entry-container {
    padding: 2rem 1.5rem;
    gap: 1.5rem;
    border-radius: 20px;
  }
  
  .pre-entry-container h2 {
    font-size: min(5vw, 32px);
    margin-bottom: 1rem;
  }
  
  .pre-entry-container h3 {
    font-size: min(4vw, 24px);
    margin-top: 1.5rem;
    margin-bottom: 0.75rem;
  }
  
  .pre-entry-container p {
    font-size: 16px;
  }
  
  .pre-entry-list li {
    font-size: 17px;
    font-weight: 400;
    line-height: 1.7;
  }
  
  .pre-entry-answer {
    font-size: 24px !important;
    margin-bottom: 1.5rem !important;
  }
  
  .pre-entry-intro {
    font-size: 18px !important;
    margin-bottom: 1.5rem !important;
  }
  
  .pre-entry-list {
    margin: 1rem 0;
    gap: 0.75rem;
  }
  
  .pre-entry-list li {
    padding-left: 1.5rem;
  }
  
  .pre-entry-list li::before {
    font-size: 24px;
  }
  
  .pre-entry-highlight {
    padding: 1.5rem 1.5rem;
    border-radius: 15px;
    font-size: 18px !important;
    margin-top: 1.5rem !important;
    border-left-width: 4px;
  }
  
  .pre-entry-features-container {
    margin-top: 1.5rem;
  }
  
  .features-row {
    gap: 1.5rem;
    margin-bottom: 1.5rem;
    flex-direction: column;
  }
  
  .features-row:last-child {
    margin-bottom: 0;
  }
  
  .pre-entry-feature-card {
    flex: 0 0 100%;
    max-width: 100%;
    width: 100%;
    padding: 1.5rem;
  }
  
  .features-row:last-child .pre-entry-feature-card {
    flex: 0 0 100%;
    max-width: 100%;
    width: 100%;
  }
  
  .feature-header-row {
    gap: 1rem;
    margin-bottom: 0.75rem;
  }
  
  .feature-number-badge {
    width: 50px;
    height: 50px;
    min-width: 50px;
    min-height: 50px;
    font-size: 20px;
  }
  
  .pre-entry-feature-card:hover {
    transform: translateY(-3px);
  }
  
  .pre-entry-outcomes-list {
    margin: 1.5rem 0;
    gap: 1rem;
  }
  
  .pre-entry-outcomes-list li {
    font-size: 18px;
  }
}

@media (max-width: 480px) {
  section.section-micro-certification {
    gap: 2rem;
    margin-bottom: 40px;
    padding: 0 0.5rem;
  }
  
  .bg-shape-1 {
    width: 12.5rem;
    height: 12.5rem;
    top: 2%;
    right: -10%;
  }
  
  .bg-shape-2 {
    border-left-width: 6.25rem;
    border-right-width: 6.25rem;
    border-bottom-width: 8.125rem;
    top: 18%;
    left: -10%;
  }
  
  .bg-shape-3 {
    width: 9.375rem;
    height: 9.375rem;
    top: 45%;
    right: 2%;
  }
  
  .bg-shape-4 {
    width: 10.625rem;
    height: 10.625rem;
    bottom: 5%;
    left: -10%;
  }
  
  section.section-micro-certification .features-container {
    gap: 1.5rem;
  }
  
  section.section-micro-certification .core-feature {
    padding: 1.5rem 1rem;
    gap: 1rem;
    border-radius: 15px;
  }
  
  section.section-micro-certification .feature-header {
    gap: 0.75rem;
    margin-bottom: 1rem;
  }
  
  section.section-micro-certification .feature-number {
    font-size: min(7vw, 40px);
  }
  
  section.section-micro-certification .feature-header h3 {
    font-size: min(6vw, 28px);
  }
  
  section.section-micro-certification .feature-subtitle,
  section.section-micro-certification .core-feature p {
    font-size: 14px;
  }
  
  section.section-micro-certification .feature-list li {
    font-size: 15px;
    font-weight: 400;
    line-height: 1.7;
  }
  
  section.section-micro-certification .feature-list {
    gap: 0.5rem;
    margin: 0.75rem 0;
  }
  
  section.section-micro-certification .feature-list li {
    padding-left: 1.25rem;
  }
  
  section.section-micro-certification .feature-list li::before {
    width: 6px;
    height: 6px;
    top: 6px;
  }
  
  section.section-micro-certification .core-feature .pre-entry-answer {
    font-size: 1.2rem !important;
  }
  
  .pre-entry-container {
    padding: 1.5rem 1rem;
    gap: 1rem;
    border-radius: 15px;
  }
  
  .pre-entry-container h2 {
    font-size: min(6vw, 28px);
    margin-bottom: 0.75rem;
  }
  
  .pre-entry-container h3 {
    font-size: min(5vw, 22px);
    margin-top: 1rem;
    margin-bottom: 0.5rem;
  }
  
  .pre-entry-container p {
    font-size: 14px;
  }
  
  .pre-entry-list li {
    font-size: 15px;
    font-weight: 400;
    line-height: 1.7;
  }
  
  .pre-entry-answer {
    font-size: 20px !important;
    margin-bottom: 1rem !important;
  }
  
  .pre-entry-intro {
    font-size: 16px !important;
    margin-bottom: 1rem !important;
  }
  
  .pre-entry-list {
    margin: 0.75rem 0;
    gap: 0.5rem;
  }
  
  .pre-entry-list li {
    padding-left: 1.25rem;
  }
  
  .pre-entry-list li::before {
    font-size: 20px;
  }
  
  .pre-entry-highlight {
    padding: 1rem 1rem;
    border-radius: 12px;
    font-size: 16px !important;
    margin-top: 1rem !important;
    border-left-width: 3px;
  }
  
  .pre-entry-features-container {
    margin-top: 1rem;
  }
  
  .pre-entry-features-container .row {
    --bs-gutter-x: 1rem;
    --bs-gutter-y: 1rem;
  }
  
  .pre-entry-feature-card {
    padding: 1rem;
  }
  
  .feature-header-row {
    gap: 0.75rem;
    margin-bottom: 0.5rem;
  }
  
  .feature-number-badge {
    width: 40px;
    height: 40px;
    min-width: 40px;
    min-height: 40px;
    font-size: 16px;
  }
  
  .pre-entry-feature-card:hover {
    transform: translateY(-2px);
  }
  
  .pre-entry-outcomes-list {
    margin: 1rem 0;
    gap: 0.75rem;
  }
  
  .pre-entry-outcomes-list li {
    font-size: 16px;
  }
}

/* Pre-Entry PDF Jumbotron Section - Hero Style */
.pre-entry-pdf-jumbotron.hero {
  background: -webkit-linear-gradient(135deg, rgba(52, 58, 64, 0.9) 0%, rgba(52, 58, 64, 1) 50%, rgba(52, 58, 64, 0.9) 100%);
  background: -moz-linear-gradient(135deg, rgba(52, 58, 64, 0.9) 0%, rgba(52, 58, 64, 1) 50%, rgba(52, 58, 64, 0.9) 100%);
  background: linear-gradient(135deg, rgba(52, 58, 64, 0.9) 0%, rgba(52, 58, 64, 1) 50%, rgba(52, 58, 64, 0.9) 100%);
  padding: 7.5rem 4.375rem;
  margin-bottom: 0;
  margin-left: 0;
  margin-right: 0;
  max-width: none;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2.5rem;
}

.pre-entry-pdf-jumbotron.hero h2 {
  font-size: min(2.6vw, 50px);
  color: white;
  margin: 0;
  margin-bottom: 1.25rem;
  line-height: 1.3;
  text-align: center;
}

.pre-entry-pdf-jumbotron.hero p {
  font-size: min(1.14vw, 22px);
  color: white;
  margin: 0;
  margin-bottom: 1.875rem;
  line-height: 1.6;
  text-align: center;
  opacity: 0.9;
}

.pdf-download-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  align-items: center;
}

@media (max-width: 768px) {
  .pdf-download-buttons {
    flex-direction: column;
  }
}

.pre-entry-pdf-jumbotron .pdf-download-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.9375rem;
  padding: 1.25rem 3.125rem;
  background-color: rgba(255, 95, 31, 0.9) !important;
  color: white !important;
  text-decoration: none;
  border-radius: 1.25rem;
  font-size: 1.25rem;
  font-weight: 600;
  transition: all 0.3s ease;
  -webkit-box-shadow: 0 4px 15px rgba(255, 95, 31, 0.3);
  -moz-box-shadow: 0 4px 15px rgba(255, 95, 31, 0.3);
  box-shadow: 0 4px 15px rgba(255, 95, 31, 0.3);
}

.pre-entry-pdf-jumbotron .pdf-download-btn:hover {
  background-color: rgba(255, 95, 31, 1) !important;
  transform: translateY(-2px);
  -webkit-box-shadow: 0 6px 20px rgba(255, 95, 31, 0.4);
  -moz-box-shadow: 0 6px 20px rgba(255, 95, 31, 0.4);
  box-shadow: 0 6px 20px rgba(255, 95, 31, 0.4);
  text-decoration: none;
  color: white !important;
}

.pre-entry-pdf-jumbotron .pdf-icon {
  font-size: 1.25rem;
}

/* Responsive PDF Jumbotron */
@media (max-width: 1024px) {
  .pre-entry-pdf-jumbotron.hero {
    padding: 5.0rem 3.125rem;
    margin-bottom: 5.0rem;
    gap: 1.875rem;
  }
  
  .pre-entry-pdf-jumbotron.hero h2 {
    font-size: 2.5rem;
  }
  
  .pre-entry-pdf-jumbotron.hero p {
    font-size: 1.25rem;
    margin-bottom: 1.5625rem;
  }
  
  .pre-entry-pdf-jumbotron .pdf-download-btn {
    padding: 1.125rem 2.5rem;
    font-size: 1.125rem;
  }
  
  .pre-entry-pdf-jumbotron .pdf-icon {
    font-size: 1.125rem;
  }
}

@media (max-width: 768px) {
  .pre-entry-pdf-jumbotron.hero {
    padding: 3.75rem 1.875rem;
    margin-bottom: 60px;
    gap: 1.5rem;
  }
  
  .pre-entry-pdf-jumbotron.hero h2 {
    font-size: 2.0rem;
    margin-bottom: 1rem;
  }
  
  .pre-entry-pdf-jumbotron.hero p {
    font-size: 18px;
    margin-bottom: 1.5rem;
  }
  
  .pre-entry-pdf-jumbotron .pdf-download-btn {
    padding: 1rem 2rem;
    font-size: 16px;
    border-radius: 15px;
  }
  
  .pre-entry-pdf-jumbotron .pdf-icon {
    font-size: 1rem;
  }
}

@media (max-width: 480px) {
  .pre-entry-pdf-jumbotron.hero {
    padding: 4rem 1rem;
    margin-bottom: 0;
    gap: 1rem;
  }
  
  .pre-entry-pdf-jumbotron.hero h2 {
    font-size: 1.75rem;
    margin-bottom: 0.75rem;
  }
  
  .pre-entry-pdf-jumbotron.hero p {
    font-size: 16px;
    margin-bottom: 1rem;
  }
  
  .pre-entry-pdf-jumbotron .pdf-download-btn {
    padding: 0.875rem 1.5rem;
    font-size: 15px;
    border-radius: 12px;
    /* flex-direction: column; */
    gap: 0.5rem;
  }
  
  .pre-entry-pdf-jumbotron .pdf-icon {
    font-size: 0.875rem;
  }
}

section.section-micro-certification p b, section.section-micro-certification p strong {
  font-weight: 600 !important;
  font-variation-settings: "wght" 600 !important;
}


/* Schedule Section */
.schedule {
  padding: 0 5% 2rem 5%;
  background-color: white;
}

.schedule-title {
  text-align: center;
  margin-bottom: 80px;
}

.schedule-title .title-accent {
  display: block;
  font-size: 1.2rem;
  color:rgb(34, 197, 94);
  margin-bottom: 10px;
}

.schedule-title .title-main {
  font-size: 2.5rem;
  color: #333;
}

.schedule-timeline {
  max-width: 1000px;
  margin: 0 auto;
  position: relative;
}

.schedule-timeline::before {
  content: "";
  position: absolute;
  left: 65px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: linear-gradient(
    to bottom,
    rgba(192, 0, 119, 0.2),
    rgb(192, 0, 119),
    rgba(192, 0, 119, 0.2)
  );
}

.schedule-block {
  display: flex;
  gap: 40px;
  margin-bottom: 60px;
  position: relative;
}

.schedule-icon {
  position: relative;
  width: 80px;
  height: 80px;
  background: white;
  border-radius: 50%;
  box-shadow: 0 0 20px rgba(192, 0, 119, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  border: 2px solid rgb(192, 0, 119);
  transition: transform 0.3s ease;
}

@media (max-width: 768px) {
  .schedule-icon {
    width: 48px;
    height: 48px;
  }
}

.schedule-icon i {
  font-size: 24px;
  color: rgb(192, 0, 119);
}

.phase-number {
  position: absolute;
  top: -5px;
  right: -5px;
  background: rgb(192, 0, 119);
  color: white;
  width: 25px;
  height: 25px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: bold;
}

.schedule-content {
  background: white;
  padding: 30px;
  border-radius: 20px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
  flex: 1;
  transition: transform 0.3s ease;
}

.schedule-block:hover .schedule-icon {
  transform: scale(1.1) rotate(360deg);
}

.schedule-block:hover .schedule-content {
  transform: translateX(10px);
}

.schedule-content h3 {
  color: #333;
  font-size: 1.3rem;
  margin-bottom: 20px;
}

.schedule-list {
  list-style: none;
  padding: 0;
  margin: 1.5rem 0;
}

.schedule-list li {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-bottom: 15px;
  color: #666;
  font-size: 1rem;
}

.schedule-list li i {
  color: rgb(192, 0, 119);
  font-size: 16px;
  width: 20px;
}

/* CIDF Section - Green Theme Overrides (only for #cidf) */
/* Feature number styling - Green */
section.section-micro-certification#cidf .feature-number {
  color: rgba(34, 197, 94, 0.2);
}

/* Feature list bullet points - Green */
section.section-micro-certification#cidf .feature-list li::before {
  background-color: rgba(34, 197, 94, 0.6);
}

/* Pre-entry highlight - Green */
section.section-micro-certification#cidf .pre-entry-highlight {
  background: linear-gradient(135deg, rgba(34, 197, 94, 0.1) 0%, rgba(34, 197, 94, 0.05) 100%);
  border-left: 0.3125rem solid rgba(34, 197, 94, 0.5);
}

/* Pre-entry feature card hover - Green */
section.section-micro-certification#cidf .pre-entry-feature-card:hover {
  border-color: rgba(34, 197, 94, 0.2);
}

/* Feature number badge - Green */
section.section-micro-certification#cidf .feature-number-badge {
  background: linear-gradient(135deg, rgba(34, 197, 94, 0.15) 0%, rgba(34, 197, 94, 0.05) 100%);
  color: rgba(34, 197, 94, 0.6);
}

section.section-micro-certification#cidf .pre-entry-feature-card:hover .feature-number-badge {
  background: linear-gradient(135deg, rgba(34, 197, 94, 0.25) 0%, rgba(34, 197, 94, 0.1) 100%);
  color: rgba(34, 197, 94, 0.8);
}

/* Pre-entry summary - Green */
section.section-micro-certification#cidf .pre-entry-summary {
  background: linear-gradient(135deg, rgba(34, 197, 94, 0.2) 0%, rgba(34, 197, 94, 0.1) 100%);
  border: 0.3125rem solid rgba(34, 197, 94, 0.2);
}

/* PDF Jumbotron button - Green */
body:has(section.section-micro-certification#cidf) .pre-entry-pdf-jumbotron .pdf-download-btn {
  background-color: rgba(34, 197, 94, 0.9) !important;
  -webkit-box-shadow: 0 4px 15px rgba(34, 197, 94, 0.3);
  -moz-box-shadow: 0 4px 15px rgba(34, 197, 94, 0.3);
  box-shadow: 0 4px 15px rgba(34, 197, 94, 0.3);
}

body:has(section.section-micro-certification#cidf) .pre-entry-pdf-jumbotron .pdf-download-btn:hover {
  background-color: rgba(34, 197, 94, 1) !important;
  -webkit-box-shadow: 0 6px 20px rgba(34, 197, 94, 0.4);
  -moz-box-shadow: 0 6px 20px rgba(34, 197, 94, 0.4);
  box-shadow: 0 6px 20px rgba(34, 197, 94, 0.4);
}

/* Schedule section within CIDF - Green theme */
section.section-micro-certification#cidf .schedule .schedule-title .title-accent {
  color: rgb(34, 197, 94);
}

section.section-micro-certification#cidf .schedule .schedule-timeline::before {
  background: linear-gradient(
    to bottom,
    rgba(34, 197, 94, 0.2),
    rgb(34, 197, 94),
    rgba(34, 197, 94, 0.2)
  );
}

section.section-micro-certification#cidf .schedule .schedule-icon {
  border: 2px solid rgb(34, 197, 94);
  box-shadow: 0 0 20px rgba(34, 197, 94, 0.1);
}

section.section-micro-certification#cidf .schedule .schedule-icon i {
  color: rgb(34, 197, 94);
}

section.section-micro-certification#cidf .schedule .phase-number {
  background: rgb(34, 197, 94);
}

section.section-micro-certification#cidf .schedule .schedule-list li i {
  color: rgb(34, 197, 94);
}

/* Pre-Entry Section - Orange Theme Overrides (only for #pre-entry) */
/* Feature number styling - Orange */
section.section-micro-certification#pre-entry .feature-number {
  color: rgba(255, 95, 31, 0.2);
}

/* Feature list bullet points - Orange */
section.section-micro-certification#pre-entry .feature-list li::before {
  background-color: rgba(255, 95, 31, 0.6);
}

/* Pre-entry highlight - Orange */
section.section-micro-certification#pre-entry .pre-entry-highlight {
  background: linear-gradient(135deg, rgba(255, 95, 31, 0.1) 0%, rgba(255, 95, 31, 0.05) 100%);
  border-left: 0.3125rem solid rgba(255, 95, 31, 0.5);
}

/* Pre-entry feature card hover - Orange */
section.section-micro-certification#pre-entry .pre-entry-feature-card:hover {
  border-color: rgba(255, 95, 31, 0.2);
}

/* Feature number badge - Orange */
section.section-micro-certification#pre-entry .feature-number-badge {
  background: linear-gradient(135deg, rgba(255, 95, 31, 0.15) 0%, rgba(255, 95, 31, 0.05) 100%);
  color: rgba(255, 95, 31, 0.6);
}

section.section-micro-certification#pre-entry .pre-entry-feature-card:hover .feature-number-badge {
  background: linear-gradient(135deg, rgba(255, 95, 31, 0.25) 0%, rgba(255, 95, 31, 0.1) 100%);
  color: rgba(255, 95, 31, 0.8);
}

/* Pre-entry summary - Orange */
section.section-micro-certification#pre-entry .pre-entry-summary {
  background: linear-gradient(135deg, rgba(255, 95, 31, 0.2) 0%, rgba(255, 95, 31, 0.1) 100%);
  border: 0.3125rem solid rgba(255, 95, 31, 0.2);
}

/* PDF Jumbotron button - Orange */
body:has(section.section-micro-certification#pre-entry) .pre-entry-pdf-jumbotron .pdf-download-btn {
  background-color: rgba(255, 95, 31, 0.9) !important;
  -webkit-box-shadow: 0 4px 15px rgba(255, 95, 31, 0.3);
  -moz-box-shadow: 0 4px 15px rgba(255, 95, 31, 0.3);
  box-shadow: 0 4px 15px rgba(255, 95, 31, 0.3);
}

body:has(section.section-micro-certification#pre-entry) .pre-entry-pdf-jumbotron .pdf-download-btn:hover {
  background-color: rgba(255, 95, 31, 1) !important;
  -webkit-box-shadow: 0 6px 20px rgba(255, 95, 31, 0.4);
  -moz-box-shadow: 0 6px 20px rgba(255, 95, 31, 0.4);
  box-shadow: 0 6px 20px rgba(255, 95, 31, 0.4);
}

@media (min-width: 1400px) {
  .lang-en h2 {
    font-size: 2.25rem !important;
  }
}

@media (max-width: 768px) {
  .lang-en body > header > div.header-text > h2 {
    font-size: min(7vw, 60px) !important;
  }
}

@media (width <= 1100px) {
  .lang-en body > section.hero {
      flex-direction: column;
  }
}