:root {
    --red: white;
    --dark-red: #e44126;
    --light: #f5f5f5;
    --text: #212529;
    --white: #ffffff;
}

body {
    font-family: "Inter", sans-serif;
    margin: 0;
    background-color: var(--light);
    color: var(--text);
    font-size: 14px;
}

.logo-top-left {
    position: absolute;
    left: 30px;
    width: 120px;
    height: auto;
    z-index: 1000;
}

.submit-btn {
    font-size: 14px;
}

/* Top spacing section */
.top-spacer {
    height: 80px;
    background: var(--light);
}

.banner {
    background: linear-gradient(135deg, var(--red), var(--dark-red));
    color: var(--white);
    /* padding: 120px 0 80px 0; */
    display: flex;
    align-items: center;
    gap: 60px;
    width: 100%;
    margin: 0;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    overflow: hidden;
}

.banner-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 60px;
    display: flex;
    align-items: flex-end;
    gap: 60px;
    width: 100%;
    flex-wrap: wrap;
    min-height: 500px;
}

.banner-left {
    flex: 1;
    order: 1;
    display: flex;
    align-items: flex-end;
    justify-content: flex-start;
    height: 100%;
    position: relative;
}

.banner-form {
    background: rgba(255, 255, 255, 0.95);
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    width: 100%;
    max-width: 450px;
    margin-top: 30px;
}

.banner-form h3 {
    font-size: 1.8rem;
    margin-bottom: 15px;
    color: black;
    text-align: center;
    font-weight: 600;
}

.banner-form .form-subtitle {
    text-align: center;
    color: #666;
    font-size: 1rem;
    margin-bottom: 30px;
}

.banner-form .form-row {
    display: flex;
    gap: 15px;
    margin-bottom: 20px;
}

.banner-form .form-row input,
.banner-form .form-row select {
    flex: 1;
    margin: 0;
}

.banner-form input,
.banner-form select {
    width: 100%;
    padding: 15px;
    border: 2px solid #e0e0e0;
    border-radius: 10px;
    font-size: 1rem;
    margin-bottom: 20px;
    box-sizing: border-box;
    transition: border-color 0.3s ease;
}

.banner-form input:focus,
.banner-form select:focus {
    outline: none;
    border-color: rgba(0, 0, 0, 0.3);
}

.banner-form .submit-btn {
    background: #e44126;
    color: white;
    padding: 16px 25px;
    border: none;
    border-radius: 10px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    width: 100%;
    transition: all 0.3s ease;
}

.banner-form .submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(228, 65, 38, 0.4);
}

.banner-right {
    flex: 0 0 450px;
    order: 2;
    display: flex;
    justify-content: flex-end;
    align-items: flex-end;
    padding-bottom: 40px;
}

.image-wrapper {
    background: none;
    padding: 0;
    border-radius: 0;
    display: flex;
    justify-content: flex-start;
    align-items: flex-end;
    height: 100%;
    position: relative;
}

.image-wrapper img {
    max-width: 120%;
    height: auto;
    max-height: 550px;
    border-radius: 0;
    filter: brightness(1) saturate(1) contrast(1);
    background: transparent;
    transform: none;
    transition: transform 0.3s ease;
    object-fit: contain;
    object-position: bottom left;
}

.content-sections {
    display: flex;
    gap: 40px;
    max-width: 1200px;
    margin: 60px auto;
    padding: 0 20px;
    flex-wrap: wrap;
}

.card {
    flex: 1;
    background: var(--white);
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
}

.card h2 {
    color: black;
    margin-bottom: 20px;
    font-size: 1.4rem;
    text-align: center;
}

.card p,
.card li {
    font-size: 0.9rem;
    line-height: 1.4;
}

table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 15px;
}

table,
th,
td {
    border: 1px solid #ddd;
}

th,
td {
    padding: 8px;
    text-align: left;
    font-size: 0.85rem;
}

th {
    background-color: #f1f1f1;
}

.timeline-steps {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 30px;
    margin-top: 30px;
    padding: 20px;
}

.step-box {
    flex: 1 1 200px;
    background-color: var(--light);
    padding: 18px;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 1px 6px rgba(0, 0, 0, 0.1);
}

.step-box h3 {
    margin-bottom: 8px;
    color: #e44126;
    font-size: 1rem;
}

.step-box p {
    font-size: 0.85rem;
    line-height: 1.3;
}

footer {
    text-align: center;
    padding: 30px 20px;
    background-color: #eee;
    font-size: 1.2;
}

.text-danger {
    color: #d32f2f;
}

#callingCode {
    font-size: 0.85rem;
    padding: 5px;
}

.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    justify-content: center;
    align-items: center;
    z-index: 9999;
}

.modal-content {
    background: #fff;
    padding: 30px 25px;
    width: 95%;
    max-width: 350px;
    border-radius: 10px;
    position: relative;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.25);
    animation: slideIn 0.3s ease-out;
    max-height: 90vh;
    overflow-y: auto;
}

