/* styles_packages.css */

/* Google font ----------------------------------------------------------- */
@import url('https://fonts.googleapis.com/css2?family=Roboto+Slab:wght@300;400;500&display=swap');

/* Base ------------------------------------------------------------------ */
html, body {
    margin: 0;
    padding: 0;
    font-family: 'Roboto Slab', serif;
    background:#FFF;
    color: #fff;
}

.packages-container {
    width: 90%;
    max-width: 1200px;
    margin: 80px auto 60px auto;
}

/* Header / intro -------------------------------------------------------- */
.packages-header {
    text-align: center;
    margin-bottom: 75px; /* space below the intro before the boxes */
}

.packages-header h1 {
    margin: 0 0 25px 0;   /* 25px gap between heading and intro */
    font-size: 2rem;
    font-weight: 500;
    color:#000;
}

.packages-intro {
    margin: 0 0 25px 0;   /* extra 25px below the intro */
    font-size: 1rem;
    font-weight: 300;
    color:#000;
}

/* Grid layout ----------------------------------------------------------- */
.packages-main {
    margin-top: 20px;
}

.packages-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: flex-start;  /* let each card be only as tall as its content */
    gap: 75px;
}

/* Cards ----------------------------------------------------------------- */
.package-card {
    background: transparent; /* card shell only, header/body handle colours */
    border-radius: 25px;
    overflow: hidden;        /* ensures rounded corners show cleanly */
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.35);
    flex: 0 1 560px;         /* even wider cards */
    max-width: 560px;
    display: flex;
    flex-direction: column;
}
/* Optional subtle emphasis on Premium */
.package-card--highlight {
    transform: translateY(-4px);
    box-shadow: 0 12px 26px rgba(0, 0, 0, 0.35);
}

/* Card header: rounded top corners, blue backgrounds -------------------- */
.package-header {
    padding: 29px 18px;   /* +15px above the heading and below the tagline */
    border-radius: 25px 25px 0 0;
    border-bottom: 2px solid #fff;
    text-align: center;
}

.package-header--basic {
    background: #4169e1; /* light blue */
}

.package-header--premium {
    background: #2d3292; /* dark blue */
}

.package-header h2 {
    margin: 0 0 15px 0;   /* 15px gap between title and tagline */
    font-size: 2rem;
    font-weight: 500;
    color: #fff;
}

.package-header .package-tagline {
    margin: 0;
    font-size: 0.95rem;
    font-weight: 300;
    color: #fff;
}
/* Card body: lighter blue, rounded bottom corners ---------------------- */
.package-body {
    background: #4169e1;
    border-radius: 0 0 25px 25px;
    padding: 14px 18px 18px 18px;
    display: flex;
    flex-direction: column;
}

/* CTA / buttons area inside the body */
.package-cta {
    margin-top: 18px;
	margin-bottom: 18px;
    text-align: center;
}

/* Pricing --------------------------------------------------------------- */
.package-price {
    text-align: center;
    margin: 28px 0 16px 0;   /* breathing space above and below */
    font-size: 1.35rem;      /* fairly large */
    font-weight: 500;
    color: #fff;
}

.package-price--basic {
    letter-spacing: 0.06em;  /* subtle emphasis for FREE */
}

.package-price--premium {
    /* slight emphasis without changing colour scheme */
    font-weight: 500;
}


/* Feature list ---------------------------------------------------------- */
.package-features {
    list-style: none;
    margin: 0 0 18px 0;
    padding: 0;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.35);
}

/* Each row separated with a white-ish divider line */
.package-features li {
    padding: 8px 10px;
    font-size: 0.95rem;
    font-weight: 300;
    color: #fff;
    background: rgba(65, 105, 225, 0.9);
    /* border-top removed */
}

/* Remove border on first row – no longer needed */
/* .package-features li:first-child { */
/*     border-top: none; */
/* } */

/* CTA / buttons --------------------------------------------------------- */
.package-cta-wrap {
    text-align: center;
    margin-top: 4px;
}

/*
   Button style to resemble your "Preview" button on submit.php:
   blue pill, white text, slight hover lift.
   If your existing Preview button uses a different class, you can
   copy its styles here instead.
*/
.package-btn {
    display: inline-block;
    padding: 8px 18px;
    border-radius: 20px;
    border: 2px solid #fff;
    background: transparent;
    color: #fff;
    text-decoration: none;
    font-size: 1.5rem;
    font-weight: 500;
    cursor: pointer;
    transition: background 0.12s ease-in-out,
                color 0.12s ease-in-out,
                transform 0.06s ease-in-out,
                box-shadow 0.12s ease-in-out;
}

.package-btn--primary {
    /* Slightly stronger default fill for Premium */
    background: #2d3292;
}

.package-btn:hover,
.package-btn:focus {
    outline: none;
    background: #fff;
    color: #2d3292;
    transform: scale(1.03);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.22);
}


/* Feature list inside each package card -------------------------------- */

.package-features {
  list-style: none;
  margin: 0 0 18px 0;
  padding: 0;
  border-radius: 0;          /* no rounded corners on the list itself */
  border: none;              /* remove extra border box */
}
.package-feature-row {
  display: flex;
  align-items: flex-start;
  padding: 8px 14px;
  border-bottom: 1px solid rgba(255,255,255,0.25);
}

.package-feature-row--shared-last {
  border-bottom: none;       /* no line under the last shared feature */
}

.package-feature-row:last-child {
  border-bottom: none;
}


/* Separator row inside Premium list */
.package-feature-row--separator {
  background: rgba(0, 0, 0, 0.18);
  padding-top: 12px;
  padding-bottom: 12px;
  margin-top: 25px;          /* space above the separator text */
  margin-bottom: 20px;       /* a bit more breathing space before first Premium-only row */
  justify-content: center;   /* centre contents within the flex row */
  border-top: none;
  border-bottom: none;
}

.package-feature-row--separator .package-feature-label {
  font-weight: 500;          /* lighter weight */
  font-size: 1.35rem;         /* a touch larger */
  letter-spacing: 0.03em;
  text-align: center;
  margin: 13px 0 16px 0;   /* breathing space above and below */
}

/* Premium-only rows: slightly darker background for emphasis */
.package-feature-row--premium-extra {
  background: rgba(36, 50, 146, 0.95); /* darker blue than the shared rows */
}

/* Slightly stronger tick for Premium-only features */
.package-feature-icon--premium-extra {
  color: #b3ffcc;   /* a bit brighter than the normal tick */
  font-weight: 600;
}



.package-feature-label {
  flex: 1;
  font-size: 0.95rem;
  line-height: 1.4;
}

.package-feature-icon {
  margin-right: 10px;      /* spacing to the label */
  margin-left: 0;
  font-size: 1.1rem;
  min-width: 1.5rem;
  text-align: center;      /* centre the tick in its small column */
}

/* Green tick for included features (same tone as admin approve button) */
.package-feature-icon--on {
  color: #9ef0b1;
}

/* White/soft em dash for features not included in that package */
.package-feature-icon--off {
  color: #ffffff;
  opacity: 0.85;
}

.packages-footer-note {
    margin: 90px auto 40px auto;  /* extra 50px above the footer note */
    text-align: center;
    max-width: 800px;
    color:#000;
    font-size: 0.95rem;
    font-weight: 300;
}

.packages-footer-note p {
    margin: 0;
}




/* Small devices: stack cards vertically --------------------------------- */
@media (max-width: 768px) {
    .packages-container {
        width: 94%;
        margin-top: 60px;
    }

    .package-card--highlight {
        transform: translateY(0);
    }
}

