 /* ============================================================
   MWORLD / MATRIMONIAL HERO SLIDER
   ============================================================ */

.mw-home-hero {
    position: relative;
    width: 100%;
    min-height: 760px;
    height: 100vh;
    max-height: 950px;
    overflow: hidden;
    color: #fff;
}


/* ============================================================
   BACKGROUND
   ============================================================ */

.mw-hero-background {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.mw-hero-slider {
    width: 100%;
    height: 100%;
}

.mw-hero-slider .slick-list,
.mw-hero-slider .slick-track {
    height: 100% !important;
}

.mw-slide {
    width: 100%;
    height: 100%;
    position: relative;
}

.mw-slide-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
}


/* ============================================================
   OVERLAY
   ============================================================ */

.mw-hero-overlay {
    position: absolute;
    inset: 0;
    z-index: 1;

    background:
        linear-gradient(
            90deg,
            rgba(0, 0, 0, 0.72) 0%,
            rgba(0, 0, 0, 0.48) 38%,
            rgba(0, 0, 0, 0.22) 65%,
            rgba(0, 0, 0, 0.45) 100%
        );
}


/* ============================================================
   CONTENT
   ============================================================ */

.mw-hero-content {
    position: relative;
    z-index: 3;
    width: 100%;
    height: 100%;
}

.mw-hero-container {
    height: 100%;
    padding-left: 5%;
    padding-right: 5%;
}


/* ============================================================
   GUEST LAYOUT
   ============================================================ */

.mw-guest-layout {
    min-height: 100vh;
    max-width: 1500px;
    margin: auto;

    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(400px, 0.75fr);
    align-items: center;

    gap: 70px;
    padding-top: 70px;
    padding-bottom: 100px;
}


/* ============================================================
   HERO TEXT
   ============================================================ */

.mw-hero-copy {
    max-width: 720px;
}

.mw-small-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;

    padding: 9px 16px;
    margin-bottom: 20px;

    border: 1px solid rgba(255, 255, 255, 0.35);
    border-radius: 50px;

    background: rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(10px);

    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.3px;
}

.mw-small-badge i {
    font-size: 18px;
}


/* Main title */

.mw-hero-title {
    font-size: clamp(38px, 4.5vw, 72px);
    line-height: 1.08;
    font-weight: 800;
    letter-spacing: -1px;

    color: #fff;

    text-shadow: 0 4px 25px rgba(0, 0, 0, 0.3);
}

.mw-hero-title h1,
.mw-hero-title h2,
.mw-hero-title h3,
.mw-hero-title p {
    color: inherit;
}

.mw-hero-description {
    max-width: 620px;
    margin-top: 22px;
    margin-bottom: 0;

    font-size: 17px;
    line-height: 1.7;

    color: rgba(255, 255, 255, 0.9);
}


/* ============================================================
   HERO FEATURES
   ============================================================ */

.mw-hero-features {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 30px;
}

.mw-feature-item {
    display: flex;
    align-items: center;
    gap: 8px;

    padding: 9px 13px;

    border-radius: 50px;

    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.18);

    backdrop-filter: blur(8px);

    font-size: 13px;
    font-weight: 500;
}

.mw-feature-icon {
    width: 26px;
    height: 26px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 50%;

    background: rgba(255, 255, 255, 0.18);
}


/* ============================================================
   REGISTER CARD
   ============================================================ */

.mw-register-column {
    position:absolute;
    float:right;
    width: 100%;
    max-width: 620px;
    justify-self: end;
    margin-top: 150px;

}

.mw-register-card {
    position: relative;

    width: 100%;
    min-height: 300px;

    padding: 45px 35px;

    border: 1px solid rgba(255, 255, 255, 0.35);
    border-radius: 28px;

    background: rgba(255, 255, 255, 0.13);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);

    color: #fff;

    cursor: pointer;

    overflow: hidden;

    box-shadow:
        0 25px 70px rgba(0, 0, 0, 0.3);

    transition:
        transform 0.35s ease,
        background 0.35s ease,
        box-shadow 0.35s ease;
}

