/* =====================================================
   APT COMPUTER - OFFERS PAGE
   ===================================================== */

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    min-height: 100vh;

    font-family: "Segoe UI", Arial, sans-serif;

    color: #ffffff;

    background:
        linear-gradient(
            rgba(2, 16, 38, 0.78),
            rgba(2, 16, 38, 0.88)
        ),
        url("/images/bg.jpg");

    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    background-attachment: fixed;
}


/* =====================================================
   MAIN PAGE
   ===================================================== */

.page {
    width: min(1200px, 94%);
    margin: auto;
    padding: 20px 0 30px;
}


/* =====================================================
   HEADER
   ===================================================== */

.header {

    display: flex;
    align-items: center;
    justify-content: space-between;

    padding: 14px 18px;

    border: 1px solid rgba(91, 160, 255, 0.35);

    border-radius: 18px;

    background:
        linear-gradient(
            135deg,
            rgba(5, 35, 70, 0.95),
            rgba(3, 22, 48, 0.95)
        );

    box-shadow:
        0 15px 45px rgba(0, 0, 0, 0.35);
}


/* =====================================================
   BRAND
   ===================================================== */

.brand {

    display: flex;
    align-items: center;
    gap: 12px;

}

.brand img {

    width: 62px;
    height: 62px;

    object-fit: contain;

}

.brand span {

    display: block;

    color: #29a9ff;

    font-size: 21px;
    font-weight: 900;

    letter-spacing: 1px;

}

.brand small {

    display: block;

    margin-top: 3px;

    color: #b9cbe0;

    font-size: 11px;

}


/* =====================================================
   BACK BUTTON
   ===================================================== */

.back-btn {

    display: inline-flex;

    align-items: center;
    justify-content: center;

    padding: 10px 17px;

    color: #ffffff;

    text-decoration: none;

    font-size: 13px;
    font-weight: 700;

    border-radius: 10px;

    background: linear-gradient(
        135deg,
        #0786dc,
        #0755bd
    );

    border: 1px solid rgba(255,255,255,.2);

    transition: .25s;

}

.back-btn:hover {

    transform: translateY(-2px);

    box-shadow:
        0 8px 22px rgba(0,130,255,.35);

}


/* =====================================================
   HEADING
   ===================================================== */

.heading {

    display: flex;

    align-items: center;
    justify-content: center;

    gap: 18px;

    margin: 30px 0 24px;

    text-align: center;

}

.heading .line {

    height: 1px;

    flex: 1;

    max-width: 180px;

    background: linear-gradient(
        to right,
        transparent,
        #248fe4,
        transparent
    );

}

.small-title {

    color: #2daaff;

    font-size: 10px;

    font-weight: 800;

    letter-spacing: 2px;

}

.heading h1 {

    margin-top: 2px;

    font-size: 30px;

    font-weight: 900;

}

.heading p {

    margin-top: 5px;

    color: #b7c8da;

    font-size: 12px;

}


/* =====================================================
   OFFERS GRID
   ===================================================== */

.offers-grid {

    display: grid;

    grid-template-columns:
        repeat(3, minmax(0, 1fr));

    gap: 18px;

}


/* =====================================================
   OFFER CARD
   ===================================================== */

.offer-card {

    overflow: hidden;

    border-radius: 16px;

    background:
        linear-gradient(
            145deg,
            rgba(10, 43, 78, 0.98),
            rgba(4, 24, 48, 0.98)
        );

    border: 1px solid rgba(79, 157, 230, .32);

    box-shadow:
        0 12px 30px rgba(0, 0, 0, .28);

    transition:
        transform .25s,
        box-shadow .25s,
        border-color .25s;

}

.offer-card:hover {

    transform: translateY(-5px);

    border-color: rgba(41, 169, 255, .8);

    box-shadow:
        0 18px 38px rgba(0, 0, 0, .4),
        0 0 20px rgba(0, 133, 255, .08);

}


/* =====================================================
   OFFER IMAGE
   ===================================================== */

.offer-image {

    position: relative;

    width: 100%;

    height: 190px;

    overflow: hidden;

    background: #071a30;

}

.offer-image img {

    width: 100%;
    height: 100%;

    object-fit: cover;

    display: block;

    transition: transform .35s;

}

.offer-card:hover .offer-image img {

    transform: scale(1.06);

}


/* =====================================================
   BADGE
   ===================================================== */

