/* =========================================================
   CAMPAIGN PAGE
   ========================================================= */


/* -------------------------
   RESET
   ------------------------- */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html,
body {
    width: 100%;
    overflow-x: hidden;
    background-color: #ffffff;
}


/* -------------------------
   CAMPAIGN WRAPPER
   ------------------------- */
.campaign {
    width: 100%;
    max-width: 1920px;
    margin: 0 auto;
}


/* -------------------------
   CONTAINER (bottom section text)
   ------------------------- */
.container {
    max-width: 1000px;
    width: 100%;
    margin: 0 auto;
    padding: 0 20px;
}


/* =========================================================
   TOP SECTION
   ========================================================= */
.sec-top {
    position: relative;
    width: 100%;
    overflow: hidden;
}


/* --- Layer 1: Background (absolute) ------------------------- */
.sec-top__bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    background-color: #a8e4ff;
    z-index: 1;
}

.sec-top__bg img {
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 1920px;
    height: auto;
    max-width: none;
}

@media (max-width: 1000px) {
    .sec-top__bg img {
        width: 200%;
    }
}


/* --- Layer 2: Elements (in-flow) ----------------------------- */
.sec-top__content {
    position: relative;
    z-index: 2;
    margin-bottom: -5%;
}

.sec-top__inner {
    max-width: 1000px;
    width: 100%;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
}


/* --- Title element ------------------------------------------- */
.el-title {
    display: block;
    width: 90%;
    max-width:800px;
    margin-top: 80px;
    position: relative;
    z-index: 3;
}


/* --- Gift element -------------------------------------------- */
.el-gift {
    display: block;
    width: 85%;
    max-width:700px;
    margin-top: -2%;
    position: relative;
    z-index: 2;
}


/* --- Hero element -------------------------------------------- */
.el-hero {
    width: 96%;
    margin-top: -10%;
    position: relative;
    z-index: 1;
}

.el-hero > img {
    display: block;
    width: 100%;
    height: auto;
}