.mw-register-card:hover {
    transform: translateY(-8px);

    background: rgba(255, 255, 255, 0.19);

    box-shadow:
        0 30px 80px rgba(0, 0, 0, 0.4);
}


/* Register heart */

.mw-register-heart {
    width: 70px;
    height: 70px;

    margin: 0 auto 25px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 50%;

    background: rgba(255, 255, 255, 0.18);

    font-size: 35px;

    animation: mw-heartbeat 2s infinite;
}

@keyframes mw-heartbeat {

    0%,
    100% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.08);
    }
}


/* Register content */

.mw-register-content {
    text-align: center;
}

.mw-register-label {
    display: block;

    margin-bottom: 7px;

    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 1.5px;

    opacity: 0.8;
}

.mw-register-content h2 {
    margin: 0;

    color: #fff;

    font-size: 31px;
    line-height: 1.2;
    font-weight: 750;
}

.mw-register-content p {
    margin: 12px 0 25px;

    color: rgba(255, 255, 255, 0.85);

    font-size: 15px;
}

.mw-register-action {
    display: inline-flex;
    align-items: center;
    gap: 8px;

    padding: 12px 22px;

    border-radius: 50px;

    /* background: #fff;
    color: #333; */

    font-size: 14px;
    font-weight: 700;

    transition: all 0.3s ease;
    color: #ffffff !important;
    background: linear-gradient(135deg, #a91852 0%, #d83d72 100%);
    box-shadow: 0 6px 16px rgba(169, 24, 82, 0.20);
}

.mw-register-card:hover .mw-register-action {
    padding-right: 27px;
}


/* ============================================================
   ANIMATED BORDER
   ============================================================ */

.mw-border {
    position: absolute;

    background: rgba(255, 255, 255, 0.9);
}

.mw-border-top,
.mw-border-bottom {
    height: 2px;
    width: 0;
}

.mw-border-left,
.mw-border-right {
    width: 2px;
    height: 0;
}

.mw-border-top {
    top: 0;
    left: 0;
}

.mw-border-right {
    top: 0;
    right: 0;
}

.mw-border-bottom {
    bottom: 0;
    right: 0;
}

.mw-border-left {
    bottom: 0;
    left: 0;
}

.mw-register-card:hover .mw-border-top {
    width: 100%;
    transition: width 0.4s ease;
}

.mw-register-card:hover .mw-border-right {
    height: 100%;
    transition: height 0.4s ease 0.4s;
}

.mw-register-card:hover .mw-border-bottom {
    width: 100%;
    transition: width 0.4s ease 0.8s;
}

.mw-register-card:hover .mw-border-left {
    height: 100%;
    transition: height 0.4s ease 1.2s;
}


/* ============================================================
   MEMBER HERO
   ============================================================ */

.mw-member-layout {
    min-height: 100vh;

    max-width: 1500px;
    margin: auto;

    display: flex;
    flex-direction: column;
    justify-content: center;

    padding-top: 70px;
    padding-bottom: 100px;
}


/* Member heading */

.mw-member-heading {
    text-align: center;

    margin-bottom: 30px;
}

.mw-member-heading .mw-small-badge {
    margin-bottom: 12px;
}

.mw-member-heading h1 {
    margin: 0;

    color: #fff;

    font-size: clamp(32px, 4vw, 56px);
    line-height: 1.15;
    font-weight: 800;

    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.35);
}

.mw-member-heading p {
    max-width: 650px;

    margin: 12px auto 0;

    color: rgba(255, 255, 255, 0.9);

    font-size: 16px;
}


/* ============================================================
   SEARCH CARD
   ============================================================ */

.mw-search-card {
    width: 100%;
    padding: 25px 28px 20px;
    border-radius: 24px;
    background: rgba(255, 255, 255, 0.96);
    box-shadow:0 25px 70px rgba(0, 0, 0, 0.25);
    color: #222;
    margin-top: 420px !important;
}


