.title-sec {
    height: calc(100svh - 80px);
    height: calc(100dvh - 80px);
    height: calc(100vh - 80px);
    padding-bottom: env(safe-area-inset-bottom);
    box-sizing: border-box;
    display: flex;
    align-items: flex-end;
    justify-content: flex-start;
    position: relative;
    width: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    overflow: hidden;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.35);
  display: flex;
  align-items: flex-end;
}

.title-sec>img {
    width: 100%;
}

.title {
  position: absolute;
  bottom: 20px;
  left: 20px;
  color: #EEEFEB;
  font-size: 5rem;
  font-weight: 700;
  line-height: .9;
  max-width: 90%;
  text-shadow: 0 8px 16px rgba(0, 0, 0, 0.3);
}

@media screen and (max-width: 991px){
  .title {
    left: 2%;
    bottom: 2%;
  }
}

.title .period {
  color: #F7941F;
  line-height: 0;
  font-size: 7rem;
}

.scroll-indicator {
  display: none;
}

@media screen and (min-width: 1450px) {
.scroll-indicator {
  display: block;
  position: absolute;
  bottom: 2%;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  animation: fadeIn 1.5s ease-in-out 1.2s both;
}

.scroll-indicator .chevron {
  display: inline-block;
  animation: bounce 2s infinite;
}
}

/* Same bounce keyframes */
@keyframes bounce {
  0%, 20%, 50%, 80%, 100% {
    transform: translateY(0);
  }
  40% {
    transform: translateY(8px);
  }
  60% {
    transform: translateY(4px);
  }
}

/* Optional fade-in */
@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}


/* blue line */

.line {
    width      : 85%;
    padding-top: 72px;
    margin     : auto;
}

.blue-line {
    border-bottom: 3px solid #1291BD;
}

/* service section */
.service-sec {
    width  : 85%;
    margin : auto;
    display: flex;
}

.service-content {
    width         : 45%;
    display       : flex;
    flex-direction: column;
    margin-top: 60px;
}

.service-title {
    font-weight  : 700;
    color        : #414042;
    margin-bottom: 20px;
    font-size    : 3rem;
}

.service-arrow {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
}

.service-arrow>img {
    opacity   : 0;
    position  : relative;
    height    : 150px;
    transition: 1s all ease;
    margin-top: -90px;
}

.service-img {
    display       : flex;
    flex-direction: column;
    width         : 30%;
    margin-top    : 60px;
}

.service-large-img {
    align-self  : flex-end;
    margin-right: 100px;
}

.service-large-img >img{
   width: 285px;
}
.service-small-img {
    align-self  : flex-end;
    justify-self: revert;
    margin-top  : -19px;
    margin-right: 0px;
}
.service-small-img >img{
    width: 150px;
}

.service-main:hover .service-arrow>img {

    display   : block;
    margin-top: -6px;
    opacity   : 1;
    transition: 1s all ease;
}

/* lave duue section  */

.lave-duue-sec {
    display: flex;
    width  : 85%;
    margin : 60px auto auto auto;
}

.lave-duue-sec>div {
    display       : flex;
    flex-direction: column;
    width         : 33.33333%;
    position      : relative;
}

.lave-duue-sec div .service-img {
    width: 136px;
}

.portion>div {
    width         : 62%;
    display       : flex;
    flex-direction: column;
    align-items   : center;
    padding       : 0px 10px;
}

.portion p {
    font-size  : 16px;
    color      : #292922;
    padding    : 10px;
    text-align : center;
}

.portion h5 {
    font-size  : 19px;
    font-weight: 500;
    font-style : italic;
    padding    : 10px 0px;
    text-align : center;
    white-space: nowrap;
}

.portion>div {
    align-self: center;
}

.service1,
.service2 {
    border-right: 1.7px dashed #1291BD;
    z-index     : 20;
}

