/* RESETS & DEFAULTS */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Poppins", sans-serif;
}

body {
  background: linear-gradient(135deg, #1d0435, #400a6f);
  color: #fff;
}

/* LAYOUT WRAPPER */
.layout {
  display: flex;
  width: 100%;
  height: 100vh; /* Full viewport height */
}

/* LEFT PANEL */
.left-panel {
  width: 300px;
  background-color: #210326;
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
  border-right: 2px solid rgba(255, 255, 255, 0.2);
}
.logo-text {
  margin-top: 20px;
}
.logo-text h1 {
  font-size: 1.2rem;
  letter-spacing: 1px;
  color: #b8b8ff;
  margin-bottom: 10px;
  text-transform: uppercase;
}

/* The background image on the left panel */
.left-image {
  width: 80%;
  height: 500px;
  margin-top: 20px;
  background: url("background.png") no-repeat center center;
  background-size: cover;
  border: 2px solid rgba(255, 255, 255, 0.2);
  border-radius: 8px;
}

/* MAIN CONTENT: AGENTS GRID */
.agents-grid {
  flex: 1;
  display: grid;
  grid-template-columns: repeat(3, 1fr); /* 3 columns */
  grid-template-rows: repeat(2, 1fr);    /* 2 rows */
  gap: 30px;
  padding: 40px;
  position: relative;
  /* subtle background wave or gradient */
  background: url("wave-bg.png") center/cover no-repeat, 
              linear-gradient(135deg, rgba(0,0,0,0.1), rgba(255,255,255,0));
}

/* AGENT CARD */
.agent-card {
  border: 2px solid #ff00ff;
  border-radius: 10px;
  position: relative;
  text-align: center;
  padding: 30px 10px;
  transition: 0.3s;
  background-color: rgba(255, 255, 255, 0.05);
}
.agent-card:hover {
  transform: scale(1.05);
}
.agent-card h2 {
  margin: 20px 0 10px;
  font-size: 1.2rem;
  color: #fff;
}
.agent-card p {
  font-size: 0.9rem;
  color: #d9d9d9;
}

/* PLUS ICON */
.plus-icon {
  position: absolute;
  top: 10px;
  right: 10px;
  color: #ff47ff;
  font-size: 1.5rem;
  font-weight: bold;
}

/* RESPONSIVE - Adjust columns for smaller screens */
@media (max-width: 900px) {
  .agents-grid {
    grid-template-columns: 1fr 1fr; 
    grid-template-rows: repeat(3, 1fr);
  }
}
@media (max-width: 600px) {
  .layout {
    flex-direction: column;
  }
  .left-panel {
    width: 100%;
    flex-direction: row;
    justify-content: center;
    border: none;
    border-bottom: 2px solid rgba(255, 255, 255, 0.2);
    height: auto;
  }
  .left-image {
    width: 180px;
    height: 280px;
  }
  .agents-grid {
    grid-template-columns: 1fr; 
    gap: 20px;
    padding: 20px;
  }
}