/* Search header */

.mw-search-header {
    display: flex;
    align-items: center;
    justify-content: space-between;

    margin-bottom: 20px;
}

.mw-search-heading {
    display: flex;
    align-items: center;
    gap: 13px;
}

.mw-search-icon {
    width: 48px;
    height: 48px;
    min-width: 48px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 14px;

    background: #f3e7ec;

    font-size: 22px;
}

.mw-search-heading h3 {
    margin: 0;

    font-size: 19px;
    font-weight: 750;
}

.mw-search-heading p {
    margin: 3px 0 0;

    color: #777;

    font-size: 13px;
}

.mw-search-heart {
    font-size: 30px;
    opacity: 0.4;
}


/* ============================================================
   SEARCH FIELDS
   ============================================================ */

.mw-search-fields {
    display: grid;

    grid-template-columns:
        1fr
        1fr
        1.35fr
        1.35fr
        0.9fr;

    gap: 13px;

    align-items: end;
}

.mw-search-field {
    min-width: 0;
}

.mw-search-field label {
    display: flex;
    align-items: center;
    gap: 6px;

    margin-bottom: 7px;

    color: #333;

    font-size: 12px;
    font-weight: 700;
}

.mw-search-field label i {
    font-size: 16px;
}

.mw-input-box {
    width: 100%;
}

.mw-search-field .form-control {
    width: 100%;
    /* height: 48px; */

    border: 1px solid #e0e0e0;
    border-radius: 10px;

    /* padding: 0 13px; */

    background: #fff;

    font-size: 14px;
}

.mw-search-field .form-control:focus {
    border-color: #999;

    box-shadow: none;
}


/* ============================================================
   SEARCH BUTTON
   ============================================================ */

.mw-search-button-wrapper {
    width: 100%;
}

.mw-search-button {
    width: 100%;
    height: 48px;

    display: flex;
    align-items: center;
    justify-content: center;

    gap: 7px;

    border: 0;
    border-radius: 10px;

    background: #333;
    color: #fff;

    font-size: 14px;
    font-weight: 700;

    cursor: pointer;

    transition: all 0.3s ease;
    color: #ffffff !important;
    background: linear-gradient(135deg, #a91852 0%, #d83d72 100%);
    box-shadow: 0 6px 16px rgba(169, 24, 82, 0.20);
}

.mw-search-button:hover {
    transform: translateY(-2px);

    box-shadow:
        0 8px 20px rgba(0, 0, 0, 0.18);
}


/* ============================================================
   SEARCH FOOTER
   ============================================================ */

.mw-search-footer {
    display: flex;
    align-items: center;
    justify-content: center;

    gap: 25px;

    margin-top: 15px;
    padding-top: 13px;

    border-top: 1px solid #eee;

    color: #888;

    font-size: 11px;
}

.mw-search-footer span {
    display: flex;
    align-items: center;
    gap: 5px;
}


/* ============================================================
   DEFAULT HERO
   ============================================================ */

.mw-default-hero {
    min-height: 100vh;

    max-width: 1000px;
    margin: auto;

    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;

    text-align: center;

    padding: 80px 20px;
}

@keyframes mw-scroll {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(5px);
    }
}


/* ============================================================
   LARGE DESKTOP
   ============================================================ */

@media (min-width: 1600px) {

    .mw-hero-container {
        padding-left: 7%;
        padding-right: 7%;
    }

    .mw-guest-layout,
    .mw-member-layout {
        max-width: 1650px;
    }

    .mw-guest-layout {
        gap: 100px;
    }

    .mw-hero-title {
        font-size: 76px;
    }

    .mw-register-card {
        min-height: 330px;
    }

    .mw-search-card {
        padding: 30px 35px 22px;
    }

}


/* ============================================================
   LAPTOP
   ============================================================ */

