/* ===== offers.css ===== */

/* Wrapper padding */
.offers-container-wrapper {
    padding: 40px 15px;
}

/* Page heading */
.page-heading {
    text-align: center;
    margin-bottom: 30px;
}

.page-heading h2 {
    font-size: 2em;
    font-weight: bold;
    color: #333;
    margin: 0;
}

/* Underline below heading */
.page-heading .underline {
    width: 80px;
    height: 3px;
    background-color: #FF6B6B;
    margin: 10px auto 0;
    border-radius: 2px;
}

/* Offers container */
.offers-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center; /* center horizontally */
    gap: 20px;
    margin: 20px 0 0 0;
}

/* Single offer box */
.offer-box {
    border: 2px solid #ddd;
    border-radius: 10px;
    padding: 20px;
    background-color: #fff;
    box-shadow: 0 4px 6px rgba(0,0,0,0.05);
    text-align: center;
    transition: transform 0.3s, box-shadow 0.3s;
}

/* Hover effect */
.offer-box:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 15px rgba(0,0,0,0.1);
}

/* Offer image */
.offer-box img {
    width: 100%;
    border-radius: 10px 10px 0 0;
}

/* Offer title */
.offer-box h3 {
    font-size: 1.5em;
    margin: 15px 0 10px;
    color: #333;
}

/* Offer description */
.offer-box p {
    font-size: 1em;
    color: #666;
    line-height: 1.5;
}

/* Offer button */
.offer-box a.offer-btn {
    display: inline-block;
    margin-top: 15px;
    padding: 10px 20px;
    background-color: #FF6B6B;
    color: #fff;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    transition: background-color 0.3s;
}

.offer-box a.offer-btn:hover {
    background-color: #ff3b3b;
}

/* Desktop widths */
.offers-container.one-offer .offer-box,
.offers-container.two-offer .offer-box {
    flex: 1 1 45%;
    max-width: 45%;
}

.offers-container.three-offer .offer-box {
    flex: 1 1 30%;
    max-width: 30%;
}

/* Mobile stacking: one box per row */
@media (max-width: 768px) {
    .offers-container .offer-box {
        flex: 1 1 100% !important;
        max-width: 100% !important;
    }
}

@media (max-width: 480px) {
    .offers-container .offer-box {
        flex: 1 1 100% !important;
        max-width: 100% !important;
    }
}


/* Contact Us button */
.btn-custom {
    background-color: #000;
    color: #fff;
    font-weight: bold;
    text-decoration: none;
    padding: 10px 20px;
    border-radius: 5px;
    transition: background-color 0.3s;
}
.btn-custom:hover {
    background-color: #333;
}

.offer-box {
    position: relative; /* required for absolute positioning */
}

.offer-badge {
    position: absolute;
    bottom: -5;      /* extreme bottom */
    right: 0;       /* extreme right */
    background-color: #0a1172; /* blue */
    color: #fff;
    padding: 5px 10px;
    font-size: 0.9em;
    font-weight: bold;
    border-radius: 5px 0 0 0; /* only round top-left corner */
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
}
