@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;500;600;700;800&display=swap');

:root {
    --rw-primary: #008181;
    --rw-footer-bg: #EAF9F9;
    --rw-dark: #0f172a;
    --rw-muted: #64748b;
    --rw-border: #dfeeee;
}

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: 'Montserrat', sans-serif;
    color: var(--rw-dark);
    background-color: #ffffff;
}

/* CUSTOM TEXT HIGHLIGHT COLOR */
::selection {
    background-color: #008181;
    color: #ffffff;
}

::-moz-selection {
    background-color: #008181;
    color: #ffffff;
}

/* IMAGE PROTECTION RULE */
.rw-protected-img {
    -webkit-user-drag: none;
    user-select: none;
    pointer-events: none;
}

/* COMPACT UNIFORM CONTAINER (Header, Content, Footer alignment) */
.rw-container {
    max-width: 1140px;
    margin: 0 auto;
    padding: 0 20px;
    width: 100%;
}

/* HEADER STYLE */
.rw-site-header {
    background-color: #f9f9f9;
    padding: 16px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.30);
}

.rw-header-wrap {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.rw-brand-logo img {
    height: 45px;
    width: auto;
    display: block;
}

.rw-nav-menu {
    display: flex;
    align-items: center;
    gap: 36px;
}

.rw-nav-menu a {
    color: #042121 !important;
    text-decoration: none;
    font-size: 16px;
    font-weight: 500;
    transition: opacity 0.2s;
}

.rw-nav-menu a:hover {
    color: #00e6e6;
    opacity: 1;
}

.rw-btn-login {
    background-color: #00e6e6;
    color: #042121 !important;
    padding: 8px 22px;
    border-radius: 50px;
    font-weight: 700 !important;
}

/* Mobile Menu Toggle Button (Hidden on Desktop) */
.rw-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    z-index: 1002;
    padding: 5px;
}

.rw-menu-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background-color: #ffffff;
    transition: all 0.3s;
}

/* HERO SECTION */
.rw-hero-section {
    padding: 60px 0 50px;
    background: linear-gradient(180deg, #f8fafc 0%, #ffffff 100%);
    overflow: hidden;
}

.rw-hero-grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 40px;
    align-items: center;
}

.rw-hero-content {
    text-align: left;
}

.rw-hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #ccfbf1;
    color: #0f766e;
    font-size: 12px;
    font-weight: 700;
    padding: 6px 14px;
    border-radius: 50px;
    margin-bottom: 16px;
}

.rw-hero-title {
    font-size: 36px;
    font-weight: 800;
    color: var(--rw-primary);
    max-width: 800px;
    margin: 0 0 16px;
    line-height: 1.25;
}

.rw-hero-subtitle {
    font-size: 15px;
    color: var(--rw-muted);
    max-width: 640px;
    margin: 0 0 24px;
    line-height: 1.6;
}

/* BULLETS GRID */
.rw-hero-bullets {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin-bottom: 28px;
}

.rw-bullet-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    font-weight: 600;
    color: #334155;
}

.rw-bullet-item i {
    color: var(--rw-primary);
    font-size: 14px;
}

/* ACTIONS */
.rw-hero-actions {
    display: flex;
    gap: 14px;
    align-items: center;
}

.rw-hero-btn-primary {
    background-color: var(--rw-primary);
    color: #ffffff;
    padding: 12px 22px;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 700;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: background 0.2s;
}

.rw-hero-btn-primary:hover {
    background-color: #0f766e;
}

.rw-hero-btn-secondary {
    background-color: #ffffff;
    color: var(--rw-primary);
    border: 1px solid var(--rw-border);
    padding: 12px 22px;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 700;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all 0.2s;
}

.rw-hero-btn-secondary:hover {
    border-color: var(--rw-primary);
    background: #f8fafc;
}

/* RIGHT MEDIA & PORTRAIT IMAGE WRAPPER */
.rw-hero-media {
    display: flex;
    justify-content: center;
    position: relative;
}

.rw-hero-img-wrapper {
    position: relative;
    width: 100%;
    max-width: 360px;
}