@keyframes slideIn {
    from {
        transform: translateY(-40px);
        opacity: 0;
    }

    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.close-btn {
    position: absolute;
    top: 12px;
    right: 18px;
    font-size: 24px;
    font-weight: bold;
    color: #aaa;
    cursor: pointer;
}

.close-btn:hover {
    color: #000;
}

/* Mobile Responsive Styles */
@media (max-width: 768px) {
    .logo-top-left {
        width: 80px;
        top: 15px;
        left: 15px;
    }

    .banner {
        padding: 100px 0 30px 0;
        overflow: hidden;
    }

    .banner-container {
        flex-direction: column;
        gap: 30px;
        align-items: center;
        padding: 0 15px;
        width: 100%;
        max-width: 100%;
        min-height: auto;
    }

    .banner-left {
        order: 2;
        width: 100%;
        flex: none;
        display: flex;
        justify-content: center;
        align-items: center;
    }

    .banner-right {
        order: 1;
        width: 100%;
        flex: none;
        display: flex;
        justify-content: center;
        align-items: center;
    }

    .image-wrapper {
        width: 100%;
        display: flex;
        justify-content: center;
        align-items: center;
        padding: 10px 0;
        text-align: center;
    }

    .image-wrapper img {
        display: none;
    }

    .banner-form {
        width: 90%;
        max-width: 350px;
        margin: 0 auto;
        box-sizing: border-box;
        padding: 20px;
    }

    .banner-form h3 {
        font-size: 1rem;
        margin-bottom: 8px;
    }

    .banner-form .form-subtitle {
        font-size: 0.75rem;
        margin-bottom: 12px;
    }

    .banner-form input,
    .banner-form select {
        padding: 8px;
        font-size: 0.8rem;
        margin-bottom: 8px;
        border-radius: 5px;
    }

    .banner-form .submit-btn {
        padding: 10px 15px;
        font-size: 0.85rem;
        border-radius: 5px;
    }

    .banner-form .form-row {
        flex-direction: column;
        gap: 8px;
        margin-bottom: 8px;
    }

    .content-sections {
        flex-direction: column;
        gap: 15px;
        margin: 20px auto;
        padding: 0 10px;
    }

    .card {
        padding: 15px;
        border-radius: 10px;
    }

    .card h2 {
        font-size: 1rem;
        margin-bottom: 10px;
    }

    .card p,
    .card li {
        font-size: 0.75rem;
        line-height: 1.3;
    }

    .timeline-steps {
        flex-direction: column;
        gap: 10px;
    }

    .step-box {
        flex: none;
        padding: 10px;
        border-radius: 6px;
    }

    .step-box h3 {
        font-size: 0.85rem;
        margin-bottom: 4px;
    }

    .step-box p {
        font-size: 0.7rem;
        line-height: 1.2;
    }

    header h1 {
        font-size: 1.1rem;
        margin-bottom: 5px;
    }

    header p {
        font-size: 0.8rem;
    }

    table {
        font-size: 0.7rem;
        margin-top: 8px;
    }

    th,
    td {
        padding: 4px;
        font-size: 0.7rem;
    }

    footer {
        padding: 15px 10px;
        font-size: 0.75rem;
    }
}

/* Tablet responsive */
@media (max-width: 1024px) and (min-width: 769px) {
    .banner {
        padding: 110px 0 60px 0;
    }

    .banner-container {
        gap: 50px;
        padding: 0 40px;
    }

    .banner-left {
        display: none;
    }

    .banner-right {
        flex: 1;
        display: flex;
        justify-content: center;
        align-items: center;
    }

    .logo-top-left {
        top: 25px;
        left: 25px;
    }
}

.whatsapp.fixed {
    position: fixed;
    bottom: 40px;
    right: 40px;
}

.whatsapp img {
    width: 30px;
}

.whatsapp.fixed img {
    width: 60px;
}

.container {
    max-width: 600px;
    margin: 0 auto;
    background: white;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.form-row {
    display: flex;
    gap: 10px;
    margin-bottom: 15px;
}

.form-row input,
.form-row select {
    flex: 1;
}

input,
select {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 14px;
    margin-bottom: 15px;
}

.checkbox-container {
    display: flex;
    align-items: flex-start;
    margin-bottom: 20px;
    gap: 10px;
}

.checkbox-container input[type="checkbox"] {
    width: 18px;
    height: 18px;
    margin: 0;
    cursor: pointer;
    flex-shrink: 0;
    margin-top: 2px;
}

.form-note {
    margin: 0;
    line-height: 1.4;
    color: #333;
    font-size: 14px;
}

.link {
    color: #e44126;
    cursor: pointer;
    text-decoration: none;
}

.submit-btn {
    width: 100%;
    padding: 12px;
    background-color: #007bff;
    color: white;
    border: none;
    border-radius: 5px;
    font-size: 16px;
    cursor: pointer;
    transition: background-color 0.3s;
}

.submit-btn:disabled {
    background-color: #ccc;
    cursor: not-allowed;
}

.text-danger {
    color: #dc3545;
    font-size: 14px;
    text-align: center;
    margin-top: 10px;
}

/* FIXED MODAL STYLES */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 1000;
}

.terms-modal-content {
    background: #fff;
    padding: 1.5rem;
    border-radius: 0.5rem;
    max-width: 600px;
    width: 90%;
    position: relative;
    max-height: 90vh;
    overflow-y: auto;
}

.modal-close {
    position: absolute;
    top: 0.5rem;
    right: 0.5rem;
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
}

@keyframes modalSlideIn {
    from {
        opacity: 0;
        transform: translateY(-30px) scale(0.9);
    }

    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.modal-header {
    padding: 20px;
    border-bottom: 1px solid #eee;
    font-size: 18px;
    font-weight: 600;
    color: #333;
    position: relative;
}

.modal-body {
    padding: 20px;
    font-size: 14px;
    line-height: 1.6;
    color: #555;
    background-color: black;
}

.modal-close {
    top: 0.5rem;
    right: 0.5rem;
    position: absolute;
    top: 15px;
    right: 20px;
    font-size: 24px;
    cursor: pointer;
    border: none;
    background: transparent;
    color: #999;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.2s;
}

.modal-close:hover {
    background: #f0f0f0;
    color: #333;
}

/* === Content sections layout === */
/* .content-sections {
    max-width: 1040px;
    margin: 40px auto;
    padding: 0 16px;
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
  } */
  
  /* === Card look & feel === */
  .content-sections .card {
    background: #fff;
    border: 1px solid rgba(0,0,0,0.06);
    border-radius: 14px;
    padding: 24px;
    box-shadow: 0 6px 20px rgba(0,0,0,0.06);
    transition: box-shadow .25s ease, transform .25s ease;
  }
  .content-sections .card:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 28px rgba(0,0,0,0.09);
  }
  
  /* === Headings === */
  .content-sections .card h2 {
    font-family: "Inter", system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
    font-weight: 600;
    font-size: 24px;
    letter-spacing: .2px;
    margin: 4px 0 14px;
    color: #1a1a1a;
    display: flex;
    align-items: center;
    gap: 10px;
  }
  .content-sections .card h2::after {
    content: "";
    flex: 1 1 auto;
    height: 2px;
    background: linear-gradient(90deg, #E44126, rgba(228,65,38,0));
    border-radius: 2px;
  }
  
  /* === Paragraphs inside cards === */
  .content-sections .card > p {
    color: #444;
    margin-bottom: 14px;
    line-height: 1.6;
  }
  
  /* === Beautiful bullet lists (no content changes) === */
  .content-sections .card ul {
    list-style: none;           /* hide default */
    margin: 10px 0 0;
    padding-left: 0;
  }
  .content-sections .card ul li {
    position: relative;
    padding: 10px 12px 10px 36px;   /* left pad for custom bullet */
    margin: 2px 0;
    border-radius: 10px;
    background: linear-gradient(0deg, rgba(228,65,38,0.05), rgba(228,65,38,0.05)) transparent;
    transition: background .2s ease;
  }
  .content-sections .card ul li + li {
    margin-top: 8px;
  }
  .content-sections .card ul li:hover {
    background: linear-gradient(0deg, rgba(228,65,38,0.09), rgba(228,65,38,0.09)) transparent;
  }
  .content-sections .card ul li::before {
    content: "";
    width: 5px;
    height: 5px;
    border-radius: 10px;
    background: #E44126;         /* Y‑Axis accent */
    box-shadow: 0 0 0 4px rgba(228,65,38,0.18);
    position: absolute;
    left: 14px;
    top: 50%;
    transform: translateY(-50%);
  }
  
  /* === Table refinement for Reward Structure === */
  .content-sections .card table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    overflow: hidden;
    border-radius: 10px;
    margin-top: 8px;
  }
  .content-sections .card table th,
  .content-sections .card table td {
    padding: 14px 16px;
    border-bottom: 1px solid rgba(0,0,0,0.06);
    background: #fff;
    color: #222;
  }
  .content-sections .card table tr:last-child td {
    border-bottom: none;
  }
  .content-sections .card table th {
    background: #fff5f3;
    font-weight: 600;
  }
  .content-sections .card table tr:hover td {
    background: #fff9f7;
  }
  
  /* === Mobile responsiveness === */
  @media (max-width: 768px) {
    .content-sections { margin: 28px auto; gap: 18px; }
    .content-sections .card { padding: 18px; border-radius: 12px; }
    .content-sections .card h2 { font-size: 20px; }
    .content-sections .card ul li { padding-left: 34px; }
    .content-sections .card ul li::before { left: 12px; }
  }
  
 /* How it works — style the actual numbers */
.how-it-works-ol{
    list-style: decimal;
    list-style-position: outside;
    margin: 20px;
    padding-left: 1.3rem;   /* space for the markers */
  }
  .how-it-works-ol li{
    margin: 30px 0 40px;
    line-height: 1.6;
  }
  
  /* color + bold for list numbers */
  .how-it-works-ol li::marker{
    color: #E44126;
    font-weight: 700;
  }