.lp-banner .container {
    position: relative;
    /* This ensures the absolute form is pinned to the container, not the section */
}

.registration-form {
    background: #ffffff;
    border-radius: 24px;
    padding: 2rem;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    width: 436px;
    position: absolute;
    right: 0;
    /* --- ADJUST THIS --- */
    top: -120px; /* Moves the form UP into the white space/header area */
    /* ------------------ */
    z-index: 11;
}

/* Ensure the banner itself doesn't have huge top padding */
.lp-banner {
    padding-top: 40px !important; 
    min-height: 550px;
    position: relative;
}

.banner-bg-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    z-index: 0;
}
.lp-banner p{
    font-size: 20px;
    margin-bottom: 40px;
    margin-top: 20px;
}
.lp-banner::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.85);
    z-index: 1;
}

.lp-banner .container {
    position: relative;
    z-index: 2;
}

.lp-banner .ab-r,
.lp-banner .ab-l {
    z-index: 1;
}

.lp-banner .container {
    position: relative;
}
.registration-form h2 {
    font-size: 2rem;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 0.5rem;
    text-align: center;
}

.registration-form .form-subtitle {
    color: #666;
    font-size: 20px;
    margin-bottom: 1.5rem;  
  text-align: center;
}

.registration-form .inp-grp {
    margin-bottom: 1rem;
    padding: 0;
    margin: 15px 0!important;
}

.registration-form .inp-grp input,
.registration-form .inp-grp select {
    width: 100%;
    padding: 0.875rem 1rem;
    border: none;
    border-radius: 12px;
    font-size: 0.95rem;
    color: #1a1a1a;
    background: #ffffff;
    transition: all 0.3s ease;
}

.registration-form .inp-grp input:focus,
.registration-form .inp-grp select:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(83, 177, 72, 0.1);
}

.registration-form .inp-grp input::placeholder {
    color: #999;
}

.registration-form .inp-grp select {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23333' d='M6 9L1 4h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    padding-right: 2.5rem;
    cursor: pointer;
}

.registration-form .form-btn {
    margin-top: 1.5rem;
    margin-bottom: 1.5rem;
}

.registration-form .form-btn{
    padding: 0.875rem 0rem;
    border: none;
    border-radius: 12px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.registration-form .follow-us {
    margin-top: 1.5rem;
}

.registration-form .follow-us .follow-divider {
    display: flex;
    align-items: center;
    text-align: center;
    margin-bottom: 1rem;
    color: #666;
    font-size: 0.9rem;
}

.registration-form .follow-us .follow-divider::before,
.registration-form .follow-us .follow-divider::after {
    content: '';
    flex: 1;
    border-bottom: 1px solid #e0e0e0;
}

.registration-form .follow-us .follow-divider span {
    padding: 0 1rem;
}

.registration-form .follow-us .social-icons {
    display: flex;
    justify-content: center;
    gap: 1rem;
    list-style: none;
    padding: 0;
    margin: 0;
}

.registration-form .follow-us .social-icons li a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    text-decoration: none;
    transition: all 0.3s ease;
}

.registration-form .follow-us .social-icons li a i {
    font-size: 1rem;
    color: #ffffff;
}

.registration-form .follow-us .social-icons li a:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.registration-form .follow-us .social-icons li:nth-child(1) a {
    background: #0077b5;
}

.registration-form .follow-us .social-icons li:nth-child(2) a {
    background: #1877f2;
}

.registration-form .follow-us .social-icons li:nth-child(3) a {
    background: #1da1f2;
}

.registration-form .follow-us .social-icons li:nth-child(4) a {
    background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
}
.g-btn {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    text-align: center !important;
    text-indent: 0 !important;
    padding: 0 25px !important; /* Equal padding on both sides */
    min-width: 160px;
    height: 48px;
    border-radius: 50px;
    text-decoration: none;
    transition: all 0.3s ease;
    box-sizing: border-box;
}

/* Initial State: Seller Button */
.g-btn {
    border: 1px solid #5cb85c !important;
    background-color: transparent !important;
    color: #5cb85c !important;
}

/* Hover State: Seller Button */
.g-btn:hover {
    background-color: #5cb85c !important;
    color: #ffffff !important;
}