@media (max-width: 1399px) {

    .mw-guest-layout {
        grid-template-columns:
            minmax(0, 1fr)
            minmax(360px, 0.7fr);

        gap: 50px;
    }

    .mw-hero-title {
        font-size: clamp(38px, 4vw, 62px);
    }

    .mw-register-card {
        min-height: 280px;
    }

}


/* ============================================================
   SMALL LAPTOP / TABLET
   ============================================================ */

@media (max-width: 1199px) {

    .mw-home-hero {
        min-height: 700px;
    }

    .mw-hero-container {
        padding-left: 30px;
        padding-right: 30px;
    }

    .mw-guest-layout {
        gap: 35px;
    }

    .mw-hero-description {
        font-size: 15px;
    }

    .mw-search-fields {
        grid-template-columns:
            repeat(2, 1fr);
    }

    .mw-search-button-wrapper {
        grid-column: span 2;
    }

}


/* ============================================================
   TABLET
   ============================================================ */

@media (max-width: 991px) {

    .mw-home-hero {
        min-height: 720px;
        height: auto;
        max-height: none;
    }

    .mw-guest-layout {
        min-height: 720px;

        grid-template-columns: 1fr;

        justify-items: center;

        text-align: center;

        padding-top: 80px;
        padding-bottom: 80px;

        gap: 25px;
    }

    .mw-hero-copy {
        max-width: 700px;
    }

    .mw-hero-features {
        justify-content: center;
    }

    .mw-register-column {
        max-width: 500px;
        justify-self: center;
    }

    .mw-register-card {
        min-height: 230px;
        padding: 30px;
    }

    .mw-member-layout {
        min-height: 720px;

        padding-top: 80px;
        padding-bottom: 80px;
    }

}


/* ============================================================
   MOBILE
   ============================================================ */

@media (max-width: 767px) {

    .mw-home-hero {
        min-height: 780px;
        height: auto;
    }

    .mw-hero-container {
        padding-left: 12px;
        padding-right: 12px;
    }


    /* Background */

    .mw-slide-image {
        object-position: center center;
    }


    /* Overlay */

    .mw-hero-overlay {
        background:
            linear-gradient(
                180deg,
                rgba(0, 0, 0, 0.65) 0%,
                rgba(0, 0, 0, 0.45) 45%,
                rgba(0, 0, 0, 0.78) 100%
            );
    }


    /* Guest */

    .mw-guest-layout {
        min-height: 780px;

        display: flex;
        flex-direction: column;

        justify-content: center;

        padding-top: 45px;
        padding-bottom: 60px;

        gap: 25px;
    }

    .mw-hero-copy {
        width: 100%;
    }

    .mw-small-badge {
        margin-bottom: 13px;

        padding: 7px 12px;

        font-size: 10px;
    }

    .mw-small-badge i {
        font-size: 15px;
    }

    .mw-hero-title {
        font-size: clamp(28px, 8vw, 42px);

        line-height: 1.12;

        letter-spacing: -0.5px;
    }

    .mw-hero-description {
        margin-top: 13px;

        font-size: 13px;
        line-height: 1.55;
    }


    /* Features */

    .mw-hero-features {
        display: grid;

        grid-template-columns:
            repeat(3, 1fr);

        gap: 6px;

        margin-top: 18px;
    }

    .mw-feature-item {
        justify-content: center;

        flex-direction: column;

        gap: 4px;

        padding: 8px 4px;

        border-radius: 12px;

        font-size: 9px;

        text-align: center;
    }

    .mw-feature-icon {
        width: 24px;
        height: 24px;

        font-size: 12px;
    }


    /* Register */

    .mw-register-column {
        width: 100%;
        max-width: 100%;
    }

    .mw-register-card {
        min-height: 205px;

        padding: 25px 15px;

        border-radius: 20px;
    }

    .mw-register-heart {
        width: 48px;
        height: 48px;

        margin-bottom: 12px;

        font-size: 24px;
    }

    .mw-register-label {
        font-size: 9px;
        letter-spacing: 1px;
    }

    .mw-register-content h2 {
        font-size: 22px;
    }

    .mw-register-content p {
        margin: 7px 0 15px;

        font-size: 12px;
    }

    .mw-register-action {
        padding: 9px 17px;

        font-size: 11px;
    }


    /* Member */

    .mw-member-layout {
        min-height: 780px;

        padding-top: 45px;
        padding-bottom: 55px;

        justify-content: center;
    }

    .mw-member-heading {
        margin-bottom: 18px;
    }

    .mw-member-heading h1 {
        font-size: 29px;
    }

    .mw-member-heading p {
        margin-top: 8px;

        font-size: 12px;

        line-height: 1.5;
    }


    /* Search card */

    .mw-search-card {
        padding: 16px 13px 13px;

        border-radius: 18px;
    }

    .mw-search-header {
        margin-bottom: 14px;
    }

    .mw-search-heading {
        gap: 9px;
    }

    .mw-search-icon {
        width: 38px;
        height: 38px;
        min-width: 38px;

        border-radius: 10px;

        font-size: 17px;
    }

    .mw-search-heading h3 {
        font-size: 15px;
    }

    .mw-search-heading p {
        font-size: 10px;
    }

    .mw-search-heart {
        font-size: 22px;
    }


    /* Search fields */

    .mw-search-fields {
        grid-template-columns: 1fr;

        gap: 10px;
    }

    .mw-search-button-wrapper {
        grid-column: span 1;
    }

    .mw-search-field label {
        margin-bottom: 5px;

        font-size: 10px;
    }

    .mw-search-field label i {
        font-size: 14px;
    }

    .mw-search-field .form-control,
    .mw-search-button {
        height: 43px;
        min-height: 43px;
    }

    .mw-search-field .form-control {
        font-size: 12px;
    }

    .mw-search-button {
        font-size: 13px;
    }


    /* Search footer */

    .mw-search-footer {
        flex-direction: column;

        gap: 5px;

        margin-top: 11px;
        padding-top: 10px;

        font-size: 9px;
    }

}