.check-mark {
    position : absolute;
    width    : 80%;
    left     : 50%;
    top      : 50%;
    transform: translate(-50%, -50%);
    opacity  : 0;


}

.service1:hover>img,
.service2:hover>img,
.service3:hover>img {
    transition: all 1s ease-in;
    opacity   : 0.4;
}

/* resources section */

.resources-sec {
    display: flex;
    width  : 85%;
    margin : 60px auto auto auto;
    justify-content: space-between;
    align-items: flex-start;
}

.resources-title {
    font-weight  : 700 !important;
    color        : #414042 !important;
    margin-bottom: 20px;
    font-size    : 3rem;
}

.resources-img {
    width: 30%;
    margin-top: 50px;
}

.resources-content {
    width         : 45%;
    display       : flex;
    flex-direction: column;
    margin-top    : 40px;
    align-items: flex-start;
}

.resources-large-img {
    align-self  : flex-start;
    margin-right: 56px;
}
.resources-large-img >img{
    width: 285px;
}
.resources-small-img {
    align-self : flex-start;
    margin-top : -29px;
    margin-left: 254px;
}
.resources-small-img > img{
    width: 150px;
}
.green-line {
    border-bottom: 3px solid #618C03;
    position     : relative;
}

.green-line img {
    position  : absolute;
    left      : 25%;
    top       : -60px;
    opacity   : 0;
    transition: all 1s ease;

}

.resources-main:hover .green-line img {
    top       : 70px;
    opacity   : 1;
    transition: all 1s ease;
}

.right-arrow-sec {
    display: flex;
    width  : 85%;
    margin : auto;
}

.right-arrow h6 {
    text-align: right;
    font-size : 1.1rem;
} 


.right-arrow {
    display    : flex;
    width      : 50%;
    margin-left: 50%;
    padding    : 10px;
    left       : 0px;

}

.right-arrow>div {
    position: relative;
    flex    : 1;
}

.right-arrow img {
    position        : absolute;
    width           : 60px;
    right           : 80%;
    top             : -9px;
    opacity         : 0;
    transition      : all 1s ease;
}

.right-arrow:hover div img {
    opacity         : 1;
    right           : 10px;
    transition      : all 1s ease;
}
.right-arrow:hover h6{
color: #618C03;
}

.resources-images {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 2rem 5rem;
  margin: 1rem auto;
  max-width: 900px;
}

.resources-images a {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  text-decoration: none;
}

