.main-header {
    position: static;
}

/* =====================
Country Selection Section 
=========================*/
.country-selection-section {
    padding: 40px 0;
    text-align: left;
}

.country-selection-title {
  	width: 435px;
  	height: 144px;
  	position: relative;
  	font-size: 36px;
  	line-height: 48px;
  	display: inline-block;
  	font-family: Montserrat;
  	background: linear-gradient(109.2deg, #00a4ca, #50c3cb);
  	-webkit-background-clip: text;
  	-webkit-text-fill-color: transparent;
  	text-align: left;
  	text-shadow: 1px 2px 2px rgba(0, 0, 0, 0.15);
    font-weight: 700;
    margin-bottom: 0;
}

.agent-registration-text {
    color: #717171;
    font-family: 'Lato', sans-serif;
    font-size: 18px;
    font-weight: 500;
    line-height: 28px;
    margin: 0;
}

.country-showcase {
    position: relative;
    width: 100%;
    margin-bottom: 46.4px;
    margin-top: 30px;
    border-radius: 16px;
    background: #fff;
}

.country-showcase-header {
    display: flex;
    justify-content: flex-end;
    align-items: flex-end;
    position: relative;
    z-index: 2;
}

.country-tab-list {
    display: flex;
    align-items: flex-end;
    gap: 4px;
}

/* Tab default (tidak aktif) */
.country-tab {
    height: 38px;
    padding: 12px;
    margin-bottom: 8px;

    display: flex;
    align-items: center;
    gap: 10px;

    border: none;
    background: transparent;
    cursor: pointer;

    border-radius: 10px;

    color: #444;
    font-size: 13px;
    font-weight: 600;

    transition: background 0.2s ease, color 0.2s ease;
}

.country-tab:hover {
    background: rgba(0, 0, 0, 0.05);
}

.country-tab-active:hover {
    background: transparent;
}

.country-tab img {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    object-fit: cover;
    flex-shrink: 0;
}

.country-tab span {
    color: #717171;
    font-weight: 500;
    font-size: 16px;
    font-family: 'Montserrat', sans-serif;
}

/* Tab aktif (style "folder" menempel ke body) */
.country-tab-active {
    position: absolute;
    left: 0;
    height: 54px;
    padding: 20px 40px;
    margin-bottom: 0;
    margin-right: auto;
    display: flex;
    align-items: center;
    gap: 15px;

    border: none;

    border-radius: 12px 12px 0 0;
}

.country-tab-active img {
    width: 30px;
    height: 30px;
}

.country-tab-active span {
    color: #fff;
    font-weight: 700;
    font-size: 24px;
    font-family: 'Montserrat', sans-serif;
    text-shadow: 0px 4px 4px rgba(0, 0, 0, 0.25);
    text-transform: uppercase;
}

.country-showcase-body {
    position: relative;
    margin-top: -53px;
    border-radius: 12px;
    overflow: hidden;
    height: 430px;
    display: none;
}

@media (min-width: 481px) {
    .country-showcase-body {
        display: block;
    }
}

.country-showcase-body img {
    width: 100%;
    height: 100%;
    /* object-fit: cover; */
    /* clip-path: polygon(0% 0%, 0% 100%, 100% 100%, 100% 11%, 26% 11%, 21% 0); */
    /* clip-path: shape(from 0% 0%, line to 0% 100%, line to 100% 100%, line to 100% 11%, line to 59% 11%, curve to 50% 0% with 58% 11% / 51% 0%, close); */
}

/* Gradient CTA bawah */
.country-showcase-body::after {
    content: "";

    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;

    height: 115px;

    background: linear-gradient(
        180deg,
        rgba(255,255,255,0) 0%,
        rgba(62,58,57,.25) 43%,
        rgba(62,58,57,.9) 100%
    );

    opacity: 0;
    transition: opacity .2s ease;
    pointer-events: none;
}

.country-showcase-body:hover::after,
.country-showcase-body:focus-within::after {
    opacity: 1;
}

.country-showcase-cta {
    position: absolute;

    right: 28px;
    bottom: 24px;

    display: flex;
    align-items: center;
    gap: 14px;

    z-index: 2;
    opacity: 0;
    transform: translateY(10px);
    transition: opacity .2s ease, transform .2s ease;
    pointer-events: none;
}

.country-showcase-body:hover .country-showcase-cta,
.country-showcase-body:focus-within .country-showcase-cta {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}

.country-showcase-cta-link {
    display: inline-flex;
    align-items: center;
    gap: 14px;
    text-decoration: none;
}

.country-showcase-text {
    color: #fff;

    font-family: Montserrat;
    font-size: 18px;
    font-weight: 700;

    text-shadow: 1px 2px 2px rgba(0,0,0,.15);
}

.country-showcase-btn {
    width: 48px;
    height: 48px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 50%;

    background: rgba(255,255,255,.25);
    border: 1px solid rgba(255,255,255,.2);

    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);

    color: #fff;
    text-decoration: none;
    padding: 8px;
}