.badge {

    position: absolute;

    top: 11px;
    left: 11px;

    z-index: 2;

    padding: 6px 9px;

    border-radius: 6px;

    background:
        linear-gradient(
            135deg,
            #ff316f,
            #ed0750
        );

    color: #fff;

    font-size: 9px;

    font-weight: 900;

    letter-spacing: .5px;

    box-shadow:
        0 5px 15px rgba(0,0,0,.35);

}


/* =====================================================
   OFFER CONTENT
   ===================================================== */

.offer-content {

    padding: 15px;

}

.offer-content h2 {

    min-height: 43px;

    color: #ffffff;

    font-size: 18px;

    line-height: 1.2;

    font-weight: 800;

}


.offer-content ul {

    list-style: none;

    margin: 12px 0;

    padding: 0;

}

.offer-content li {

    position: relative;

    padding: 5px 0 5px 15px;

    color: #c8d7e7;

    font-size: 11px;

    border-bottom: 1px solid rgba(255,255,255,.06);

}

.offer-content li:last-child {

    border-bottom: 0;

}

.offer-content li::before {

    content: "✓";

    position: absolute;

    left: 0;

    color: #26b4ff;

    font-weight: 900;

}

.offer-content li b {

    color: #ffffff;

}


/* =====================================================
   PRICE
   ===================================================== */

.price {

    display: flex;

    align-items: center;

    justify-content: space-between;

    margin: 13px 0;

}

.price::before {

    content: "OFFER PRICE";

    color: #91a9c0;

    font-size: 9px;

    font-weight: 700;

    letter-spacing: .7px;

}

.price span {

    color: #35c6ff;

    font-size: 25px;

    font-weight: 900;

}


/* =====================================================
   WHATSAPP ENQUIRY
   ===================================================== */

.enquiry {

    display: flex;

    align-items: center;

    justify-content: center;

    width: 100%;

    min-height: 43px;

    padding: 10px;

    color: #ffffff;

    text-decoration: none;

    font-size: 12px;

    font-weight: 800;

    border-radius: 9px;

    background:
        linear-gradient(
            135deg,
            #16a05d,
            #078548
        );

    border: 1px solid rgba(255,255,255,.12);

    transition: .25s;

}

.enquiry:hover {

    transform: translateY(-2px);

    background:
        linear-gradient(
            135deg,
            #20b96e,
            #078f4e
        );

    box-shadow:
        0 8px 20px rgba(0, 180, 100, .25);

}


/* =====================================================
   FOOTER
   ===================================================== */

footer {

    margin-top: 30px;

    padding: 20px;

    text-align: center;

    border-top: 1px solid rgba(100,160,220,.18);

    color: #8ea5bb;

}

footer p {

    font-size: 10px;

}

footer a {

    display: inline-block;

    margin-top: 5px;

    color: #29a9ff;

    text-decoration: none;

    font-size: 12px;

    font-weight: 700;

}

footer small {

    display: block;

    margin-top: 7px;

    font-size: 8px;

    color: #657c93;

}


/* =====================================================
   TABLET
   ===================================================== */

@media (max-width: 900px) {

    .offers-grid {

        grid-template-columns:
            repeat(2, minmax(0, 1fr));

    }

}


/* =====================================================
   MOBILE
   ===================================================== */

@media (max-width: 600px) {

    .page {

        width: 94%;

        padding-top: 10px;

    }

    .header {

        padding: 10px 12px;

        border-radius: 14px;

    }

    .brand img {

        width: 48px;
        height: 48px;

    }

    .brand span {

        font-size: 16px;

    }

    .brand small {

        font-size: 8px;

    }

    .back-btn {

        padding: 8px 11px;

        font-size: 11px;

    }

    .heading {

        margin: 20px 0;

        gap: 10px;

    }

    .heading .line {

        display: none;

    }

    .heading h1 {

        font-size: 24px;

    }

    .heading p {

        font-size: 10px;

    }

    .offers-grid {

        grid-template-columns: 1fr;

        gap: 14px;

    }

    .offer-image {

        height: 200px;

    }

    .offer-content h2 {

        font-size: 17px;

    }

}


/* =====================================================
   VERY SMALL MOBILE
   ===================================================== */

@media (max-width: 370px) {

    .brand small {

        display: none;

    }

    .offer-image {

        height: 175px;

    }

    .price span {

        font-size: 22px;

    }

}