/* Layout */
.offers {
    max-width: 1420px;
    margin: 3rem auto;
    padding: 0 1rem;
    text-align: center;
  }
  
  .offers h2 {
    font-size: 2rem;
    margin-bottom: 2rem;
  }
  
  .offers-grid {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 32px;
    justify-content: center;
  }

/* Offer Cards */
.offer-card {
    background: #ffffff;
    width: 320px;
    border-radius: 16px;
    padding: 24px;
    box-shadow: 0 6px 12px rgba(0,0,0,0.08);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.offer-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 18px rgba(0,0,0,0.12);
}

.offer-card h3 {
    font-size: 1.5rem;
    text-align: center;
}
.offer-card h3::after {
    content: "";
    display: block;
    width: 30%;       /* length of the separator */
    height: 1px;       /* thickness */
    background: #eee;  /* color */
    margin: 0.3rem auto 0; /* space between text and line */
}

.offer-card h4 {
    font-size: 0.9rem;       /* smaller than main header */
    font-weight: 400;        /* normal weight, not bold */
    color: #555;             /* softer color than main header */
    margin: 0.3rem 0 1rem; /* small top margin, a bit more bottom for spacing */
    line-height: 1.3; 
    text-shadow: none;
}
  

.offer-card ul {
    list-style: none;
    padding: 0;
    margin: 0 0 1rem 0;
}

.offer-card ul li::before {
    content: "✔";
    color: currentColor;
    font-weight: bold;
    margin-right: 0.5rem;
}

.offer-card .price {
    font-size: 1.6rem;
    font-weight: bold;
    margin: 1rem 0;
}

/* Footers */
.offer-card footer {
font-size: 0.9rem;
color: #555;
margin-top: auto;
border-top: 1px solid #eee;
padding-top: 1rem;
}

.basic {
    border-top: 6px solid #FBC4AB; /* soft coral */
    scale: 0.95;
}
.basic h3, .basic .price {
    color: #E07A5F; /* muted coral */
}
  
.premium {
    border-top: 6px solid #B2F0EC; /* soft apricot */
}
.premium h3, .premium .price {
    color: #2EC4B6; /* muted amber */
}  
.pro {
    border-top: 6px solid #A7F3D0; /* soft mint */
    scale: 0.95;
}
.pro h3, .pro .price {
    color: #10B981; /* medium teal */
}
.offer-card .toggle-card {
    display: none; /* default hidden on desktop */
    margin-top: 1rem;
    background: #f0f0f0;
    color: #374151;
    border: none;
    padding: 0.5rem 1rem;
    border-radius: 8px;
    cursor: pointer;
}

.offers .cta-buttons {
    margin-top: 42px;
}
.offers .cta-container {
    width: 100%;
}

.details-wrapper ul {
    display: flex;
    flex-direction: column;
    gap: 4px;
}
@media (max-width: 768px) {
    .details-wrapper {
        height: 0;
        overflow: hidden;
        transition: height 0.3s ease;
    }
    .offer-card .toggle-card {
      display: inline-block;
    }
    .offer-card .details-wrapper {
        max-height: none;
    }
    .expanded .details-wrapper {
        height: 150px;
    }
}