.resources-images a img {
  width: 65px;
  height: auto;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.resources-images a img:hover {
  transform: scale(1.08);
  box-shadow: none; /* ← no shadow box */
}

.resources-images h5 {
  font-size: 0.9rem;
  color: #618C03;
  margin-top: 0.5rem;
}

@media screen and (max-width: 429px) {
  .resources-images {
    flex-direction: column;
    align-items: center;
  }
}

h5, h6 {
  transition: transform 0.1s ease, color 0.1s ease;
  transform-origin: center;
}

h5:hover, h6:hover {
  transform: scale(1.03);
}


.company-sec {
    width  : 85%;
    margin : auto;
    display: flex;
}

.company-content {
    width         : 50%;
    display       : flex;
    flex-direction: column;
    margin-top    : 60px;
}

.company-img {
    display       : flex;
    flex-direction: column;
    width         : 50%;
    margin-top    : 85px;
}

.company-content div:nth-child(1) {
    display    : flex;
    align-items: center;
}

.left-arrow {
    display: flex;
    width  : 100%;
}

.left-arrow>img {
    position  : relative;
    width     : 150px;
    opacity   : 0;
    left      : 150%;
    transition: all 1s ease;
}

.company-title {
    font-weight  : 700;
    color        : #414042;
    margin-bottom: 20px;
    font-size    : 3rem;
}

.royal-line {
    border-bottom: 3px solid #335D90;
}

.company-large-img {
    align-self: flex-end;
}
.company-large-img >img{
   width:285px;
}
.company-small-img {
    align-self: flex-end;
    margin-top: -29px;
    margin-right: 262px;
}
.company-small-img>img {
    width: 150px;
}

.company {
    width : 85%;
    margin: auto;
}

.meet-our-team>div {
    width      : 50%;
    display    : flex;
    align-items: center;
    margin-bottom: 12px;
}

.stewardship>div {
    width      : 50%;
    display    : flex;
    align-items: center;
    margin-bottom: 12px;
}

.values>div {
    width      : 50%;
    display    : flex;
    align-items: center;
    margin-bottom: 12px;
}

.company>div h5 {
    font-size: 1.1rem;
}
.company>div:hover h5{
    color: #335D90;
} 
.meet-our-team>div>div {
    flex: 1;
}
.stewardship>div>div {
    flex: 1;
}
.values>div>div {
    flex: 1;
}

.left-small-arrow {
    opacity    : 0;
    margin-left: 60%;
    transition : 1s all ease;
}

.meet-our-team :hover .left-small-arrow {
    margin-left: 30px;
    opacity    : 1;
    transition : 1s all ease;
}
.stewardship :hover .left-small-arrow {
    margin-left: 30px;
    opacity    : 1;
    transition : 1s all ease;
}
.values :hover .left-small-arrow {
    margin-left: 30px;
    opacity    : 1;
    transition : 1s all ease;
}

.contact-us>div {
    width      : 65%;
}

.contact-us>div div {
    height  : 60px;
    position: relative;
}

.down-small-arrow {
    height    : 50px;
    position  : absolute;
    bottom    : -20px;
    opacity   : 0;
    transition: 1s all ease;
}

.contact-us>div:hover .down-small-arrow {
    opacity   : 1;
    transition: 1s all ease;
    bottom    : -2.2px;
}

.company-main:hover .left-arrow>img {

    opacity   : 1;
    left      : 100px;
    right     : auto;
    transition: all 1s ease;
}

.service-content div p,
.resources-content div p,
.company-content div p {
    padding  : 5px 0px;
    font-size: 1rem;
}

/* valuefocused page */
.valuefocused {
    max-width     : 1080px;
    margin        : 0 auto;
    padding-bottom: 100px;
}

.valuefocused>div {
    width         : 100%;
    height        : 0;
    padding-bottom: 56.25%;
    position      : relative;
}

.valuefocused iframe {
    position: absolute;
    width   : 100%;
    height  : 100%;
}

.project-approach,
.agile-methodology {
    width : 90%;
    margin: 50px auto;
}

.project-approach img,
.agile-methodology img {
    width: 100%;
}

@media screen and (max-width: 1080px) {


    .service-title,
    .resources-title,
    .company-title {
        font-size: 2rem;
    }

    /* service section */

    .service-sec {
        flex-direction: column;
    }

    .service-arrow,
    .service-sec .service-img {
        display: none;
    }

    .lave-duue-sec {
        flex-direction: column;
        margin-top    : 0px;
    }

    .lave-duue-sec>div {
        width         : auto;
        padding-bottom: 40px;
    }

    .service1,
    .service2 {
        border-bottom: 1.7px dashed #1291BD;
        border-right : none;
    }

    .check-mark {
        width: 40%;
        top  : 60%;
    }

    .portion>div {
        width: 70%;
    }

    /* resource section */

    .resources-sec {
        flex-direction: column;
        margin        : 0px auto auto auto;
    }

    .resources-main .line {
        padding-top: 30px;
    }

    .company-main .line {
        padding-top: 0px;
    }

    .resources-img {
        display: none;
    }

    .green-line img {
        display: none;
    }

    .right-arrow {
        flex-direction: row-reverse;
        margin-left   : 0%;
        width         : 100%;
        padding       : 0px;
    }

    .right-arrow img {
        transform: rotate(180deg);
        left     : 70%;
        opacity  : 0;
        width    : 51px;
        top      : -5px;
    }

    .right-arrow:hover img {
        opacity         : 1;
        left            : 10%;
        transition      : all 1s ease;
        transition-delay: 0.5s;
    }

    .resources1,
    .resources2 {
        border-bottom: 1.7px dashed #618C03;
        border-right : none;
    }

    .right-arrow-sec {
        margin-bottom: 50px;
    }

    /* company section */

    .company-content {
        width: 100%;
    }

    .company-sec .left-arrow {
        display: none;
    }

    .company-sec .company-img {
        display: none;
    }

    .left-small-arrow {
        margin-left: 0%;
        position   : relative;
        left       : 50%;
    }

    .meet-our-team>div {
        width: 100%;
    }
    
    .stewardship>div {
        width: 100%;
    }

    .values>div {
        width: 100%;
    }

    .meet-our-team :hover .left-small-arrow {
        margin-left: 10px;
        left       : 0%;
        opacity    : 1;
        transition : 1s all ease;
        color: #1291BD;
    }
    
    .stewardship :hover .left-small-arrow {
        margin-left: 10px;
        left       : 0%;
        opacity    : 1;
        transition : 1s all ease;
        color: #1291BD;
    }

    .values :hover .left-small-arrow {
        margin-left: 10px;
        left       : 0%;
        opacity    : 1;
        transition : 1s all ease;
        color: #1291BD;
    }

    .company-content,
    .service-content {
        margin-top: 40px;
    }

    .service-content,
    .resources-content {
        width: 98%;
    }

    .valuefocused {
        padding: 50px 25px 50vh 24px;
        ;
    }

    .project-approach {
        margin: 50px auto 40vh auto;
    }

    .agile-methodology {
        margin: 50px auto 50vh auto;
    }

}

.stewardship h5 {
    display: inline-block;
}

@media screen and (max-width: 600px) {
    .check-mark {
        width: 70%;
        top  : 55%;
    }

    .portion p {
        font-size: 13px;
    }

}

@media screen and (max-width: 400px) {

    .service-title,
    .resources-title,
    .company-title {
        font-size: 1.7rem;
    }

    .right-arrow img {
        left: 50%;
    }

    .right-arrow h6 {
        font-size: 1rem;
    }

    .company>div h5 {
        font-size: 1rem;
    }

    .portion p {
        font-size: 12px;
    }

    .valuefocused {
        padding: 50px 0 50vh 0;
    }
}
.icon-rows {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  position: relative;
  width: 85%;
  margin: 20px auto;
}

.icon-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin: 20px 60px;
  flex: 0 0 20%;
  max-width: 200px;
  text-align: center;
  cursor: pointer;
  position: relative;
}

