/* Full table border */
.desktop-table table {
  border: 2px solid #d0d7e2;
  border-radius: 12px;
  overflow: hidden;
}

/* Inner cell borders */
.desktop-table th,
.desktop-table td {
  border: 1px solid #e2e6ef;
}


/* Modern card styling */
.modern-card {
  border: none;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0,0,0,0.08);
  background: #fff;
}

/* Header gradient */
.card-header-modern {
  background: linear-gradient(135deg, #f05c2b, #f7a229);
  color: white;
  font-weight: 600;
  font-size: 1.1rem;
  padding: 10px;
  text-align: center;
}

/* Table hover animation */
.desktop-table tbody tr {
  transition: all 0.3s ease;
}

.desktop-table tbody tr:hover {
  background: #eef4ff;
  transform: translateY(-3px);
  box-shadow: 0 8px 16px rgba(0,0,0,0.08);
}

/* Accordion animation enhancement */
.accordion-item {
  border: none;
  border-radius: 12px !important;
  margin-bottom: 10px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0,0,0,0.06);
}

.accordion-button {
  font-weight: 600;
  transition: all 0.3s ease;
}

.accordion-button:not(.collapsed) {
  background: #e9f2ff;
}

/* Slide + fade animation */
.accordion-collapse {
  transition: all 0.35s ease;
}

/* Responsive switching */
.mobile-accordion {
  display: none;
}

@media (max-width: 768px) {
  .desktop-table {
    display: none;
  }
  .mobile-accordion {
    display: block;
  }
  .info-card {
      padding: 20px;
      border-radius: 22px;
    }

    .info-title {
      font-size: 20px;
    }
    
    .icon-list li {
      font-size: 15px;
    }
}

.info-card {
    background: #ffffff;
    border: 2px dashed #f26a21;
    border-radius: 30px;
    padding: 20px;
    max-width: 900px;
    width: 100%;
    /*box-shadow: 0 10px 25px rgba(0,0,0,0.08);*/
    transition: all 0.35s ease;
  }

  .info-title {
    text-align: center;
    font-style: italic;
    font-size: 20px;
    margin-bottom: 25px;
  }

  .icon-list {
    list-style: none;
    padding: 0;
    margin: 0;
  }

  .icon-list li {
    display: flex;
    gap: 12px;
    margin-bottom: 18px;
    font-size: 15px;
    line-height: 1.7;
    color: #333;
  }

  .icon-list i {
    color: #f26a21;
    font-size: 22px;
    margin-top: 3px;
    flex-shrink: 0;
  }
  
  
  /* Container */
.bom-container {
    max-width: 1100px;
    margin: 30px auto;
    padding: 20px;
}

/* Grid */
.bom-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
}

/* Card */
.bom-card {
    position: relative;
    border-radius: 10px;
    background: #fff;
    padding: 12px;
    box-shadow: 0 6px 18px rgba(0,0,0,0.25);
    transition: all 0.3s ease;
}

.bom-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.35);
}

/* Image wrapper (fix stretch) */
.bom-img-1 {
    width: 100%;
    aspect-ratio: 1 / 1; /* keeps square ratio */
    background-image: url("https://www.birlaopenminds.com/assets/img/blog/ask-questions.png");
    background-size: cover; /* FIXED stretch */
    background-repeat: no-repeat;
    border-radius: 8px;
}

.bom-img-2 {
    width: 100%;
    aspect-ratio: 1 / 1; /* keeps square ratio */
    background-image: url("https://www.birlaopenminds.com/assets/img/blog/learn-through.png");
    background-size: cover; /* FIXED stretch */
    background-repeat: no-repeat;
    border-radius: 8px;
}

.bom-img-3 {
    width: 100%;
    aspect-ratio: 1 / 1; /* keeps square ratio */
    background-image: url("https://www.birlaopenminds.com/assets/img/blog/use-technology.png");
    background-size: cover; /* FIXED stretch */
    background-repeat: no-repeat;
    border-radius: 8px;
}

.bom-img-4 {
    width: 100%;
    aspect-ratio: 1 / 1; /* keeps square ratio */
    background-image: url("https://www.birlaopenminds.com/assets/img/blog/receive-emotional.png");
    background-size: cover; /* FIXED stretch */
    background-repeat: no-repeat;
    border-radius: 8px;
}

.bom-img-5 {
    width: 100%;
    aspect-ratio: 1 / 1; /* keeps square ratio */
    background-image: url("https://www.birlaopenminds.com/assets/img/blog/global-future.png");
    background-size: cover; /* FIXED stretch */
    background-repeat: no-repeat;
    border-radius: 8px;
}


/* Quadrants */
.top-left     { background-position: left top; }
.top-right    { background-position: right top; }
.bottom-left  { background-position: left bottom; }
.bottom-right { background-position: right bottom; }

/* Label (FIXED alignment) */
.bom-label {
    position: absolute;
    top: -14px;
    left: 50%;
    transform: translateX(-50%);
    background: #fff;
    border: 2px solid #AD2427;
    color: #333;
    font-size: 14px;
    font-weight: 500;
    padding: 8px 14px;
    border-radius: 6px;
    text-align: center;
    width: 80%;
    max-width: 260px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
}

.bom-card:hover .bom-label {
    background: #F05C2B;
    color: #fff;
}

/* Tablet */
@media (max-width: 992px) {
    .bom-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
    }
}

/* Mobile */
@media (max-width: 600px) {
    .bom-grid {
        grid-template-columns: 1fr;
    }

    .bom-label {
        font-size: 13px;
        width: 85%;
    }
}