.rw-img-portrait {
    width: 100%;
    height: auto;
    object-fit: cover;
    border-radius: 18px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    display: block;
}

/* FLOATING ANIMATED WIDGETS */
.rw-float-widget {
    position: absolute;
    background: #ffffff;
    border: 1px solid var(--rw-border);
    padding: 10px 14px;
    border-radius: 12px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
    animation: rwFloatAnim 4s ease-in-out infinite alternate;
    z-index: 3;
}

.rw-fw-label {
    font-size: 10px;
    color: var(--rw-muted);
    font-weight: 600;
    display: block;
    margin-bottom: 2px;
}

.rw-fw-value {
    font-size: 14px;
    font-weight: 800;
    color: var(--rw-dark);
}

.rw-fw-value small {
    font-size: 10px;
    color: #10b981;
    font-weight: 700;
}

/* Widget Positions */
.rw-widget-earning {
    top: 15%;
    left: -35px;
}

.rw-widget-visits {
    bottom: 20%;
    right: -30px;
    animation-delay: 2s;
}

.rw-widget-payment {
    top: 60%;
    left: -40px;
    animation-delay: 1s;
    padding: 8px 12px;
}

.rw-fw-icons {
    display: flex;
    gap: 8px;
    font-size: 14px;
    color: var(--rw-primary);
    margin-top: 2px;
}

@keyframes rwFloatAnim {
    0% { transform: translateY(0); }
    100% { transform: translateY(-8px); }
}

/* SECTION COMMON STYLES */
.rw-section {
    padding: 150px 0 100px;
}

.rw-section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 40px;
}

.rw-section-header h2 {
    font-size: 28px;
    font-weight: 800;
    color: var(--rw-primary);
    margin: 0 0 10px;
}

.rw-section-header p {
    font-size: 14px;
    color: var(--rw-muted);
    margin: 0;
}

/* HOW IT WORKS (STEP CARDS) */
.rw-steps-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.rw-step-card {
    background: #eaf9f9;
    border: 1px solid var(--rw-border);
    border-radius: 14px;
    padding: 30px 20px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0,0,0,0.03);
}

.rw-step-number {
    width: 68px;
    height: 68px;
    border: 2px solid #38bdf8;
    color: #0284c7;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 40px;
    font-weight: 700;
    margin: 0 auto 16px;
}

.rw-step-card p {
    font-size: 13px;
    color: var(--rw-muted);
    line-height: 1.5;
    margin: 0;
}

/* SPLIT CONTENT (IMAGE + TEXT) */
.rw-split-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
    margin-bottom: 80px;
}

.rw-split-grid.reverse {
    direction: rtl;
}

.rw-split-grid.reverse > * {
    direction: ltr;
}

.rw-split-text h3 {
    font-size: 24px;
    font-weight: 800;
    color: var(--rw-primary);
    margin: 0 0 12px;
}

.rw-split-text p {
    font-size: 14px;
    color: var(--rw-muted);
    line-height: 1.6;
    margin: 0 0 12px;
}

.rw-split-media img {
    width: 100%;
    height: auto;
    display: block;
}

/* FOOTER DESIGN */
.rw-site-footer {
    background-color: var(--rw-footer-bg);
    padding: 50px 0 20px;
    border-top: 1px solid var(--rw-border);
}

.rw-footer-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr) 1.2fr;
    gap: 24px;
    margin-bottom: 40px;
}

.rw-footer-col h4 {
    font-size: 13px;
    font-weight: 700;
    color: #334155;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin: 0 0 16px;
}

.rw-footer-col ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.rw-footer-col li {
    margin-bottom: 20px;
}

.rw-footer-col a {
    font-size: 12px;
    color: #64748b;
    text-decoration: none;
    transition: color 0.2s;
}

.rw-footer-col a:hover {
    color: #00c2c2;
}

.rw-footer-brand-col img {
    height: 45px;
    width: auto;
    margin-bottom: 16px;
    display: block;
}

.rw-social-icons {
    display: flex;
    gap: 10px;
}

