/* Bento Grid Section Layout */
.paragraph--stats_bento_grid{
  max-width: 1326px;
  width: 100%;
}

.bento-grid-container {
  display: grid;
  grid-template-columns: 2fr 1.2fr 1.2fr;
  grid-auto-rows: 1fr;
  gap: 1.5rem;
  min-height: 600px;
}

/* Base Card Styling */
.bento-card {
  position: relative;
  border-radius: 2rem;
  overflow: hidden;
  /* padding: 1rem 2.2rem; */
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  height: 100%;
}

.bento-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 40px rgba(0,0,0,0.1);
}

/* 1. Featured Hero Card Styles */
.bento-card--hero {
  color: #ffffff;
  grid-column: 1 / 2;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.bento-card--hero .bento-card__bg-container {
 position: relative;
}
.bento-card__bg-container .field--name-field-bg-image{
  max-width: 100%;
  height: 571px;
  width: 672px;
}

.bento-card--hero .bento-card__bg img {
  width: 100%;
  height: 100%;
  object-fit: fill;
}
.bento-card__bg-container .field--name-field-bg-image::after{
  content: "";
  background: url(../images/bentoherobk.png) no-repeat;
  position: absolute;
  z-index: 9999;
  width: 300px;
  height: 150px;
  right: -163px;
  bottom: -13px;
  z-index: 0;
}

.bento-card--hero .bento-card__content {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  margin: auto;
  width: 90%;
  padding-top: 1.7rem;
}

.bento-card--hero .bento-card__stat-number {
  font-size: 3rem;
  font-weight: 700;
  line-height: 1.1;
  font-family: 'Outfit', sans-serif;
}

.bento-card--hero .bento-card__headline {
  font-size: 3rem;
  font-weight: 700;
  line-height: 1.1;
  margin-bottom: 1.5rem;
  max-width: 90%;
}

.bento-card--hero .bento-card__description {
  font-size: 1.1rem;
  opacity: 0.9;
  max-width: 80%;
  margin-bottom: 2rem;
}

/* Arrow Icon Utility */
.bento-card__arrow-icon {
  position: absolute;
  bottom: 2rem;
  right: 36px;
  width: 60px;
  height: 60px;
  background: #3399FF;
  border-radius: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  transition: background 0.3s ease;
}

.bento-card:hover .bento-card__arrow-icon {
  background: #007FFF;
}

/* 2. Twin Counter Cards Styles */
.bento-stack {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  height: 100%;
}

.bento-card--small {
  /* padding: 2rem;
  background: #F3F0FF;
  color: #001F3F;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: flex-end; */
}

.inner-container-counter-2 {
  position: relative;
}
.inner-container-counter-2 .bento-card__content{
  position: absolute;
  top: 42%;
  color: #FFF;
  left: 7%;
}
.inner-container-counter-1 .bento-card__content{
  position: absolute;
  top: 5rem;
  left: 0;
  right: 0;
  margin: auto;
  width: 82%;
}

.bento-card--small .bento-card__stat-number {
  font-size: 3rem;
  font-weight: 700;
  line-height: 1;
  margin-bottom: 0.25rem;
}

.bento-card--small .bento-card__label {
  font-size: 1rem;
  opacity: 0.8;
  font-weight: 500;
}

.bento-card--small .bento-card__image{
  height: 264px;
  width: 320px;
}
.bento-card__image .field--name-field-card1-image{
  height: 294px;
}

.bento-card--small .bento-card__image img {
  height: 294px;
  width: 100%;
  object-fit: fill;
}
.bento-card--small .inner-container-counter-1{
  position: relative;
  overflow: hidden;
}

/* 3. Vertical Feature Card Styles */
.bento-card--vertical {
  /* background: linear-gradient(180deg, #FBF8FF 0%, #EDE7FF 100%);
  color: #001F3F;
  display: flex;
  flex-direction: column;
  justify-content: flex-end; */
  position: relative;
}
.bento-card__content-can{
  position: absolute;
  top: 16%;
  left: 11px;
}

.bento-card--vertical .field--name-field-bg-image img{
  height: 580px;
}
.bento-card--vertical .field--name-field-bg-image::before{
content: '';
  background: url(../images/bento-verticle-angle-bg.png) no-repeat;
  position: absolute;
  z-index: 2;
  right: 0;
  height: 100%;
  width: 101px;
  background-position: right;
  top: -43%;
  background-size: contain;
}

.bento-card--vertical .bento-card__header {
  position: absolute;
  top: 2px;
  right: -25px;
  z-index: 2;
}

.bento-card--vertical .bento-card__gallery {
  display: flex;
  gap: -10px; /* Slight overlap */
  margin-bottom: 2rem;
}

.bento-card--vertical .bento-card__gallery > div {
  display: flex;
  gap: 5px;
}

.bento-card--vertical .bento-card__gallery img {
  /* width: 45px;
  height: 60px;
  border-radius: 0.5rem;
  border: 2px solid white;
  object-fit: cover; */
}

.bento-card--vertical .bento-card__stat-number {
  font-size: 2.5rem;
  font-weight: 800;
  margin-bottom: 0.25rem;
}

.bento-card--vertical .bento-card__headline {
  font-size: 2.2rem;
  font-weight: 700;
  line-height: 1.1;
  margin-bottom: 1rem;
}

.bento-card--vertical .bento-card__description {
  font-size: 1rem;
  opacity: 0.8;
  margin-bottom: 2rem;
}

.bento-card--vertical .btn-primary {
  background: linear-gradient(90deg, #3399FF 0%, #1A1AFF 100%);
  border: none;
  font-weight: 600;
  width: 135px;
  font-size: 12px;
}
.bento-card__content .field--name-field-description{
  padding-right: 1.9rem;
}
/* Responsive Grid */
@media (max-width: 1200px) {
  .bento-grid-container {
    grid-template-columns: 1fr 1fr;
  }
  .bento-item--vertical {
    grid-column: 1 / span 2;
  }
}

@media (max-width: 768px) {
  .bento-grid-container {
    display: flex;
    flex-direction: column;
    height: auto;
  }
  .bento-card {
    min-height: 400px;
  }
}