.icon-item h5 {
  font-size: 1.1rem;
  font-weight: 500;
  font-style: italic;
  padding: 10px;
}

.icon-item img {
  height: 115px;               /* Force consistent height */
  width: auto;                 /* Let width scale proportionally */
  max-width: 100%;
  object-fit: contain;         /* Ensure full image shows inside fixed box */
  display: block;
}

.icon-placeholder {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  width: 100%;
  position: relative;
  min-height: 0;
}

.icon-details-container {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  width: clamp(240px, 75vw, 300px);
  opacity: 0;
  max-height: 0;
  transition: max-height 0.4s ease, opacity 0.3s ease;
  background-color: rgba(65, 64, 66, 0.95);
  border-radius: 8px;
  padding: 20px;
  margin-top: 10px;
  box-sizing: border-box;
  z-index: 10;
  pointer-events: none;
  overflow: visible;
}

/* Show on hover (only on desktop) */
@media (hover: hover) and (pointer: fine) {
  .icon-item:hover .icon-details-container {
    opacity: 1;
    max-height: 500px;
    pointer-events: auto;
  }
}

/* JS-based toggle on touch devices */
.icon-details-container.show {
  opacity: 1 !important;
  max-height: 500px !important;
  pointer-events: auto !important;
}

.icon-details-container p {
  margin-bottom: 0;
  color: #fff;
}