.rw-social-icons a {
    width: 32px;
    height: 32px;
    background: #ffffff;
    border: 1px solid #cbd5e1;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #00c2c2;
    font-size: 12px;
    transition: color 0.2s, border-color 0.2s;
}

.rw-social-icons a:hover {
    background-color: var(--rw-primary); /* Or your preferred hover background color */
    color: #00e6e6;                    /* Icon color on hover */
    transform: translateY(-3px);       /* Optional lifting effect */
}

.rw-footer-bottom {
    border-top: 1px solid #cbd5e1;
    padding-top: 20px;
    text-align: center;
    font-size: 11px;
    color: var(--rw-muted);
}

/* UPDATED 991px MOBILE MEDIA QUERY STYLES */
@media screen and (max-width: 991px) {
    /* HEADER & MOBILE NAV DRAWER */
    .rw-menu-toggle {
        display: flex;
    }

    .rw-nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 280px;
        height: 100vh;
        background-color: var(--rw-primary);
        flex-direction: column;
        align-items: flex-start;
        padding: 80px 30px 30px;
        gap: 24px;
        box-shadow: -5px 0 25px rgba(0, 0, 0, 0.2);
        transition: right 0.3s ease-in-out;
        z-index: 1001;
    }

    .rw-nav-menu.active {
        right: 0;
    }

    .rw-nav-menu a {
        font-size: 16px;
        width: 100%;
    }

    .rw-btn-login {
        width: 100%;
        text-align: center;
        display: block;
    }

    /* Toggle Animation to "X" when active */
    .rw-menu-toggle.active span:nth-child(1) {
        transform: translateY(7px) rotate(45deg);
    }
    .rw-menu-toggle.active span:nth-child(2) {
        opacity: 0;
    }
    .rw-menu-toggle.active span:nth-child(3) {
        transform: translateY(-7px) rotate(-45deg);
    }

    /* HERO SECTION */
    .rw-hero-grid {
        grid-template-columns: 1fr;
        gap: 36px;
        text-align: center;
    }
    .rw-hero-content {
        text-align: center;
    }
    .rw-hero-bullets {
        justify-content: center;
    }
    .rw-hero-actions {
        justify-content: center;
    }
    .rw-widget-earning { left: 5px; top: 10%; }
    .rw-widget-visits { right: 5px; bottom: 10%; }
    .rw-widget-payment { left: 5px; top: 75%; }

    /* HOW IT WORKS & SPLIT SECTIONS */
    .rw-steps-grid {
        grid-template-columns: 1fr;
    }
    .rw-split-grid, .rw-split-grid.reverse {
        grid-template-columns: 1fr;
        direction: ltr;
        margin-bottom: 50px;
    }

    /* MOBILE FOOTER & ACCORDION */
    .rw-footer-grid {
        display: block;
    }

    .rw-footer-col {
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
        margin-bottom: 0;
    }

    .rw-footer-col h4 {
        position: relative;
        padding: 16px 0;
        margin: 0;
        cursor: pointer;
        display: flex;
        align-items: center;
        justify-content: space-between;
        font-size: 14px;
    }

    /* Accordion Plus/Minus Indicator */
    .rw-footer-col h4::after {
        content: "\2b";
        font-family: "Font Awesome 6 Free";
        font-weight: 900;
        font-size: 14px;
        transition: transform 0.3s ease;
    }

    .rw-footer-col.active h4::after {
        content: "\f068";
    }

    .rw-footer-col ul {
        display: none;
        padding-bottom: 16px;
    }

    .rw-footer-col.active ul {
        display: block;
    }

    .rw-footer-brand-col {
        padding: 24px 0 10px;
        text-align: center;
    }

    .rw-social-icons {
        justify-content: center;
        margin-top: 15px;
    }
    
    .rw-footer-bottom {
    font-size: 9px;
    }

    /* Divider Line Between Footer Items and Copyright Section */
    .rw-site-footer .rw-container {
        border-bottom: 1px solid rgba(255, 255, 255, 0.15);
        padding-bottom: 30px;
        margin-bottom: 20px;
    }
    
    .rw-footer-brand-col img {
        margin: 0 auto 16px; /* Horizontally centers the logo block */
    }
}