.country-showcase-btn:hover {
    background: #FFFFFF40;
    border: 1px solid #717171BF;
}

.country-showcase-btn i {
    font-size: 20px;
}

/* Heading styles */
.title-line {
  font-family: "Montserrat", sans-serif;
  word-wrap: break-word;
}

.title-primary {
  color: #3E3A39;
  font-size: 24px;
  font-weight: 700;
  font-family: 'Montserrat', sans-serif;
}

.title-primary.first-line {
  margin-bottom: 19px;
}

.title-secondary.second-line {
  line-height: 1;
}

.title-secondary {
  color: #717171;
  font-size: 20px;
  font-weight: 500;
  font-family: 'Montserrat', sans-serif;
}

.desktop-only {
  display: block;
}

.mobile-only {
  display: none;
}

/* paragraph */
.description-text {
  color: #717171;
  font-size: 16px;
  font-family: "Lato", sans-serif;
  font-weight: 500;
  line-height: 22px;
  margin: 0;
}

/* MOBILE SLIDER - SWIPER */
.country-showcase-slider {
    display: none;
    position: relative;
    width: 100%;
    height: 430px;
    margin-top: -53px;
    border-radius: 12px;
    overflow: visible;
}

.country-showcase-slider.swiper {
    border-radius: 12px;
    overflow: hidden;
    margin-top: -10px;
}

.swiper-wrapper {
    width: 100%;
    height: 100%;
}

.country-showcase-slide {
    position: relative;
    width: 100%;
    height: 100%;
}

.country-showcase-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    clip-path: polygon(0 0, 80% 0, 100% 15%, 100% 100%, 0 100%);
}

.country-showcase-slide .country-showcase-cta {
    position: absolute;
    right: 28px;
    bottom: 24px;
    display: flex;
    align-items: center;
    gap: 14px;
    z-index: 2;
    opacity: 1;
    transform: none;
    pointer-events: auto;
}

/* Swiper Pagination Dots */
.country-showcase-slider .swiper-pagination {
    display: none;
}

.corner-action-btn {
    display: flex;
    align-items: center;
    justify-content: center;

    width: 40px;
    height: 40px;
    padding: 8px;

    border: 0;
    border-radius: 0 12px 0 0;

    background: linear-gradient(
        270deg,
        #E8E8E8 0%,
        rgba(255,255,255,.75) 48%,
        rgba(255,255,255,0) 100%
    );

    color: #717171;
    cursor: pointer;
    position: absolute;
    z-index: 999;
    right: 0;
    transition: all .2s ease;
    width: 71px;
    height: 65px;
}

.corner-action-btn i {
    font-size: 18px;
}

.corner-action-btn:hover {
    background: linear-gradient(
        270deg,
        #DADADA 0%,
        rgba(255,255,255,.9) 48%,
        rgba(255,255,255,.15) 100%
    );
}

