html, body {
    width: 100%;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    overflow-x: hidden;
}

/* Ensure all elements respect box sizing */
*, *::before, *::after {
    box-sizing: inherit;
}

/* Responsive containers */
.matchmaking-custom-container {
    max-width: 100%;
    overflow-x: hidden;
}
.matchmaking-mainTitle{

    color: #0c3957;
    font-size: 40px;
    font-weight: 600;
    line-height: 48px;
    width: 100%;
}
.matchmaking-custom-container {

    width: 100%;
    padding-top: 15px;
    padding-bottom: 15px;
    padding-left: 20px;
    padding-right: 20px;
}

/* Banner Section Start */

.matchmaking-main-banner{

    position: relative;
    width: 100%;
    height: 442px;  
    background: rgb(247, 249, 250);
}
.bannerMain-video-sec{

    position: relative;
    padding: 40px 0;
    width: 100%;
    height: 442px;
    overflow: hidden;
    clip-path: polygon(0 0,100% 0,100% calc(100% - 26px),calc(100% - 96px) 100%,0 100%);
    z-index: 2;
}
.bannerMain-video-sec video {

  position: absolute;
  left: 0;
  top: 0;
 width: 100%;
  height: 100%;
  object-fit: cover;   /* makes video behave like background-size: cover */
  object-position: center; /* keeps it centered */
}
.bannerMain-video-sec::after{
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background: linear-gradient(0deg, rgba(0, 0, 0, 0.5) 0%, rgba(0, 0, 0, 0.5) 100%);
}
.matchmaking-banner-text {

    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 9;
}
.mmBanner-text-sec {

    
    width: 100%;
    min-height: 300px;
    display: flex;
    align-items: flex-end;
    justify-content: center;
}
.mmBanner-text-sec .mmbnr-txt-context{

    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 24px;
    width: 100%;
}
.headerBreadcrumbs-arrowicon svg {

    fill: #fff;
    color: #fff;
}
.mmBanner-partonetext-sec, .mmBanner-partwotext-sec {

    width: 50%;
}
.mm-banner-title {

    font-size: 40px;
    line-height: 48px;
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 24px;

}
.mm-banner-desc {

    font-size: 16px;
    font-weight: 400;
    line-height: 30px;
    color: #ffffff;
}
.matchmaking-banner-text {

    display: flex;
    align-items: center;
    justify-content: center;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 442px;
}
.mmBannerbtn-card {

    display: flex;
    gap: 16px;
    padding: 32px;
    justify-content: flex-start;
    backdrop-filter: blur(12px);
    width: 100%;
    border: 1px solid rgba(255, 255, 255, 0.3);
}
.bannerExplore-btn {
    
    padding: 6px 16px;
    font-size: 0.875rem;
    min-width: 64px;
    box-sizing: border-box;
    transition: background-color 250ms cubic-bezier(0.4, 0, 0.2, 1) 0ms, box-shadow 250ms cubic-bezier(0.4, 0, 0.2, 1) 0ms, border 250ms cubic-bezier(0.4, 0, 0.2, 1) 0ms;    
    font-weight: 600;
    line-height: 1.75;
    border-radius: 4px;
    letter-spacing: 0.02857em;
    background-color: #00778e;
    color: #ffffff;
    text-decoration: none;
    position: relative;
}
.bannerExplore-btn:hover {

    background-color: #028680;
	color: #fff;
}
.bannerExplore-btn::after{

    content: '';
     border: 1px solid #ffffff;
    border-radius: 2px;
    bottom: 2px;
    content: "";
    left: 2px;
    position: absolute;
    right: 2px;
    top: 2px;
    opacity: 0;
    visibility: hidden;
    
}
.bannerExplore-btn:focus::after {
    opacity: 1;
    visibility: visible;
    transition: 0.3s all linear;
}
.bannerExplore-btn:focus {

    background-color: #00778e;
}
.mmHero-content-section {

    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 24px;
}
.mm-header-Breadcrumbs-list {

    display: none;
    align-items: center;
    justify-content: flex-start;
    gap: 12px;
}
.mm-header-Breadcrumbs-link{

    font-size: 12px;
    font-weight: 600;
    color: #fff;
}
.mm-header-Breadcrumbs-link:hover{
    color: #fffc;
}
.invzh-box {

    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 4px;
    background-color: #ffffff33;
}
.invzh-box img {

    width: 24px;
    height: 25px;
    object-fit: contain;
}

