#header-custom {
    position: sticky;
    top: 0;
    z-index: 999;
    background: #fff;
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 20px;
    width: 100%;
    box-sizing: border-box;
    height: auto;
    background: #fff;
}

.logo-header-containter {
    flex: 0 1 auto;
}

.refer-earn-topbar {
    flex: 0 1 auto;
    text-align: right;
}

.refer-earn-btn {
    background-color: #00989f; /* Match brand color */
    color: white !important;
    padding: 8px 15px;
    border-radius: 4px;
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
    transition: background-color 0.3s;
    display: inline-block;
    vertical-align: middle;
    line-height: normal; /* Fix alignment */
    border: 1px solid #189aa7;
    white-space: nowrap;
}

.refer-earn-btn:hover {
    background-color: #007a80;
    text-decoration: none;
}

.top-header-containter {
    background: #fff;
    padding: 12px 48px;
    font-size: 12px;
    line-height: 24px;
    border-bottom: 1px solid #eee;
    width: 100%;
}

.logo-header-containter {
    background: #fff;
    padding: 12px 48px;
    font-size: 12px;
    line-height: 24px;
    width: auto;
}

.fixed-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 999;
}

.top-header {
    display: flex;
    justify-content: space-between;
}

.top-header div a {
    padding: 8px 16px !important;
    line-height: 30px !important;
    color: #4a4a4a;
    letter-spacing: -0.12px;
    -webkit-transition: 0.5s all ease;
    transition: 0.5s all ease;
    font-weight: 500;
    cursor: pointer;
}

html,
body {
    height: 100%;
    margin: 0;
}

#main-wrapper {
    min-height: 100vh;
}

#content {
    flex: 1;
}

.paymentMainContainer {
    flex: 1;
    padding: 10px 15px 20px;
    width: 100%;
}

.paymentContainer {
    width: 100%;
}
.paymentHeading {
    margin-top: 0;
    font-size: 24px;
    font-weight: bold;
    padding: 0px 4%;
}

.radio-wrapper {
    padding: 0px;
}

.detailsContainer {
    display: flex;
    flex-direction: column;
    margin: 0;
    margin-top: 20px;
}

.paymentDetails {
    flex: 1;
    min-width: 0;
    border-top: 1px solid #e8e8e8;
    padding: 20px 4% 0;
}

.details {
    display: flex;
    flex-direction: column;
    flex: 1;
    min-width: 0;
    padding: 0 4% 0;
    width: 100%;
}

/* Desktop Styles */
@media (min-width: 769px) {
    #main-wrapper {
        min-height: 100vh;
        overflow-y: auto;
    }

    .paymentMainContainer {
        padding: 25px 0;
        display: flex;
        justify-content: center;
        align-items: center;
        margin: 0;
    }

    .paymentContainer {
        width: 95%;
        max-width: 800px;
        padding: 30px;
    }

    .paymentHeading {
        margin: 0 0 25px;
        font-size: 26px;
        font-weight: 700;
        text-align: center;
        color: #1a1a1a;
        padding: 0;
    }

    .detailsContainer {
        flex-direction: row;
        gap: 35px;
        margin-top: 0;
    }

    .paymentDetails {
        flex: 0 0 42%;
        border-left: 1px solid #f0f0f0;
        border-top: none;
        padding: 0 0 0 35px;
    }

    .details {
        padding: 0;
        gap: 0;
    }
}

.p {
    padding: 20px 0 0px;
}

.leftSide, .rightSide {
    flex-basis: 50%;
}

.rightSide {
    margin-top: 64px;
}

/* Stacked layout for desktop fields */
@media (min-width: 769px) {
    .form-row {
        display: block;
        margin-bottom: 5px;
    }

    .form-row .signup-text-wrapper {
        flex: 1;
        min-width: 0;
    }

    .form-row .signup-text-wrapper:only-child {
        flex: 1;
    }
}

/* Original mobile-friendly form-row */
@media (max-width: 768px) {
    .form-row {
        display: flex;
        flex-direction: column;
        margin-bottom: 0px;
    }
}

h5 {
    font-size: 16px;
    font-weight: 600;
    line-height: 19px;
    color: #696969;
    padding: 15px 0 10px;
    margin-bottom: 1rem;
}

.signup-text-wrapper {
    margin: 0;
    width: 100%;
    display: flex;
    flex-direction: column;
    overflow: visible !important;
}