/* Medium screens (tablets) */
@media (max-width: 1199px) and (min-width: 992px) {
    .registration-form {
        width: 400px;
    }
}

/* Tablet and below */
@media (max-width: 991px) {
    .lp-banner {
        min-height: auto;
        padding: 3rem 0;
    }

    .banner-bg-img {
        object-fit: cover;
        height: 100%;
    }

    .lp-banner .container {
        position: static;
    }

    .registration-form {
        position: relative;
        width: 100%;
        max-width: 100%;
        margin-top: 2rem;
        padding: 2rem;
        right: auto;
        top: auto;
    }

    .banner .container .row {
        flex-direction: column;
    }

    .banner .col-lg-6:first-child {
        margin-bottom: 2rem;
    }

    .banner h1 {
        font-size: 2rem;
        text-align: center;
        margin-bottom: 1rem;
    }

    .banner p {
        text-align: center;
        margin-bottom: 1.5rem;
    }

    .banner .d-flex {
        justify-content: center;
        flex-wrap: wrap;
    }
}

/* Mobile devices */
@media (max-width: 767px) {
    .lp-banner {
        padding: 2rem 0;
    }

    .registration-form {
        padding: 1.5rem;
        border-radius: 16px;
    }

    .registration-form h2 {
        font-size: 1.5rem;
    }

    .registration-form .form-subtitle {
        font-size: 0.875rem;
    }

    .banner h1 {
        font-size: 1.75rem;
    }

    .banner .d-flex {
        flex-direction: column;
        gap: 1rem !important;
    }

    .banner .d-flex ,
    .banner .d-flex .g-btn {
        width: 100%;
        text-align: center;
    }

    .registration-form .inp-grp input,
    .registration-form .inp-grp select {
        font-size: 0.875rem;
        padding: 0.75rem 1rem;
    }

    .registration-form .form-btn{
        width: 100%;
        padding: 0.875rem 1.5rem;
    }
}

/* Small mobile devices */
@media (max-width: 575px) {
    .lp-banner {
        padding: 1.5rem 0;
    }

    .registration-form {
        padding: 1.25rem;
        box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    }

    .registration-form h2 {
        font-size: 1.25rem;
        margin-bottom: 0.5rem;
    }

    .registration-form .form-subtitle {
        font-size: 0.8rem;
        margin-bottom: 1rem;
    }

    .banner h1 {
        font-size: 1.5rem;
    }

    .banner p {
        font-size: 0.9rem;
    }
}

.why-connect {
    background: rgba(83, 177, 72, 0.1);
    padding: 100px 0;
}

.why-connect-header {
    margin-bottom: 3rem;
    text-align: left;
}

.why-connect-header h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 1rem;
}

.why-connect-header p {
    font-size: 20px;
    color: #666666;
    margin: 0;
    max-width: 600px;
}

.feature-card {
    background: #ffffff;
    border-radius: 16px;
    padding: 2rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    height: 100%;
    transition: all 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
}

.feature-icon {
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(83, 177, 72, 0.1);
    border-radius: 12px;
    margin-bottom: 1.5rem;
}

.feature-icon i {
    font-size: 1.75rem;
    color: #53b148;
}

.feature-card h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 0.75rem;
}

.feature-card p {
    font-size: 1rem;
    color: #1a1a1a;
    margin: 0;
    line-height: 1.6;
}

@media (max-width: 991px) {
    .why-connect {
        padding: 3rem 0;
    }

    .why-connect-header {
        margin-bottom: 2rem;
        text-align: center;
    }

    .why-connect-header h2 {
        font-size: 2rem;
    }

    .why-connect-header p {
        max-width: 100%;
    }

    .feature-card {
        margin-bottom: 1.5rem;
    }

    .feature-icon {
        width: 50px;
        height: 50px;
        margin-bottom: 1.25rem;
    }

    .feature-icon i {
        font-size: 1.5rem;
    }
}

@media (max-width: 575px) {
    .feature-icon {
        width: 45px;
        height: 45px;
        margin-bottom: 1rem;
    }

    .feature-icon i {
        font-size: 1.25rem;
    }
}