/* Banner Section End */

/* What is Matchmaking Start */

.matchmaking-about-sec {
    width: 100%;
    display: flex;
    align-items: flex-start;
    justify-content: flex-start;
    gap: 10px;
    padding-top: 30px;
}
.wht-mm-left-content {

    width: 50%;
    display: flex;
    flex-direction: column;
    gap: 24px;
}
.mm-about-title {

    font-size: 40px;
    line-height: 48px;
    font-weight: 600;
    color: #0c3957;

}
.mm-about-desc {

    font-size: 20px;
    line-height: 30px;
    font-weight: 400;
    color: #0c3957;
    width: 92%;
}
.wht-mm-video-right {

    width: 50%;
}
.aboutRightvido-sec {

    width: 100%;
    height: 420px;
    overflow: hidden;
    position: relative;
    background: #000;
}
.abtvideoClose-sec {

    position: relative;
    width: 100%;
    height: 100%;
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
}
.abtvideoOpen-sec {

    width: 100%;
    height: 100%;
    position: relative;
}
.abtvideoPlay-sec {

    width: 100%;
    height: 100%;
    position: relative;
}
.abtvideoPlay-sec video {

    width: 100%;
    height: 100%;
    /* object-fit: cover; */
}
.abtvideoPlay-sec::after {
    content: '';    
    background-color: #000;
    bottom: 0;
    height: 100%;
    position: absolute;
    top: 0;
    width: 100%;
}
.abtvideoOpen-sec .abtvideoOpen-icon {

    width: 34px;
    height: 34px;
    position: absolute;
    right: 20px;
    top: 20px;
}
.abtvideoOpen-sec .abtvideoOpen-icon img {

    width: 100%;
    height: 100%;
    object-fit: contain;
}
.abtvidefirst-overlay {
    z-index: 3;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(0deg, rgba(0, 0, 0, 0.4) 0%, rgba(0, 0, 0, 0.4) 100%);
    transition: 0.3s all linear;
}
.mmAbouthover-image {

    width: 100%;
    height: 100%;
    position: absolute;
    left: 0;
    bottom:-30px;
    overflow: hidden;
    z-index: 6;
    transition: 0.2s all linear;
}
.mmAbouthover-image img{

    width: 100%;
    height: 100%;
    object-fit: contain;
}
.aboutRightvido-sec:hover .mmAbouthover-image {

    display: none;
    transition: 0.3s all linear;
}
.aboutRightvido-sec:hover .abtvidefirst-overlay  {

    background: linear-gradient(0deg, rgba(0, 0, 0, 0.1) 0%, rgba(0, 0, 0, 0.1) 100%);
    transition: 0.3s all linear;
}
.mmPlay-btn {

    width: 58px;
    height: 58px;
    overflow: hidden;
    z-index: 9;
    position: absolute;
    left: 0;
    top: 0;
    right: 0;
    bottom: 0;
    margin: auto;
}
.mmPlay-btn img {

    width: 100%;
    height: 100%;
    object-fit: contain;
}
.mmPlay-btn:hover {

    cursor: pointer;
}
.abtvideoOpen-icon:hover {

    cursor: pointer;
}

/* What is Matchmaking End */

/* Our Services Start */