.detailsContainer,
.details,
.leftSide {
    overflow: visible !important;
}

.deskWidth {
    width: 77%;
}

.leftSide {
    margin-right: 1.5vw;
}

.rightSide {
    margin-left: 1.5vw;
}
.signup-text-wrapper span:nth-child(1) {
    font-size: 12px;
    line-height: 14px;
    color: #484848;
    padding-bottom: 5px;
}
.signup-checkout {
    background: #ffffff;
    border: 1px solid #e3e3e3;
    box-sizing: border-box;
    border-radius: 4px;
    padding: 4px 8px;
    font-size: 12px;
    width: 100%;
    height: 36px;
    line-height: inherit;
}
.signup-checkout::placeholder {
    color: #CFCFCF;
}
.rupees {
    position: absolute;
    color: #CFCFCF;
    top: 29px;
    left: 9px;
}
.relative {
    position: relative;
}
#userAmount {
    padding: 4px 8px 4px 20px;
}
.error {
    color: #d53731;
    padding: 3px 2px;
    display: none;
}

.mobile {
    display: none;
}

.payment_options {
    padding: 0;
}

.btncontainer {
    width: 100%;
    margin: 25px 0 40px;
}
.btncontainer button {
    background: #189aa7;
    font-size: 16px;
    font-weight: 700;
    line-height: 25px;
    color: #ffffff;
    padding: 6px 20px;
    border: 1px solid;
    border-radius: 4px;
    width: 100%;
    min-height: 60px;
    text-align: left;
}

.btncontainer span {
    font-size: 13px;
    font-weight: 400;
    line-height: 17px;
    display: block;
    white-space: normal;
}

@media (max-width: 1150px) {
    .radio-wrapper {
        padding: 0;
    }
    .paymentHeading {
        padding: 0 30px;
    }
    .details, .paymentDetails {
        padding: 0 30px;
    }
    .btncontainer button {
        padding: 6px 15px;
    }
}

@media (max-width: 900px) {
    .paymentMainContainer {
        padding: 20px 18px;
    }
    .paymentHeading {
        padding: 0 20px;
    }
    .details, .paymentDetails {
        padding: 0 20px;
    }
    .leftSide {
        margin-right: 1vw;
    }
    
    .rightSide {
        margin-left: 1vw;
    }
}

@media (max-width: 768px) {
    .header-container {
        height: auto;
        min-height: 60px;
        padding: 5px 15px;
        display: flex;
        justify-content: space-between;
        align-items: center;
    }
    .top-header-containter {
        display: none;
    }
    .logo-header-containter {
        z-index: 999;
        position: relative;
        padding: 5px 0;
        width: auto;
        background: transparent;
        border: none;
    }
    .refer-earn-btn {
        white-space: normal;
        text-align: center;
        max-width: 80px;
        font-size: 13px;
        padding: 4px 8px;
        line-height: 1.2;
    }
}

@media (max-width: 380px) {
    .refer-earn-topbar {
        display: none;
    }
}

@media (max-width: 768px) {
    .paymentMainContainer {
        padding: 20px;
    }
    .paymentHeading {
        border-bottom: none;
        text-align: center;
        padding: 0;
    }
    .detailsContainer {
        flex-direction: column;
        padding: 0;
        margin: 0;
    }
    .details,
    .rightSide,
    .signup-text-wrapper,
    .paymentDetails {
        flex-direction: column;
        width: 100%;
        margin: 5px 0 !important;
        padding: 0;
        border: none;
    }

    .details {
        border-bottom: 1px solid #eee !important;
    }
    
    /* Stack form rows vertically on mobile */
    .form-row {
        flex-direction: column;
        gap: 0;
    }
    
    .form-row .signup-text-wrapper:only-child {
        flex: 1;
    }
    
    .paymentDetails h5 {
        padding: 10px 0 20px;
    }
    span {
        padding-bottom: 4px;
    }
    .radio-wrapper,
    .p {
        padding: 10px 0 0;
    }
    .desktop {
        display: none;
    }
    .mobile {
        display: block;
    }

    .btncontainer button {
        text-align: center;
    }
}

#footer {
    border-top: none;
    background-color: #ffffff;
}

