/* overriding  */
.row {
    margin-bottom: 0;
    flex-wrap: wrap;
}
.card {
    width: 100%;
}


 /* HEADER */
 .cntnr-header {
    position: relative;
    text-align: center;
    margin: 0;
    overflow: hidden;
    padding: 0;
}

.cntnr-header img {
    width: 100%;
}


.centered {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 4rem;
    font-weight: 700;
    opacity: 85%;
}

.centered h1 {
    color: #000000ad;
    text-align: center;
    font-size: 4rem;
    font-weight: 700;
}

@media (max-width: 1062px) {
    .centered {
        font-size: 1.5rem;
    }
}

/* UNDER HEADER */
.under_header {
    background-color: #f4f4f4;
    padding: 50px;
    font-size: 18px;
}

@media (max-width: 480px) {
    .under_header {
        padding: 20px;
        font-size: 16px;
    }
}



/* ALUMNI */

.alumni-cntnr {
    max-width: 980px;
    margin-bottom: 3rem;
    background-color: white;
    padding-top: 30px;
}
.text-cntnr {
    margin-top: 3rem;
}

.text-cntnr h1 {
    margin-bottom: 3rem;

}


.card-img-top {
    padding: 20% 20% 10%;
}
.p_donat {
    margin-top: 15px;
    padding-left: 5px;
    text-decoration: none; 
    color: black;
}

.carousel-control-next,
.carousel-control-prev {
    filter: invert(100%);
    margin: 0;
}

.text-cntnr p {
    margin-bottom: 10px;
}
@media (max-width: 767px) {
    .alumni-cntnr {
        padding-top: 0;
    }
}

/* BENEFITS CARDS  — modern, light-weight, scoped to this section only */
/* BENEFITS CARDS — clean alignment, equal heights, wider container */

.benef-cntnr {
  background-color: #E7F1FA;
  padding: 3rem 0 3.5rem;
  box-shadow: 0 4px 8px rgba(0,0,0,0.06);
  max-width: 1200px;          /* wider than before */
  margin: 0 auto;             /* center section */
  border-radius: 12px;        /* optional for a softer look */
}

/* Row spacing */
.cards-cntnr { 
  row-gap: 25px;
  justify-content: center;
} 
.cards-cntnr .row { 
  row-gap: 24px; 
  justify-content: center;
}

/* Card shell */
.benef-cntnr .card {
  border: 0;
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 1px 0 rgba(0,0,0,.05), 0 10px 24px rgba(0,0,0,.06);
  height: 100%;
  display: flex;
  flex: 1 1 260px;            /* widen cards */
}

/* Card body: flex column, equal height */
.benef-cntnr .ben-card-body {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  text-align: center;          /* center-align text + button */
  padding: 28px 24px;
  height: 460px;               /* taller so buttons line up */
}

/* Title */
.benef-cntnr .card-title {
  font-weight: 600;
  font-size: 20px;
  line-height: 1.3;
  margin-bottom: 14px;
  color: #0b0b0c;
}

/* Body text */
.benef-cntnr .card-text {
  flex-grow: 1;                /* fills space between title & button */
  font-size: 16px;
  line-height: 1.55;
  color: #1f2328;
  margin-bottom: 20px;
}

/* Emphasis option */
.benef-cntnr .card-text em {
  font-style: italic;
  color: #0b0b0c;
}

/* Buttons — centered + consistent width */
.btn-benefit {
  background: #2751FF;
  color: #fff !important;
  font-weight: 600;
  font-size: 14px;          /* a touch smaller so long labels fit */
  letter-spacing: .2px;
  line-height: 1;           /* tighter so pills feel consistent */
  padding: 12px 22px;
  border-radius: 14px;
  border: 0;
  text-decoration: none;
  box-shadow: 0 2px 0 rgba(0,0,0,.07);
  transition: background .15s ease, box-shadow .15s ease;
  margin-top: auto;
  align-self: center;
  white-space: nowrap;      /* keep text on one line */
  min-width: 200px;         /* same width for all buttons */
  text-align: center;
}

.btn-benefit:hover,
.btn-benefit:focus {
  background: #2043D6;
  box-shadow: 0 8px 22px rgba(39,81,255,.28);
  color: #fff !important;
  text-decoration: none;
}
.btn-benefit--wide { min-width: 220px; }


/* Responsive */
@media (max-width: 991px) {
  .benef-cntnr { max-width: 100%; border-radius: 0; }
  .benef-cntnr .ben-card-body { height: auto; }
}
