* {
  padding: 0;
  margin: 0;
  box-sizing: border-box;
}

html,
body {
  height: 100%;
  width: 100%;
}
body {
  font-family: "Inter", serif, sans-serif;
  color: white;
}
.container {
  max-width: 100%;
  min-height: 100%;
  padding: 20px;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  background: linear-gradient(180deg, #1b1b3a 0%, #0a0a1f 100%);
}
.container header {
  width: 100%;
  height: 30vh;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  align-items: center;
  text-align: center;
  padding: 40px;
}
header h1 {
  font-size: 58px;
  font-weight: 400;
}
.testimonialsContainer {
  /* background-color: royalblue; */
  /* padding: 40px; */
  width: 70%;
  min-height: 80%;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.testimonialPanel.active {
  flex: 5;
}
.testimonialPanel {
  /* max-height: 500px; */
  /* flex-shrink: 1; */

  flex: 0.1;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: flex-start;

  /* Base card styling */
  background: linear-gradient(
    145.9deg,
    rgba(28, 28, 63, 0.3) 0%,
    rgba(19, 19, 44, 0.4) 100%
  );
  backdrop-filter: blur(21px);
  -webkit-backdrop-filter: blur(21px);
  border-radius: 24px;
  padding: 32px;
  /* position: relative;
isolation: isolate; */
  transition: all 0.3s ease;

  /* Layered box-shadows for depth */
  box-shadow:
  /* Outer glow */ 0 4px 24px -1px rgba(0, 0, 0, 0.2),
    /* Inner subtle highlight */ inset 0 1px 1px rgba(255, 255, 255, 0.08),
    /* Bottom inner shadow */ inset 0 -1px 1px rgba(0, 0, 0, 0.15);

  /* Subtle border */
  border: 2px solid rgba(255, 255, 255, 0.05);
}
.testimonialPanel * {
  pointer-events: none;
}
.testimonialPanel::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 24px;
  padding: 1px;
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.1),
    rgba(255, 255, 255, 0.03) 50%,
    transparent
  );
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
}
/* Interactive state for cards */
.testimonialPanel:hover,.testimonialPanel:active {
  /* Slightly lighter background on hover */
  background: linear-gradient(
    145.9deg,
    rgba(33, 33, 73, 0.4) 0%,
    rgba(24, 24, 54, 0.5) 100%
  );

  /* Enhanced box-shadow on hover */
  box-shadow:
    /* Outer glow becomes more pronounced */ 0 8px 32px -1px rgba(0, 0, 0, 0.3),
    /* Colored glow for depth */ 0 0 20px rgba(130, 130, 255, 0.05),
    /* Inner highlight becomes more visible */ inset 0 1px 1px
      rgba(255, 255, 255, 0.12),
    /* Bottom inner shadow deepens */ inset 0 -1px 1px rgba(0, 0, 0, 0.2);

  /* Subtle lift effect */
  transform: translateY(-2px);
  cursor: pointer;
}
/* Additional hover effect for the glossy overlay */
.testimonialPanel:hover::before {
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.15),
    rgba(255, 255, 255, 0.05) 50%,
    transparent
  );
}

.person-image {
  width: 88px;
  height: 88px;
  border-radius: 50%;
  margin-bottom: 30px;
  border: 2px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 0 20px rgba(114, 114, 255, 0.1);
}
img {
  width: 100%;
  height: 100%;
  border-radius: inherit;
  object-fit: cover;
  object-position: top;
}
.person-name {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 10px;
}
.person-profile {
  font-size: 12px;
  font-weight: 500;
  margin-bottom: 30px;
}
.person-testimonial {
  font-size: 14px;
}
@media (max-width:900px) {
  .testimonialsContainer{
    width: 90%;
  }
}
@media (max-width:600px) {
  .testimonialsContainer{
    width: 100%;
  }
}