/* responsive */
@media (max-width: 480px) {
    .country-selection-section {
        padding: 20px 0;
    }

    .country-selection-title {
        font-size: 30px;
        line-height: normal;
        width: 100%;
        height: 100%;
        margin-bottom: 20px;
    }

    .title-secondary.second-line {
        margin-bottom: 14px;
    }

    .desktop-only {
        display: none !important;
    }

    .mobile-only {
        display: flex !important;
        gap: 8px;
    }

    .mobile-title-left,
    .mobile-title-right {
        display: block;
        width: fit-content;
    }

    .mobile-title-right {
        line-height: 1.2;
    }

    .country-showcase {
        margin-bottom: 40px;
    }
    
    .country-tab-list {
        display: none;
    }

    .country-showcase-slider {
        display: block;
    }

    .country-showcase-body {
        display: none !important;
    }

    .country-showcase-btn {
        background: transparent;
        border: 1px solid transparent;
        backdrop-filter: unset;
    }

    .country-showcase-slide::before {
        content: "";
        position: absolute;
        inset: 0;
        background: linear-gradient(
            180deg,
            #3E3A3959 0%,
            rgba(62, 58, 57, 0.25) 43%,
            rgba(255, 255, 255, 0) 100%
        );
        z-index: 1;
        pointer-events: none;
        height: 62px;
        clip-path: polygon(0 0, 80% 0, 100% 95%, 100% 100%, 0 100%);
    }

    .country-showcase-slide .country-showcase-cta {
        position: absolute;
        left: 0px;
        right: 0px;
        bottom: 0px;
        height: 115px;
        opacity: 1;
        pointer-events: auto;
        background: linear-gradient(rgba(255, 255, 255, 0) 0%, rgba(62, 58, 57, 0.25) 43%, rgba(62, 58, 57, 0.9) 100%);
        transition: opacity 0.2s;
    }

    .country-showcase-cta-link {
        gap: 0;
    }

    .country-showcase-text {
        margin-left: 25px;
        margin-bottom: -50px;
    }

    .country-showcase-btn {
        width: 24px;
        height: 24px;
        margin-left: 5px;
        margin-bottom: -50px;
    }

    .country-tab {
        position: absolute;
        left: 0;
        height: 54px;
        padding: 20px 40px;
        margin-bottom: 0;
        margin-right: auto;
        display: flex;
        align-items: center;
        gap: 15px;
        border: none;
        border-radius: 12px 12px 0 0;
        z-index: 999;
    }

    .country-tab img {
        width: 30px !important;
        height: 30px !important;
    }

    .country-tab span {
        color: #fff;
        font-weight: 700;
        font-size: 24px;
        font-family: 'Montserrat', sans-serif;
        text-shadow: 0px 4px 4px rgba(0, 0, 0, 0.25);
        text-transform: uppercase;
    }
}

/* =========================
   PROJECT VIDEO
========================= */

.register-video-section {
    position: relative;
    overflow: hidden;
    padding: 0 0 65px 0;
}

.register-video-wrap {
    position: relative;
    width: 100%;
    overflow: hidden;
    cursor: pointer;
}

.register-video-container {
    position: relative;
    width: 100%;
    height: 810px;
    z-index: 1;
}

.register-video-container .video-js,
.register-video-container .vjs-tech {
    height: 100% !important;
    object-fit: cover;
}

/* Hide control bar until player is revealed */
.register-video-container .vjs-control-bar {
    display: none !important;
}

.register-video-container.visible .vjs-control-bar {
    display: flex !important;
}

.register-video-wrap .video-js {
    width: 100%;
    height: 100%;
    /* border-radius: 24px; */
}

.register-video-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 810px;
    display: block;
    transition: transform 0.3s ease, opacity 0.2s ease;
    object-fit: cover;
    z-index: 2;
    pointer-events: auto;
}

.register-video-image.hidden {
    opacity: 0;
    pointer-events: none;
}

.register-video-wrap:hover .register-video-image:not(.hidden) {
    transform: scale(1.02);
}

.project-video-section {
    position: relative;
    overflow: hidden;
    border-radius: 18px;
}

.project-video-image {
    width: 100%;
    display: block;
    object-fit: cover;
}

.project-video-section::after {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.2);
}

/* BUTTON */
.project-video-button {
    position: absolute;
    right: 64.27px;
    bottom: 127.5px;
    z-index: 5;

    display: inline-flex;
    align-items: center;
    gap: 8px;

    padding: 12px 18px;

    text-decoration: none;

    transition: all 0.3s ease;
}

.project-video-button span {
    color: #fff;
    font-family: Lato, sans-serif;
    font-size: 20px;
    font-weight: 500;
    line-height: 28px;
}

.project-video-button:hover span {
    color: #77CCD1;
}

.project-video-icon i {
    color: #fff;
    font-size: 25px;
    margin-left: 2px; /* biar play icon terlihat center */
}

/* responsive */
@media (max-width: 480px) {
    .register-video-section {
        padding: 0 0 42px 0;
    }

    .project-video-button {
        right: 18px;
        bottom: 30px;
    }
}

/* ======================
  REGISTER STEP SECTION
======================*/
.register-step-section {
  padding: 0;
}