.pointer-triangle {
  position: absolute;
  top: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 0;
  border-left: 10px solid transparent;
  border-right: 10px solid transparent;
  border-bottom: 10px solid rgba(65, 64, 66, 0.95);
  z-index: 20;
  pointer-events: none;
}

.icon-details-wrapper {
  position: relative;
}

.icon-rows-wrapper {
  width: 100%;
  position: relative;
}

/* Responsive tweaks */
@media (max-width: 890px) {
  .icon-item img {
    width: 115px;
    max-width: 125%;
  }
  .icon-item h5 {
    font-size: 0.9rem;
    padding: 8px;
  }
  .icon-item {
    margin: 20px 30px;
  }
  .icon-details-container {
    width: clamp(200px, 90vw, 250px);
    padding: 12px;
  }
  .icon-details-container p {
    font-size: 0.9rem;
  }
}

@media (max-width: 768px) {
  .icon-item img {
    height: 90px;
  }
}

@media (max-width: 480px) {
  .icon-item img {
    height: 70px;
  }
}

/* START OF VALUES PAGE STYLES */

.values-section {
  display: flex;
  justify-content: center;
  align-items: center;
  padding-left: 3rem;
  padding-right: 3rem;
  padding-bottom: 6rem;
  position: relative;
}

.values-container {
  position: relative;
  width: 100%;
  max-width: 1500px;
  height: 70vh;
  min-height: 850px;
}

.core {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 1;
}

.chip {
  background-color: #333;
  width: 150px;
  height: 150px;
  padding: 1rem 1.5rem;
  border-radius: 8px;
  display: flex;
  justify-content: center;
  align-items: center;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.3);
  position: relative;  /* ← this enables z-index */
  z-index: 2;          /* ensures it's above the SVG lines */
}

.chip img {  
  min-width: 80%;
  height: auto;
  display: block;
}

.value-block-wrapper {
  position: absolute;
}

.value-block {
  position: relative;
  width: 400px;
  background: white;
  border-radius: 8px;
  padding: 1rem;
  box-shadow: 0 0 10px rgba(0,0,0,0.1);
  z-index: 2;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  transform-origin: center;
  will-change: transform;
  backface-visibility: hidden;
  transform-style: preserve-3d;
}

.value-block:hover {
  transform: translate3d(0, -6px, 0);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.15);
}

.value-block h3 {
  position: relative;
  margin-top: 0;
  color: #4D738A;
  font-weight: 800;
  padding-bottom: 6px;
}

.value-block p {
  margin-bottom: 0;  
}

.value-block-wrapper.top-left     { top: 5%; left: 10%; }
.value-block-wrapper.top-right    { top: 5%; right: 10%; }
.value-block-wrapper.right        { top: 40%; right: 0; }
.value-block-wrapper.bottom-right { bottom: 5%; right: 10%; }
.value-block-wrapper.bottom-left  { bottom: 5%; left: 10%; }
.value-block-wrapper.left         { top: 40%; left: 0; }

.connector-lines {
  position: absolute;
  top: 0;
  left: 0; 
  z-index: 0;
  pointer-events: none;
}

/* Base dot style */
.value-block-wrapper .dot {
  width: 15px;
  height: 15px;
  background-color: #F7941F;
  border-radius: 50%;
  position: absolute;
  top: calc(2rem);
  z-index: 2;
  transform: translateY(-50%);
}

.value-block-wrapper.top-left .dot,
.value-block-wrapper.bottom-left .dot,
.value-block-wrapper.left .dot {
  right: -25px;
}

.value-block-wrapper.top-right .dot,
.value-block-wrapper.bottom-right .dot,
.value-block-wrapper.right .dot {
  left: -25px;
}

