/* Card Base */
.triangle-card {
    background-color: #ffffff;
    border-radius: 16px;
    padding: 30px 25px 40px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.06);
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease-in-out;
    height: 100%;
    border-top: 4px solid var(--secondary);
}

/* Ribbon-style Corner Accent */
.triangle-card::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 100px;
    height: 100px;
    background: var(--secondary);
    clip-path: polygon(100% 0, 0 0, 100% 100%);
    opacity: 0.05;
    z-index: 0;
}

/* Hover animation */
.triangle-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 14px 35px rgba(0, 0, 0, 0.08);
}

/* Card Content */
.card-content {
    position: relative;
    z-index: 1;
}

.card-content h4 {
    font-size: 1.4rem;
    font-weight: 700;
    color: #1e2c4b;
    margin-bottom: 15px;
}

.card-content p.content-card {
    font-size: 1rem;
    line-height: 1.6;
    color: #4a586e;
    margin: 0;
}

/* Responsive Padding for Rows */
.equal-height-cards-row > div {
    margin-bottom: 30px;
}

/* Responsive Text */
@media (max-width: 767px) {
    .card-content h4 {
        font-size: 1.2rem;
    }

    .section-subtitle {
        font-size: 1.5rem;
    }
}







/* Card Styles */
.edu-card {
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 18px 28px rgba(74, 108, 247, 0.15);
  padding: 35px 30px 40px;
  height: 100%;
  display: flex;
  flex-direction: column;
  transition: all 0.35s ease;
  cursor: default;
  position: relative;
}

.edu-card:hover {
  box-shadow: 0 25px 40px rgba(74, 108, 247, 0.25);
  transform: translateY(-8px);
}

/* Icon Wrapper */
.icon-wrapper {
  background: rgba(74, 108, 247, 0.1);
  border-radius: 30%;
  border: 2px solid black;
  width: 60px;
  height: 60px;
  margin-bottom: 20px;
  display: flex;
  justify-content: center;
  align-items: center;
}

/* Headings */
.edu-card h4 {
  font-weight: 700;
  margin-bottom: 15px;
  text-align: start;
}

/* Paragraph */
.edu-card p {
    text-align: start;
  color: var(--gray);
  line-height: 1.55;
  flex-grow: 1;
}

/* Responsive Spacing */
@media (max-width: 767px) {
  .education-tech-section {
    padding: 40px 15px;
  }
  
  .header-text .title {
    font-size: 1.8rem;
  }

  .header-text .subtitle {
    font-size: 1rem;
  }
}
