

/* Page container */
.con-page {
  max-width: 1100px;
  margin: 6vh auto;
  padding: 24px;
}

/* Main layout */
.con-panel {
  display: grid;
  grid-template-columns: 360px 1fr;
  gap: 28px;
  border-radius: 12px;
  background-color: none;
  padding: 22px;
  box-shadow: 0 10px 30px rgba(15, 30, 45, 0.06);
  border: 1px solid rgba(10, 20, 30, 0.04);
  overflow: hidden;
  margin-top: 10vh;
}

/* Left: info card */
.con-info {
  padding: 20px;
  border-radius: 10px;
  background-color: #fbfdff;
  box-shadow: 0 6px 18px rgba(10, 20, 30, 0.03);
  display: flex;
  flex-direction: column;
  border: 1px solid gray;
  gap: 16px;
  min-height: 220px;
  justify-content: center;
}
.con-icon {
  width:56px;
  height:56px;
  display:flex;
  align-items:center;
  justify-content:center;
  font-size:24px;
  border-radius:10px;
  background: rgba(37,99,235,0.10);
  color: #2059d6;
}
.con-info h2 { margin: 0; font-size: 1.05rem; }
.con-info p { margin: 0; color: #556270; font-weight:600; }

.con-meta {
  margin-top: 8px;
  display:flex;
  flex-direction:column;
  gap:8px;
  color:#4f5964;
  font-size:0.95rem;
}
.con-meta span { display:flex; gap:8px; align-items:center; }

/* Right: form area */
.con-form-wrap {
  position: relative;
  padding: 26px;
  border-radius:10px;
  background: linear-gradient(180deg, #ffffff, #fbfdff);
  border: 1px solid rgba(10,20,30,0.03);
  min-height:220px;

  display:flex;
  align-items:center;
  justify-content:center;
}

form.con-form {
  width:100%;
  max-width: 680px;
}

.con-row { margin-bottom:14px; }

label {
  display:block;
  margin-bottom:8px;
  font-weight:700;
  color:#0e1720;
  font-size:0.95rem;
}
.required { color:#c53030; }

.con-inline {
  display:flex;
  gap:12px;
}
.con-inline input { flex:1; }

input[type="text"],
input[type="email"],
textarea {
  width:100%;
  padding:10px 12px;
  border-radius:8px;
  border:1px solid rgba(12,24,36,0.10);
  background: #ffffff;
  font-size:0.95rem;
  color:#0e1720;
  outline:none;
  transition: box-shadow .15s ease, border-color .15s ease, transform .08s ease;
}

textarea { min-height:120px; resize:vertical; padding-top:10px; }

input:focus, textarea:focus {
  border-color: #2b6cb0;
  box-shadow: 0 8px 24px rgba(43,108,176,0.08);
  transform: translateY(-1px);
}

::placeholder { color:#9da7b2; font-weight:500; }

.con-actions {
  display:flex;
  align-items:center;
  gap:14px;
  margin-top:6px;
  flex-wrap:wrap;
}

.con-btn {
  display:inline-flex;
  align-items:center;
  gap:10px;
  padding:10px 18px;
  border-radius:8px;
  border: none;
  background: linear-gradient(90deg,#2563eb,#06b6d4);
  color: #ffffff;
  font-weight:700;
  cursor:pointer;
  box-shadow: 0 8px 22px rgba(6,182,212,0.10);
}
.con-btn:active { transform: translateY(1px); }
.con-btn[disabled] { opacity:0.6; cursor:default; }

.con-spinner {
  width:26px;
  height:26px;
  border-radius:50%;
  border:3px solid rgba(255,255,255,0.25);
  border-top-color:#ffffff;
  animation: spin 0.9s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

.con-message {
  display:none;
  font-weight:700;
  margin-top:10px;
}
.con-message.success { color:#0f8f62; }
.con-message.error { color:#c53030; }

.con-small { color:#6b7280; font-size:0.92rem; }

/* Responsive */
@media (max-width:1000px) {
  .con-panel { grid-template-columns: 1fr; }
  .con-info { order:2; }
  .con-form-wrap { order:1; }
}

@media (max-width:480px) {
  .con-page { margin: 4vh 12px; padding: 12px; }
  .con-inline { flex-direction:column; gap:10px; }
  .con-btn { width:100%; justify-content:center; }
}






/* Testimonials styled like your screenshot (3-per-row desktop) */
.con-testimonial-section {
  padding: 40px 0;
  max-width: 1200px;
  margin: 40px auto;
  text-align: center;
}

.con-testimonial-heading {
  margin-bottom: 26px;
  font-size: 1.6rem;
  color: #0e1720;
  font-weight: 700;
}

/* grid: 3 per row on desktop */
.con-testimonial-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  padding: 0 16px;
}

/* each card */
.con-testimonial-card {
  background: #fff;
  border-radius: 12px;
  padding: 18px;
  border: 1px solid rgba(15, 30, 45, 0.06);
  box-shadow: 0 8px 24px rgba(10,20,30,0.04);
  text-align: left;
  display: flex;
  flex-direction: column;
  gap: 12px;
  transition: transform .18s ease, box-shadow .18s ease;
}

.con-testimonial-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 40px rgba(10,20,30,0.08);
}

/* top row inside card: avatar, name, stars */
.con-testimonial-top {
  display: flex;
  align-items: center;
  gap: 12px;
}

/* circular initials avatar */
.con-avatar {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-weight: 700;
  font-size: 0.95rem;
  flex-shrink: 0;
  box-shadow: 0 6px 18px rgba(2,6,23,0.06) inset;
  border: 2px solid rgba(255,255,255,0.12);
}

/* name + role */
.con-meta {
  display: flex;
  flex-direction: column;
}
.con-name {
  font-weight: 700;
  color: #0e1720;
  font-size: 0.98rem;
}
.con-role {
  color: #6b7280;
  font-size: 0.88rem;
}

/* stars on right */
.con-stars {
  margin-left: auto;
  color: #f6b220; /* golden */
  font-weight: 700;
  letter-spacing: 1px;
  font-size: 0.96rem;
}

/* testimonial text */
.con-text {
  margin: 0;
  color: #42515b;
  font-style: normal;
  line-height: 1.45;
  font-size: 0.95rem;
}

/* responsive breakpoints */
@media (max-width: 980px) {
  .con-testimonial-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 560px) {
  .con-testimonial-grid { grid-template-columns: 1fr; }
  .con-testimonial-section { padding: 20px 12px; }
  .con-avatar { width:44px; height:44px; font-size:0.9rem; }
  .con-stars { font-size:0.9rem; }
}