.value-block h3:hover{
  padding-bottom: 6px;
}


.ambient-line {
  stroke: #414042;
  opacity: 1;
  stroke-width: 1.5;
}


@media (max-width: 1320px) {
  .values-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
    height: auto;
    max-width: 95%;
    padding-top: 2rem;
    position: relative;
  }

  .core {
    position: relative;
    top: 0;
    left: 0;
    transform: none;
    margin-bottom: 4rem;
  }

  .chip {
    margin: 0 auto;
  }

  .value-block-wrapper {
    display: flex;
    align-items: flex-start;
    justify-content: flex-start;
    width: 100%;
    max-width: 600px;
    position: static;
  }

  .value-block-wrapper.top-left .dot,
  .value-block-wrapper.bottom-left .dot,
  .value-block-wrapper.left .dot {
    right: 10px;
  }

  .value-block-wrapper.top-right .dot,
  .value-block-wrapper.bottom-right .dot,
  .value-block-wrapper.right .dot {
    left: -10px;
  }

  .value-block-wrapper .dot {
    position: relative;
    top: auto;
    transform: none;
    margin-top: 1.5rem;
  }

  .value-block {
    position: relative;
    width: 100%;
    box-sizing: border-box;
  }

  .connector-lines {
    position: absolute;
    top: 0;
    left: 0;
    z-index: 0;
    pointer-events: none;
    overflow: visible;
  }

  .connector-lines .individual-connector {
    display: none;
  }  
  
  .connector-lines .mobile-connector {
    display: block;
  }
}

.certifications-page {
  padding-left: 2rem;
  padding-right: 2rem;
  padding-bottom: 4rem;
}

.certifications-page .container {
  max-width: 1200px;
  margin: 0 auto;
  justify-content: center;
}

.title-text {
   text-align: center;
   margin-bottom: 2rem;
   padding-right: 2rem;
   padding-left: 2rem;
}

.title-text p {
  font-size: 4rem;
  font-weight: 600;
  line-height: normal;
}

.certification-stats {
  display: flex;
  justify-content: center;
  gap: 4rem;
  margin-bottom: 1rem;
  text-align: center;
  flex-wrap: wrap;
}

.stat-item {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.stat-number {
  font-size: 4rem;
  font-weight: bold;
  margin: 0;
  color: #F7941F;
}

.stat-description {
  font-size: 1rem;
  margin-top: 0.25rem;
  color: #414042;
  font-weight: 500;
}

.ms-icon-highlight {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  gap: 2rem 6rem;
  margin-top: 2rem;
  margin-bottom: 2.5rem;
  flex-wrap: wrap;
}

.ms-icon-highlight.icon-active {
  margin-bottom: 0rem;
}

.ms-icon-item {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  flex: 0 0 auto;
  width: 85px;
  white-space: nowrap;
}

.ms-icon-item img {
  width: auto;
  height: 80px;
  margin-bottom: 0.5rem;
  filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.1));
  transition: transform 0.3s ease, filter 0.3s ease;
}

.ms-icon-item p {
  font-size: 1rem;
  font-weight: 500;
  color: #444;
  margin-top: 0.25rem;
}

.ms-icon-item img:hover {
  transform: scale(1.1);
  filter: drop-shadow(0 8px 16px rgba(0, 0, 0, 0.2));
}

.ms-icon-item.selected img {
  transform: scale(1.1);
  filter: drop-shadow(0 8px 16px rgba(0, 0, 0, 0.2));
}

.core-offerings-card {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 4rem;
}

.core-offerings {
  display: flex;
  justify-content: center;
  gap: 2rem;
  flex-wrap: wrap;
  text-align: center;
}

.offering-item {
  font-size: 1rem;
  font-weight: 500;
  color: #444;
  padding: 0.5rem 1rem;
  border: 2px solid #ccc;
  border-radius: 8px;
  background-color: #f9f9f9;
  transition: transform 0.3s ease, box-shadow 0.3s ease, border 0.3s ease;
}