.footerMain {
    background-color: #fafafa;
    position: relative;
    z-index: 0;
    padding: 80px 40px 40px 40px;
    border-top: 1px solid #eee;
    border-bottom: 1px solid #eee;
}

.footer_sudeo {
    position: absolute;
}

.right {
    top: 0;
    right: 0;
}

.left {
    bottom: 0;
    left: 0;
}

.w-right {
    width: 60%;
    float: right;
}

.footerContainer {
    width: 100%;
    padding-right: 15px;
    padding-left: 15px;
    margin-right: auto;
    margin-left: auto;
}

.footer-row {
    display: flex;
    flex-wrap: wrap;
    margin-right: -15px;
    margin-left: -15px;
    text-align: center;
}

.footer-col {
    position: relative;
    width: 100%;
    padding-right: 15px;
    padding-left: 15px;
    flex: 0 0 100%;
    max-width: 100%;
}

.footer-col figure {
    position: relative;
    margin: 0 0 1rem;
    padding-left: 17px;
}

.footer-col figure img {
    margin: auto;
}

.footer-col h4 {
    font-size: 18px;
    font-weight: 600;
    line-height: 28px;
    color: #000;
    margin: 10px 0 5px;
}

.footer-col p {
    color: #222;
    font-size: 13px;
    font-weight: 400;
    line-height: 17px;
    margin: 0 17px;
}

.footer-about {
    padding: 16px 32px;
    background: #fff;
}

.footer-logo {
    margin-bottom: 10px;
}

.about {
    padding-bottom: 20px;
    border-bottom: 1px solid #ccc;
}

.about-text p {
    line-height: 22px;
    color: #4a4a4a;
    font-size: 13px;
    font-weight: 400;
    text-align: justify;
    margin-bottom: 0px;
    padding: 0 15px;
}

.footer-socialLinks {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: 8px;
    padding: 24px 0 24px 15px;
    margin-bottom: 0px;
    font-size: 12px;
}

.footer-socialLinks p {
    color: #4a4a4a;
    font-size: 14px;
    margin: 0;
}

.footer-policy-links {
    white-space: nowrap;
    display: inline-block;
}

.footer-social-links {
    display: flex;
    justify-content: center;
}

.footer-social-links__item {
    margin: 0 12px;
}

.footer-contact__item {
    display: inline-flex;
    align-items: center;
    margin-right: 2rem;
    color: #4a4a4a;
}

.footer-contact__item:last-child {
    margin-right: 0;
}

@media (max-width: 768px) {
    .footerMain {
        padding: 40px;
    }
    .footerContainer {
        max-width: 540px;
    }
    .footer_sudeo {
        display: none;
    }
    .footer-col figure {
        padding-left: 0px;
    }
    .footer-about {
        padding: 20px 10px;
    }
    .footer-contact{
        font-size: 10px;
    }
    .footer-socialLinks {
        flex-direction: column;
    }

    .footer-socialLinks p {
        display: block;
        margin-bottom: 15px;
        text-align: center;
    }
    .footer-social-links {
        padding: 20px 0;
    }
}

#footer {
    background: #fff;
    border-top: 1px solid #eee;
}

.footer-socialLinks {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 4%;
    font-size: 12px;
}

.footer-socialLinks p {
    margin: 0;
    color: #666;
}

@media (min-width: 768px) {
    .interpreter::before {
        content: "";
        position: absolute;
        width: 1px;
        background: #979797;
        height: calc(100% + 40px);
        opacity: 0.2;
        top: 0;
        left: 16px;
    }
    .footerContainer {
        max-width: 720px;
    }
    .footer-col {
        flex: 0 0 50%;
        max-width: 50%;
    }
    .interpreter:nth-child(3)::before {
        height: 0;
    }
    .footer-socialLinks {
        padding: 1rem 15px;
    }
    .footer-social-links {
        flex-basis: 400px;
    }
}

@media (min-width: 992px) {
    .footerContainer {
        max-width: 960px;
    }
    .footer-col {
        flex: 0 0 25%;
        max-width: 100%;
    }
    .interpreter:nth-child(3)::before {
        height: calc(100% + 40px);
    }
    .footer-logo {
        height: 34px;
    }

    .footer-socialLinks {
        padding: 25px 15px 0px 15px;
    }
    .footer-contact {
        line-height: 22px;
    }
}

@media (min-width: 1200px) {
    .footerContainer {
        max-width: 1140px;
    }
}