/* ============================================================
   SMALL MOBILE
   ============================================================ */

@media (max-width: 480px) {

    .mw-home-hero {
        min-height: 760px;
    }

    .mw-guest-layout {
        min-height: 540px;
        /* padding-top: 35px; */
        padding-bottom: 45px;
    }

    .mw-hero-title {
        font-size: 27px;
    }

    .mw-hero-description {
        font-size: 12px;
    }

    .mw-hero-features {
        margin-top: 15px;
    }

    .mw-register-card {
        min-height: 185px;
    }

    .mw-register-content h2 {
        font-size: 20px;
    }

    .mw-member-layout {
        min-height: 760px;
    }

    .mw-member-heading h1 {
        font-size: 25px;
    }
    .mw-search-card {
        margin-top: 147px !important;
    }
    .mw-hero-overlay {
        color: #ffffff !important;
        background: linear-gradient(135deg, #a91852 0%, #d83d72 100%);
        box-shadow: 0 6px 16px rgba(169, 24, 82, 0.20);
    }

}


/* ============================================================
   VERY SMALL DEVICES
   ============================================================ */

@media (max-width: 360px) {

    .mw-home-hero {
        min-height: 300px;
    }

    .mw-hero-title {
        font-size: 24px;
    }

    .mw-feature-item {
        font-size: 8px;
    }

    .mw-register-card {
        min-height: 175px;
        margin-top: -115px !important;
    }

    .mw-search-heading h3 {
        font-size: 14px;
    }
    .mw-search-card {
        margin-top: 147px !important;
    }
    .mw-hero-overlay {
        color: #ffffff !important;
        background: linear-gradient(135deg, #a91852 0%, #d83d72 100%);
        box-shadow: 0 6px 16px rgba(169, 24, 82, 0.20);
    }
}