.offering-item:hover {
  transform: translateY(-3px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  border: 2px solid #F7941F;
}

.certifications-page .intro-text {
  font-size: 1rem;
  line-height: 1.6;
  margin-bottom: 3rem;
  color: #333;
}

.intro-text p {
  margin-bottom: 1.5rem;
}

.certifications-page h2 {
  font-size: 2rem;
  margin-bottom: 3rem;
  border-bottom: 2px solid #ccc;
}

.certification-card {
  display: flex;
  align-items: center;
  max-width: 1000px;
  margin: 0 auto;
  justify-content: center;
  margin-bottom: 3rem;
}

.partner-logo {
  display: flex;
  align-items: center;
}

.partner-logo img {
  width: 20rem;
  height: auto;
  filter: drop-shadow(0 8px 16px rgba(0, 0, 0, 0.3));
  z-index: 10;
  position: relative;
  transition: transform 0.3s ease, filter 0.3s ease;
}

.partner-description p {
  margin: 0;
  color: #fff;
}

.ms-icon-textbox-container {
  width: 100%;
  max-width: 1000px;
  margin: 0 auto;
  text-align: center;
  overflow: hidden;
}

.ms-icon-textbox {
  padding: 1rem;
  border-radius: 12px;
  font-size: 1rem;
  font-weight: 500;
  line-height: 1.5;
  opacity: 0;
  transform: translateY(-20px);
  transition: opacity 0.5s ease, transform 0.5s ease, margin 0.5s ease;
}

.ms-icon-textbox p {
  color: white;
  margin-bottom: 0px;
}

.ms-icon-textbox.show {
  opacity: 1;
  transform: translateY(0);
  margin: 0 auto 2rem auto;
}

.ms-icon-item.selected p {
  color: #414042;
  font-weight: bolder;  
  position: relative;
  padding-bottom: 6px;
}

.icon-label {
  position:relative;
  display: inline-block; 
  padding-bottom: 4px;
}

.ms-icon-item.selected .icon-label::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 3px;
  background-color: #F7941F;
}

.icon-hidden-text {
  display: none !important;
  height: 0;
  overflow: hidden;
  visibility: hidden;
  position: absolute;
  left: -9999px;
}

.ms-icon-item.selected .icon-hidden-text {
  display: block;
  margin-top: 1rem;
  font-size: 1rem;
  line-height: 1.5;
  color: #fff; /* Match your text box color */
  background-color: rgba(65, 64, 66, 0.95);
  padding: 1.5rem;
  border-radius: 8px;
  transition: opacity 0.5s ease, transform 0.5s ease, margin 0.5s ease;
  opacity: 0;
  transform: translateY(-20px);
}

.ms-icon-item.selected .icon-hidden-text.show {
  opacity: 1;
  transform: translateY(0);
}

.tool-list {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
}

.tool {
  background-color: rgba(65, 64, 66, 0.95); 
  color: #fff;
  padding: 0.6rem 1.6rem;
  border-radius: 20px;
  font-size: 0.9rem;
  white-space: nowrap;
  transition: background-color 0.3s ease;
}

.tool:hover {
  background-color: rgba(65, 64, 66, 0.85);
}

@media (max-width: 992px) {
  .title-text {
    text-align: center;
    margin-bottom: 2rem;
  }

  .title-text p {
    font-size: 4rem;
    font-weight: 600;
    line-height: normal;
  }
  
  .stat-number {
    font-size: 3rem;
  }

  .certification-stats {
    gap: 4rem;
    margin-bottom: 1rem;
  }
  
  .ms-icon-highlight {
    gap: 2rem 4rem;
    margin-bottom: 2rem;
  }

  .ms-icon-item img {
    height: 60px;
  }

  .core-offerings-card {
    margin-bottom: 2rem;
  }

  .core-offerings {
    align-items: center;
  }

  .offering-item {
    font-size: 0.85rem;
  }

  .certifications-page .intro-text {
    margin-bottom: 2rem;
  }

  .certifications-page h2 {
    margin-bottom: 2rem;
  }

  .certification-card {
    margin-bottom: 2rem;
  }
}