.matchmaking-ourService-section {

    width: 100%;
    display: flex;
    align-items: center;
    flex-direction: column;
    gap: 24px;
}
.mm-ourServices-list {

    width: 100%;
}
.mm-ourServices-item{
    
    display: flex;
    flex-direction: row;
    gap: 30px;
    width: 100%;
}
.mm-ourServices-img-left {
    
    clip-path: polygon(0 0,100% 0,100% calc(100% - 26px),calc(100% - 96px) 100%,0 100%);
    height: 175px;
    width: 40%;
    object-position: center;

}
.mm-ourServices-img-left img{
    
    height: 100%;
    object-fit: cover;
    width: 100%;
    vertical-align: middle;    
}
.mm-ourServices-content-right {
    padding-bottom: 10px;
    padding-top: 10px;
    width: 60%;
}
.mm-ourservice-context-title {

    font-size: 22px;
    line-height: 32px;
    color: #0c3957;
    font-weight: 600;
    padding-bottom: 20px;
    margin-bottom: 20px;
    border-bottom: 2px solid #000;
    display: block;
}
.mm-ourservice-context-text {

    font-size: 16px;
    color: #6c737f;
    line-height: 22.4px;
    padding: 0;
    margin: 0;
    display: -webkit-box;
  -webkit-line-clamp: 4;   /* show only 4 lines */
  -webkit-box-orient: vertical;
  overflow: hidden;
  
}
.mm-ourservice-context-text.expanded {
  -webkit-line-clamp: unset; /* show full text */
}
.ourservice-showMore-btn {
    font-size: 12px;
    font-weight: 600;
    color: #0c3957;
    margin-top: 16px;
    cursor: pointer; 
    display: inline-block; 
    border: none; 
    outline: none;    
    background: none;    
    padding: 0;     
}
.ourservice-showMore-icon {

    width: 10px;
    height: 6px;
    display: inline-block;
    margin-left: 3px;
    transition: transform 0.3s ease;
    
}
.ourservice-showMore-icon svg{

    fill: #6c737f;
    color: #6c737f;
    transition: all 0.3s ease;
}
.ourservice-showMore-btn.active .ourservice-showMore-icon svg {
  transform: rotate(180deg); /* rotate arrow up */
  transition: all 0.3s ease;
}

/* Alternate layout for even items */
.mm-ourServices-item:nth-child(even) {
    flex-direction: row-reverse;
}

/* Our Services End */

/* FAQ Section Start */

.matchmaking-faq-section {

    padding: 40px 0;
    width: 100%;
    background-color: #f7f9fa;
}
.mmFaq-mainTitle {

    font-size: 32px;
    line-height: 38px;
    color: #0c3957;
    font-weight: 600;
    margin-bottom: 24px;
}
.mm-faq-box {

    width: 100%;
    background: #fff;
    border-top: 1px solid #dee2e6;    
}
.mm-faq-box-headline {

    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 16px;
}
.mm-faq-box-headline .mm-faq-box-headline-txt {

    font-size: 16px;
    color: #0c3957;
    width: calc(100% - 20px);
    margin: 0 !important;
	font-weight: 500;
}
.mm-faq-box-headline-arrow {

    width: 20px;
    height: 20px;
}
.mm-faq-box-headline-arrow img {

    width: 17px;
    height: 17px;
    object-fit: contain;
}
.mm-faq-box-desc{

    font-size: 16px;
    color: #6c737f;
    line-height: 24px;    
    margin-bottom: 16px;
    margin-top: 0;
}
.mmfaq-desc-sec {
    display: flex;
    flex-direction: column;
    width: 100%;
    gap: 16px;
    padding: 16px 20px;
}
.mm-faq-box-headline:hover {

    cursor: pointer;
      background: #e4e7eb;
}
/* Hide answers by default */
.mmfaq-desc-sec {
    display: none;
}

/* Rotate arrow smoothly */
.mm-faq-box-headline-arrow img {
    transition: transform 0.3s;
}
.mm-faq-box.active .mm-faq-box-headline-arrow img {
    transform: rotate(180deg);
}
.mm-faq-box.active .mm-faq-box-headline {
    background: #e4e7eb;
}

/* FAQ Section End */

/* Empty space section start */
.emptysapce-section {

    width: 100%;
    height: 40px;
    background-color: #ffffff;
    max-width: 100%;
    overflow: hidden;
}
.pt-0 {

    padding-top: 0;
}