.el-hero__content {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.el-progress {
    display: block;
    width: 55%;
    margin-top: 35%;
}

.el-number {
    display: block;
    height: 25%;
    width: auto;
    margin-top: -5%;
}

.el-bar {
    display: block;
    width: 50%;
    margin-top: -3%;
}


/* =========================================================
   BOTTOM SECTION
   ========================================================= */
.sec-bottom {
    width: 100%;
    min-height: 500px;
    background-color: #0daf95;
    margin-top: 0%;
    position: relative;
    z-index: 5;
}

.sec-bottom__content {
    padding: 60px 15px;
    max-width: 1000px;
    margin: 0 auto;
    font-family: 'Montserrat', sans-serif;
    color: #003f77;
}

/* --- Headings ---------------------------------------------- */
.sec-title {
    font-size: clamp(18px, 2.4vw, 24px);
    font-weight: 500;
    text-align: center;
    margin-bottom: 40px;
}

.sec-subtitle {
    font-size: clamp(15px, 1.8vw, 18px);
    font-weight: 400;
    text-align: center;
    margin-bottom: 15px;
}

.sec-via {
    font-size: clamp(24px, 4vw, 40px);
    font-weight: 800;
    text-align: center;
    margin: 40px 0 25px;
}

/* --- Full-width images ------------------------------------- */
.sec-logo {
    display: block;
    width: 100%;
    margin-bottom: 30px;
}

.sec-logo--mobile {
    display: none;
    width: 90%;
    margin:auto;
}

@media (max-width: 700px) {
    .sec-logo--desktop {
        display: none;
    }

    .sec-logo--mobile {
        display: block;
    }
}

.sec-gift2 {
    display: block;
    width: 90%;
    max-width:700px;
    margin: 0 auto 40px;
}

.sec-progress {
    display: block;
    width: 100%;
    margin: 40px 0;
}

/* --- Point cards ------------------------------------------- */
.point-cards {
    display: flex;
    gap: 20px;
    margin-bottom: 40px;
}

.point-card {
    flex: 1;
    text-align: center;
}

.point-card img {
    display: block;
    max-width: 140px;
    width: 100%;
    margin: 0 auto 15px;
}

.point-card h3 {
    font-size: clamp(20px, 2.6vw, 26px);
    font-weight: 800;
    margin-bottom: 10px;
}

.point-card p {
    font-size: clamp(16px, 2.2vw, 22px);
    font-weight: 400;
    line-height: 1.4;
}

@media (max-width: 700px) {
    .point-cards {
        flex-direction: column;
        gap: 30px;
    }
}

/* --- Button row -------------------------------------------- */
.btn-row {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-bottom: 30px;
}

.btn-link img {
    display: block;
    width: 100%;
}

/* --- Terms link -------------------------------------------- */
.sec-tnc {
    display: block;
    text-align: center;
    font-size: clamp(15px, 1.8vw, 18px);
    color: #003f77;
    text-decoration: underline;
}

/* =========================================================
   T&C PAGE
   ========================================================= */
.tnc {
    max-width: 1000px;
    margin: 0 auto;
    padding: 60px 20px;
    font-family: 'Montserrat', sans-serif;
    color: #003f77;
}

.tnc h1 {
    font-size: clamp(18px, 2.4vw, 24px);
    font-weight: 800;
    margin-bottom: 20px;
}

.tnc h2 {
    font-size: clamp(16px, 2vw, 20px);
    font-weight: 800;
    margin-bottom: 20px;
}

.tnc h3 {
    font-size: clamp(15px, 1.8vw, 18px);
    font-weight: 800;
    margin: 25px 0 10px;
}

.tnc p {
    font-size: clamp(14px, 1.6vw, 16px);
    font-weight: 400;
    line-height: 1.6;
    margin-bottom: 10px;
}

.tnc ol {
    padding-left: 20px;
    margin-bottom: 10px;
}

.tnc ol li {
    font-size: clamp(14px, 1.6vw, 16px);
    font-weight: 400;
    line-height: 1.6;
    margin-bottom: 10px;
}

.tnc ol ol {
    list-style-type: lower-alpha;
    margin-top: 10px;
}

/* --- T&C headings & tables --------------------------------- */
.tnc h4 {
    font-size: clamp(14px, 1.6vw, 16px);
    font-weight: 700;
    margin: 20px 0 10px;
}

.tnc-table-wrap {
    overflow-x: auto;
    margin: 15px 0;
    -webkit-overflow-scrolling: touch;
}

.tnc-table {
    width: 100%;
    border-collapse: collapse;
    font-size: clamp(13px, 1.4vw, 15px);
}

.tnc-table th,
.tnc-table td {
    border: 1px solid #003f77;
    padding: 10px 12px;
    text-align: left;
}

.tnc-table th {
    background: #003f77;
    color: #fff;
    font-weight: 600;
    white-space: nowrap;
}

.tnc-table tbody tr:nth-child(even) {
    background: rgba(0, 63, 119, 0.05);
}

/* Mobile: each row becomes a stacked card */
@media (max-width: 600px) {
    .tnc-table thead {
        display: none;
    }

    .tnc-table tbody tr {
        display: block;
        margin-bottom: 15px;
        border: 1px solid #003f77;
    }

    .tnc-table tbody td {
        display: flex;
        justify-content: space-between;
        padding: 8px 12px;
        border: none;
        border-bottom: 1px solid rgba(0, 63, 119, 0.15);
    }

    .tnc-table tbody td:last-child {
        border-bottom: none;
    }

    .tnc-table tbody td::before {
        content: attr(data-label);
        font-weight: 600;
        margin-right: 15px;
        white-space: nowrap;
    }
}

.tnc a {
    color: #003f77;
    text-decoration: underline;
}

.tnc a:hover {
    opacity: 0.7;
}

@media (max-width: 700px) {
    .btn-row {
        flex-direction: column;
        align-items: center;
    }

    .btn-link {
        max-width: 400px;
        width: 80%;
    }
}