.how-works-section {
  background: #fff;
}

/* TITLE */
.section-title {
  display: flex;
  flex-direction: column;
  gap: 15px;
  text-align: left;
  line-height: 1;
  padding-bottom: 0;
}

.section-subtitle-register {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 30px;
  font-weight: 600;
  color: #717171;
}

.section-title-main {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 36px;
  font-weight: 700;
  color: #3E3A39;
}

/* SCROLL AREA */
.how-works-scroll {
  display: flex;
  gap: 18px;
  overflow-x: auto;
  padding: 30px;
  padding-bottom: 45px;
  overflow-y: hidden;
  padding-left: 8%;
}

.how-works-scroll::-webkit-scrollbar {
  display: none;
}

/* CARD */
.how-works-card {
  max-width: 377px;
  min-height: 224px;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0px 0px 44px rgba(0, 0, 0, 0.20);
  padding: 24px 53px 24px 24px;
  position: relative;
  flex-shrink: 0;
  line-height: 1;
  overflow: visible; /* default visible untuk show number */
}

/* Card di dalam area bg */
.how-works-card.card-clipped {
  overflow: hidden;
}

/* NUMBER (big transparent) */
.how-works-number {
  position: absolute;
  top: 50px;
  right: 0;
  font-size: 250px;
  font-weight: 600;
  background: linear-gradient(180deg, #717171, rgba(255,255,255,0));
  /* background: linear-gradient(180deg, #717171, rgba(255, 255, 255, 0) 75%); */
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  opacity: 0.5;
  font-family: 'Montserrat', Arial, sans-serif;
}

/* CONTENT */
.how-works-content {
  display: flex;
  flex-direction: column;
  gap: 26px;
  text-align: left;
}

/* ICON */
.how-works-icon {
  width: 50px;
}

/* TEXT */
.how-works-title {
  font-family: Montserrat;
  font-size: 18px;
  font-weight: 600;
  color: #3E3A39;
}

.how-works-desc {
  font-family: Lato;
  font-size: 16px;
  line-height: 22px;
  color: #3E3A39;
  margin-top: 12px;
}

.how-works-wrapper {
  position: relative;
  margin-top: 45px;
}

/* background hitam */
.how-works-bg {
  position: absolute;
  left: 18%;
  right: 0;
  top: -65px;
  height: 375px;
  background: #3E3A39;
  z-index: 0;
  clip-path: polygon(
    10% 0%,
    100% 0%,
    100% 100%,
    0% 100%,
    0% 30%
  );
}

/* cards di atas bg */
.how-works-scroll {
  position: relative;
  z-index: 1;
}

/* WRAPPER */
.how-works-nav {
  position: absolute;
  top: -40px;
  right: 34px;
  display: flex;
  gap: 10px;
  z-index: 2;
}

/* BUTTON */
.nav-btn {
  width: 44px;
  height: 44px;
  border-radius: 8px;
  border: none;
  background: transparent;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
  z-index: 1;
}

.nav-btn:hover {
  background: #F7F7F780;
  border-radius: 8px;
}

/* ICON */
.nav-btn i {
  font-size: 18px;
  color: #717171;
  transition: color 0.2s ease;
}

.nav-btn-left i {
  transform: rotate(180deg);
}

/* Active = bisa digeser */
.nav-btn.nav-btn-active i {
  color: #fff;
}

/* Disabled = sudah mentok */
.nav-btn.nav-btn-disabled {
  cursor: not-allowed;
  opacity: 0.5;
}

/* responsive */
@media (max-width: 480px) {
    .section-subtitle-register {
        font-size: 24px;
    }

    .section-title-main {
        font-size: 30px;
        margin-bottom: 14px
    }

    .how-works-bg {
        left: 0;
        right: 0;
        top: -40px;
        clip-path: polygon(40% 0%, 100% 0%, 100% 100%, 0% 100%, 0% 30%);
    }

    .how-works-nav {
        top: -25px;
        right: 10px;
    }

    .how-works-card {
        max-width: 333px;
    }

    .how-works-scroll {
        padding-left: 15px;
    }
}

/* ======================
  AGENT CTA SECTION
======================*/
.agent-cta-section {
    padding: 60px 0 40px;
}

.agent-cta-container {
    position: relative;
    overflow: hidden;
    border-radius: 48px;
    min-height: 363px;
    background:
        radial-gradient(
            ellipse 142.06% 1317.57% at 94.35% 6.34%,
            rgba(113, 113, 113, 0.25) 43%,
            #FFFFFF 100%
        );
    padding: 75px 78px 79px;
}

/* Glow Effect */
.agent-cta-glow {
    position: absolute;
    width: 279px;
    height: 464px;
    top: -260px;
    right: 40px;
    opacity: 0.5;
    mix-blend-mode: screen;
    border-radius: 999px;
    filter: blur(40px);
    background:
        linear-gradient(
            97deg,
            rgba(113, 113, 113, 0.50) 0%,
            rgba(113, 113, 113, 0.50) 30%,
            #E8E8E8 81%
        );
    box-shadow: 80px 80px 80px rgba(113, 113, 113, 0.50);
    transform: rotate(19deg);
}


/* Main Content */
.agent-cta-content {
    position: relative;
    z-index: 2;
    max-width: 852px;
    display: flex;
    flex-direction: column;
    gap: 42px;
    text-align: left;
}

.agent-cta-heading {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.agent-cta-title {
    margin: 0;
    color: #1D4656;
    font-family: 'Montserrat', sans-serif;
    font-size: 36px;
    font-weight: 700;
}

.agent-cta-description {
    margin: 0;
    max-width: 760px;
    color: #3E3A39;
    font-family: 'Lato', sans-serif;
    font-size: 18px;
    font-weight: 500;
    line-height: 28px;
    letter-spacing: 0.36px;
}

/* Button */
.agent-cta-button {
    width: fit-content;
    padding: 16px 18px;
    border-radius: 24px;
    border: 1px solid transparent;
    background: radial-gradient(
        ellipse 143.59% 143.59% at 52.63% 123.08%, 
        white 0%, #50C3CB 30%, #00A4CA 84%
        ) padding-box, 
        radial-gradient(circle, #50C3CB 0%, white 40%, #00A4CA 100%) border-box;

    color: #FFFFFF;
    font-family: 'Lato', sans-serif;
    font-size: 16px;
    font-weight: 500;
    text-decoration: none;

    display: inline-flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
    transition: all 0.3s ease;
}

.agent-cta-button:hover {
    border: 1px solid transparent;
    background: radial-gradient(ellipse 143.59% 143.59% at 52.63% 123.08%, white 0%, #0A8091 36%, #00A4CA 100%) padding-box, radial-gradient(circle, #50C3CB 0%, white 20%, #00A4CA 100%) border-box;
}

/* Floating Card */
.agent-cta-card {
    position: absolute;
    right: 285px;
    bottom: 0;
    z-index: 3;
    background: #FFFFFF;
    border-radius: 24px 24px 0 0;
    padding: 18px 30px 3px 20px;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 14px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

.agent-cta-avatars {
    display: flex;
    align-items: center;
}

.agent-cta-avatars img {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid #FFFFFF;
    margin-left: -10px;
}

.agent-cta-avatars img:first-child {
    margin-left: 0;
}

.agent-cta-card-text {
    color: #3E3A39;
    font-family: 'Lato', sans-serif;
    font-size: 18px;
    font-weight: 500;
    line-height: 27.9px;
}

/* Image */
.agent-cta-image {
    position: absolute;
    right: 55px;
    bottom: 0;
    z-index: 4;
}

.agent-cta-image img {
    width: 380px;
    height: auto;
    display: block;
}

/* Responsive */
@media (max-width: 576px) {

    .agent-cta-section {
        padding: 40px 0;
    }

    .agent-cta-container {
        padding: 35px 24px;
    }

    .agent-cta-title {
        font-size: 24px;
    }

    .agent-cta-description {
        font-size: 16px;
        line-height: 22px;
        font-weight: 400;
        letter-spacing: 0.32px;
    }

    .agent-cta-content {
        gap: 20px;
    }

    .agent-cta-card {
        padding: 18px 30px 30px 20px;
        align-items: center;
        text-align: center;
        position: relative;
        border-radius: 24px;
        margin-top: 30px;
        right: 0;
    }

    .agent-cta-avatars {
        align-self: end;
    }

    .agent-cta-image {
        position: relative;
        right: 0;
    }

    .agent-cta-image img {
        width: 100%;
        height: auto;
        margin-top: 30%;
        transform: translate(-3%, -6%) scale(1.4);
    }
}