/* Empty space section end */


/* Responsive Start */


@media (max-width: 768px) {

    .abtvideoPlay-sec video {
        object-fit: contain;
    }
    .bannerExplorezh-btn {

        font-size: 12px;
    }
    .mmBannerbtn-card {

        justify-content: center;
        padding: 25px;
    }
    
    .mmBanner-text-sec .mmbnr-txt-context {

        flex-direction: column;
        align-items: flex-start;
    }
    .abtvideoOpen-sec .abtvideoOpen-icon {

        width: 23px;
        height: 23px;
    }
    .matchmaking-about-sec {

        flex-direction: column;
    }
    .wht-mm-left-content, .wht-mm-video-right, .mm-ourServices-img-left, .mm-ourServices-content-right {

        width: 100%;
    }
    .mm-ourServices-item {

        flex-direction: column;
    }
    .mmFaq-mainTitle {

        font-size: 24px;
        line-height: 38px;
        margin-bottom: 30px;
    }
    .mmBanner-partonetext-sec, .mmBanner-partwotext-sec {

        width: 100%;
    }
    .mm-about-desc {

    font-size: 16px;
    line-height: 21px;
    margin-bottom: 25px;
   }
   .abtvideoPlay-sec video { 
    object-fit: contain;
  }
  .mm-ourServices-item:nth-child(even) {

    flex-direction: column;
  }
  
}

@media (min-width:769px) and (max-width:991px) {

    .aboutRightvido-sec {

        height: 260px;
    }
     .abtvideoPlay-sec video { 
    object-fit: contain;
  }
    .mm-about-desc {

    font-size: 16px;
    line-height: 21px;
    margin-bottom: 25px;
   }
    .abtvideoOpen-sec .abtvideoOpen-icon {

        width: 23px;
        height: 23px;
    }
}
@media (min-width:992px) and (max-width:1199px) {

    .aboutRightvido-sec {

         height: 300px;
    }
     .abtvideoPlay-sec video { 
    object-fit: contain;
  }
    .mm-about-desc {

    font-size: 16px;
    line-height: 21px;
    margin-bottom: 25px;
   }
    .abtvideoOpen-sec .abtvideoOpen-icon {

        width: 23px;
        height: 23px;
    }
    .abtvideoPlay-sec video {

        object-fit: contain;
    }
}
@media (min-width:1200px) and (max-width:1300px) {

    .aboutRightvido-sec {

        height: 335px;
    }
     .abtvideoOpen-sec .abtvideoOpen-icon {

        width: 23px;
        height: 23px;
    }
    .abtvideoPlay-sec video {

        object-fit: contain;
    }
}
@media (min-width:1301px) and (max-width:1499px) {

    .aboutRightvido-sec {

        height: 380px;
    }
     .abtvideoOpen-sec .abtvideoOpen-icon {

        width: 27px;
        height: 27px;
    }
    .abtvideoPlay-sec video {

        object-fit: contain;
    }
}

@media (max-width: 991px) {
    .mm-banner-desc {
        font-size: 16px !important;
        font-weight: 400 !important;
        line-height: 20px;
    }
}
@media (min-width: 992px) {

    .matchmaking-custom-container {

        padding-left: 20px;
        padding-right: 20px;
    }
}
@media (min-width: 1200px) {

    .matchmaking-custom-container {

        padding-left: 50px;
        padding-right: 50px;
    }

}
@media (max-width: 1320px) {

.mm-about-title, .matchmaking-mainTitle, .mm-banner-title {
    
    font-size: 24px;
    line-height: 38px;
}

}
@media (min-width: 1440px) {

    .matchmaking-custom-container {

        padding-left: 80px;
        padding-right: 80px;
    }
}
@media (min-width: 1920px) {
    .matchmaking-custom-container {
        margin: auto;
        max-width: 1912px; /* limit container */
        padding-left: 200px;
        padding-right: 200px;
        width: 100%; /* allow fluid resizing */
    }
}

/* Responsive End */