/* ==========================================================================
   HEY, I'M ROHIT — RESPONSIVE & REVIEWS STYLESHEET (responsive.css)
   Includes Client Reviews Styling, Smart 5-Card Social Grid & Multi-Device Polish
   ========================================================================== */

/* ==========================================================================
   CLIENT REVIEWS SECTION STYLING
   ========================================================================== */
.reviews-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.review-card {
  padding: 16px 18px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.review-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.review-client {
  display: flex;
  align-items: center;
  gap: 11px;
  min-width: 0;
}

.client-avatar {
  width: 38px;
  height: 38px;
  border-radius: 11px;
  background: var(--gradient-primary);
  color: #ffffff;
  font-family: var(--font-heading);
  font-size: 0.82rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 4px 14px rgba(99, 102, 241, 0.35);
}

.client-name {
  font-family: var(--font-heading);
  font-size: 0.94rem;
  font-weight: 700;
  color: #f8fafc;
  line-height: 1.25;
}

.client-site {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 0.75rem;
  font-weight: 500;
  color: #93c5fd;
  transition: color var(--transition-fast);
}

.client-site:hover {
  color: #c4b5fd;
  text-decoration: underline;
}

.client-site svg {
  width: 12px;
  height: 12px;
}

.review-stars {
  font-size: 0.82rem;
  letter-spacing: 1px;
  color: #fbbf24;
  background: rgba(251, 191, 36, 0.1);
  border: 1px solid rgba(251, 191, 36, 0.25);
  padding: 3px 8px;
  border-radius: var(--radius-pill);
  flex-shrink: 0;
}

.review-quote {
  font-size: 0.84rem;
  color: var(--text-secondary);
  line-height: 1.55;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* ==========================================================================
   SMART 5-ITEM SOCIAL GRID (Last item spans full width cleanly on 2-col mobile)
   ========================================================================== */
.social-grid .social-card:last-child:nth-child(odd) {
  grid-column: 1 / -1;
}

/* Touch feedback for Android mobile users */
.social-card:active,
.action-btn:active,
.agency-btn:active,
.save-vcard-btn:active,
.review-card:active {
  transform: scale(0.98);
}

/* ==========================================================================
   1. COMPACT ANDROID SCREENS (375px and below)
   ========================================================================== */
@media (max-width: 375px) {
  body {
    padding: 12px 10px 36px;
  }

  .hero-cover {
    height: 160px;
  }

  .avatar-wrapper {
    width: 102px;
    height: 102px;
    margin-top: -54px;
  }

  .full-name {
    font-size: 1.5rem;
  }

  .profile-header {
    padding: 0 16px 20px;
  }

  .card-section {
    padding: 16px;
  }

  .slider-section .section-header {
    padding: 0 16px;
  }

  .contact-actions {
    grid-template-columns: 1fr 1fr;
  }

  .contact-actions .btn-primary-gradient {
    grid-column: 1 / -1;
  }

  .social-grid {
    grid-template-columns: 1fr;
  }

  .review-top {
    flex-wrap: wrap;
  }

  .stat-value {
    font-size: 1.1rem;
  }
}

/* ==========================================================================
   2. TABLETS & LARGE PHONES (600px and up)
   ========================================================================== */
@media (min-width: 600px) {
  body {
    padding: 40px 24px 64px;
  }

  :root {
    --card-max-width: 640px;
  }

  .hero-cover {
    height: 215px;
  }

  .avatar-wrapper {
    width: 128px;
    height: 128px;
    margin-top: -68px;
  }

  .full-name {
    font-size: 2rem;
  }

  .profile-header {
    padding: 0 32px 28px;
  }

  .card-section {
    padding: 20px 32px;
  }

  .slider-section .section-header {
    padding: 0 32px;
  }

  .social-grid {
    gap: 12px;
  }

  .agency-card {
    padding: 24px;
  }
}

/* ==========================================================================
   3. DESKTOP & LAPTOP SCREENS (1024px and up)
   ========================================================================== */
@media (min-width: 1024px) {
  body {
    padding: 56px 24px 80px;
    align-items: center;
  }

  :root {
    --card-max-width: 680px;
  }

  .glow-orb.orb-blue {
    width: 480px;
    height: 480px;
    top: -120px;
    left: 10%;
  }

  .glow-orb.orb-purple {
    width: 500px;
    height: 500px;
    bottom: -140px;
    right: 10%;
  }

  .hero-cover {
    height: 230px;
  }

  .social-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