@media (max-width: 790px) {
  .certifications-page {
    padding-bottom: 4rem;
  }
  
  .certification-stats {
    gap: 3rem;
    margin-bottom: 1rem;
  }

  .ms-icon-highlight {
    gap: 1.5rem;
    margin-bottom: 2rem;
  }
  
  .ms-icon-item img {
    height: 50px;
  }

  .ms-icon-item p {
    font-size: 0.75rem;
  }

  .offering-item {
    font-size: 0.85rem;
  }

  .tool-list {
    gap: 0.6rem;
  }

  .tool {
    font-size: 0.8rem;
    padding: 0.5rem 1.2rem;
  }
  
  .partner-logo img {
    width: 15rem;
    height: auto;
  }
}

@media (max-width: 720px) {
  .title-text p {
    font-size: 3.5rem;
  }
}

@media (max-width: 645px) {
  .title-text {
    margin-bottom: 1rem;
    padding-right: 1rem;
    padding-left: 1rem;
  }

  .title-text p {
    font-size: 3rem;
  }
}

@media (max-width: 541px) {
  .title-text p {
    font-size: 2.5rem;
  }
}

@media (max-width: 500px) {
  .ms-icon-highlight {
    margin-bottom: 1.5rem;
  }
  
  .certification-stats {
    gap: 1.5rem;
    margin-bottom: 1rem;
  }
 
  .ms-icon-item img {
    height: 50px;
  }

  .ms-icon-item p {
    font-size: 0.8rem;
  }

  .tool-list {
    gap: 0.5rem;
  }

  .tool {
    font-size: 0.75rem;
    padding: 0.4rem 1rem;
  }
}

@media (max-width: 475px) {   
  .certification-stats {
    gap: 1rem 1.5rem;
  }
}
  .partner-articles-section {
    padding: 0;
  }

  .partner-articles-section .post-list {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    max-width: 1200px;
    margin: 0 auto;
  }

  .partner-articles-section .post-block {
    width: 365px;
  }

  .partner-articles-section .most_recent {
    text-align: center;
    margin-bottom: 2rem;
    margin-left: 0;
  }

  .partner-articles-section h3 {
    font-weight: 600;
  }

  .partner-articles-section .post-block .maintitle {
    font-size: .6em !important;
  }

  .partner-articles-section .post-block .articletitle {
    font-size: .75em !important;
  }
  
  @media (max-width: 992px) {
    .partner-articles-section .most_recent {
      margin-bottom: 1rem;
    }
  }

.privacy-policy-title {
  text-align: left;
  margin-top: 4rem;
  margin-bottom: 1.5rem;
}

.privacy-policy-title p {
  font-size: 2rem;
  font-weight: 600;
  line-height: normal;
}

.privacy-policy-page {
  padding-left: 2rem;
  padding-right: 2rem;
  padding-bottom: 4rem;
}

.privacy-policy-page .container {
  max-width: 800px;
  margin: 0 auto;
  justify-content: center;
}

.privacy-policy-header {
  text-align: left;
  margin-bottom: 1rem;
  margin-top: 2rem;
}

.privacy-policy-header p {
  font-size: 1rem;
  font-weight: 600;
  line-height: normal;
}

.privacy-policy-text p {
  margin-bottom: 2rem;
}

.privacy-policy-text li {
  margin-bottom: .5rem;
}

.privacy-policy-page hr {
  border: none;
  height: 1px;
  background-color: #ccc; /* light gray line */
  margin: 1.5rem 0;
}