table {
    border-spacing: 50PX;
    padding-top: 80px;
  }
  
  table, th, td {
    border:2px inset rgb(177, 177, 177);
  } 
  
  .comment {
    display: flex;
    flex-direction: column;
    flex: 1;
  }
  
  .a {
    justify-content: space-between;
    display: flex;
    align-items: center;
  }
  
  .aa {
    display: flex;
    align-items: center;
  }
  
  img.profile{
    height: 100px;
    width: 100px;
    border-radius: 50%;
    margin-right: 20px;
  }
  
  .STAR {
    padding-right: 20px;
    display: flex;
  }
  
  .STAR img{
    height: 30px;
    margin: 0 3px;
  }
  
  .NAME {
    font-size: 30px;
    font-weight: bold;
  }
  
  .ID {
    font-size: 20px;
  }
  
  .b {
    font-size: 20px;
    margin-top: 10px;
  }
  
  .comment {
    margin: 20px;
  }
  
  /* Review Page Responsive Styles */
  
  /* Base styles for review page */
  .review-container {
      max-width: 1200px;
      margin: 120px auto 50px auto;
      padding: 0 20px;
  }
  
  .review-header {
      text-align: center;
      margin-bottom: 40px;
  }
  
  .review-header h1 {
      font-size: 2.5rem;
      color: #8B4513;
      margin-bottom: 10px;
  }
  
  .review-header p {
      font-size: 1.2rem;
      color: #666;
  }
  
  .reviews-grid {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
      gap: 30px;
      margin-bottom: 50px;
  }
  
  .review-card {
      background: #fff;
      border-radius: 15px;
      padding: 25px;
      box-shadow: 0 5px 15px rgba(0,0,0,0.1);
      transition: transform 0.3s ease, box-shadow 0.3s ease;
  }
  
  .review-card:hover {
      transform: translateY(-5px);
      box-shadow: 0 8px 25px rgba(0,0,0,0.15);
  }
  
  .review-header-info {
      display: flex;
      align-items: center;
      margin-bottom: 15px;
  }
  
  .reviewer-avatar {
      width: 50px;
      height: 50px;
      border-radius: 50%;
      margin-right: 15px;
      object-fit: cover;
  }
  
  .reviewer-details h3 {
      margin: 0;
      font-size: 1.1rem;
      color: #333;
  }
  
  .reviewer-details .date {
      font-size: 0.9rem;
      color: #888;
  }
  
  .rating {
      margin-bottom: 15px;
  }
  
  .stars {
      color: #ffd700;
      font-size: 1.2rem;
  }
  
  .review-text {
      line-height: 1.6;
      color: #555;
  }
  
  .review-form {
      background: #f8f9fa;
      padding: 30px;
      border-radius: 15px;
      margin-top: 40px;
  }
  
  .review-form h2 {
      text-align: center;
      margin-bottom: 25px;
      color: #8B4513;
  }
  
  .form-group {
      margin-bottom: 20px;
  }
  
  .form-group label {
      display: block;
      margin-bottom: 5px;
      font-weight: bold;
      color: #333;
  }
  
  .form-group input,
  .form-group textarea,
  .form-group select {
      width: 100%;
      padding: 12px;
      border: 2px solid #ddd;
      border-radius: 8px;
      font-size: 16px;
      transition: border-color 0.3s ease;
  }
  
  .form-group input:focus,
  .form-group textarea:focus,
  .form-group select:focus {
      outline: none;
      border-color: #8B4513;
  }
  
  .form-group textarea {
      resize: vertical;
      min-height: 120px;
  }
  
  .submit-btn {
      background: #8B4513;
      color: white;
      padding: 12px 30px;
      border: none;
      border-radius: 8px;
      font-size: 16px;
      cursor: pointer;
      transition: background 0.3s ease;
      width: 100%;
  }
  
  .submit-btn:hover {
      background: #A0522D;
  }
  
  /* Tablet Responsive */
  @media (max-width: 992px) {
      .review-container {
          margin: 100px auto 40px auto;
          padding: 0 20px;
      }
      
      .reviews-grid {
          grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
          gap: 25px;
      }
      
      .review-header h1 {
          font-size: 2.2rem;
      }
      
      .review-card {
          padding: 20px;
      }
      
      .review-form {
          padding: 25px;
      }
  }
  
  /* Mobile Responsive */
  @media (max-width: 768px) {
      .review-container {
          margin: 120px 15px 30px 15px;
          padding: 0;
      }
      
      .review-header h1 {
          font-size: 2rem;
          margin-bottom: 8px;
      }
      
      .review-header p {
          font-size: 1rem;
      }
      
      .reviews-grid {
          grid-template-columns: 1fr;
          gap: 20px;
          margin-bottom: 30px;
      }
      
      .review-card {
          padding: 18px;
          margin-bottom: 15px;
      }
      
      .review-header-info {
          flex-direction: column;
          align-items: flex-start;
          text-align: left;
      }
      
      .reviewer-avatar {
          width: 45px;
          height: 45px;
          margin-right: 10px;
          margin-bottom: 8px;
      }
      
      .reviewer-details h3 {
          font-size: 1rem;
      }
      
      .reviewer-details .date {
          font-size: 0.85rem;
      }
      
      .stars {
          font-size: 1.1rem;
      }
      
      .review-text {
          font-size: 0.95rem;
      }
      
      .review-form {
          padding: 20px 15px;
          margin-top: 30px;
      }
      
      .review-form h2 {
          font-size: 1.5rem;
          margin-bottom: 20px;
      }
      
      .form-group {
          margin-bottom: 18px;
      }
      
      .form-group input,
      .form-group textarea,
      .form-group select {
          padding: 10px;
          font-size: 16px; /* Prevent zoom on iOS */
      }
      
      .form-group textarea {
          min-height: 100px;
      }
      
      .submit-btn {
          padding: 12px 25px;
          font-size: 16px;
      }
  }
  
  /* Extra Small Mobile */
  @media (max-width: 480px) {
      .review-container {
          margin: 100px 10px 20px 10px;
      }
      
      .review-header h1 {
          font-size: 1.8rem;
      }
      
      .review-header p {
          font-size: 0.9rem;
      }
      
      .review-card {
          padding: 15px;
      }
      
      .reviewer-avatar {
          width: 40px;
          height: 40px;
      }
      
      .reviewer-details h3 {
          font-size: 0.95rem;
      }
      
      .review-text {
          font-size: 0.9rem;
      }
      
      .review-form {
          padding: 15px 10px;
      }
      
      .review-form h2 {
          font-size: 1.3rem;
      }
      
      .form-group input,
      .form-group textarea,
      .form-group select {
          padding: 8px;
          font-size: 14px;
      }
      
      .submit-btn {
          padding: 10px 20px;
          font-size: 14px;
      }
  }
  
  /* Landscape orientation adjustments */
  @media (max-width: 768px) and (orientation: landscape) {
      .review-container {
          margin: 80px 15px 20px 15px;
      }
      
      .review-header h1 {
          font-size: 1.8rem;
      }
      
      .reviews-grid {
          grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
      }
  }
  
  /* Complete responsive redesign for review page */
@media (max-width: 1200px) {
    table {
        border-spacing: 30px;
    }
    
    .comment {
        margin: 15px;
    }
    
    img.profile {
        height: 80px;
        width: 80px;
    }
    
    .NAME {
        font-size: 26px;
    }
    
    .ID {
        font-size: 18px;
    }
}

@media (max-width: 992px) {
    table {
        border-spacing: 20px;
        padding-top: 100px;
    }
    
    .comment {
        margin: 10px;
        padding: 20px;
        background: #f9f9f9;
        border-radius: 10px;
        box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    }
    
    img.profile {
        height: 70px;
        width: 70px;
    }
    
    .NAME {
        font-size: 24px;
    }
    
    .ID {
        font-size: 16px;
    }
    
    .STAR img {
        height: 25px;
        margin: 0 2px;
    }
    
    .b {
        font-size: 16px;
        line-height: 1.5;
    }
}

@media (max-width: 768px) {
    /* Convert table to mobile-friendly layout */
    table, tbody, tr, td {
        display: block !important;
        width: 100% !important;
        border: none !important;
    }
    
    table {
        border-spacing: 0;
        padding-top: 120px;
        margin: 0 15px;
    }
    
    tr {
        margin-bottom: 30px;
    }
    
    td {
        width: 100% !important;
        margin-bottom: 20px;
    }
    
    .comment {
        margin: 0 0 20px 0;
        padding: 20px;
        background: white;
        border-radius: 15px;
        box-shadow: 0 4px 10px rgba(0,0,0,0.1);
        border: 1px solid #eee;
    }
    
    .a {
        flex-direction: column;
        align-items: flex-start;
        margin-bottom: 15px;
    }
    
    .aa {
        margin-bottom: 15px;
        width: 100%;
    }
    
    img.profile {
        height: 60px;
        width: 60px;
        margin-right: 15px;
    }
    
    .NAME {
        font-size: 20px;
        margin-bottom: 5px;
    }
    
    .ID {
        font-size: 14px;
        color: #666;
    }
    
    .STAR {
        padding-right: 0;
        justify-content: flex-start;
        width: 100%;
    }
    
    .STAR img {
        height: 20px;
        margin: 0 2px;
    }
    
    .b {
        font-size: 15px;
        line-height: 1.6;
        color: #333;
        margin-top: 15px;
    }
}

@media (max-width: 480px) {
    table {
        margin: 0 10px;
        padding-top: 100px;
    }
    
    .comment {
        padding: 15px;
        margin-bottom: 15px;
    }
    
    .aa {
        flex-direction: column;
        align-items: center;
        text-align: center;
        margin-bottom: 10px;
    }
    
    img.profile {
        height: 50px;
        width: 50px;
        margin-right: 0;
        margin-bottom: 10px;
    }
    
    .NAME {
        font-size: 18px;
        margin-bottom: 3px;
    }
    
    .ID {
        font-size: 12px;
        margin-bottom: 10px;
    }
    
    .STAR {
        justify-content: center;
        margin-bottom: 15px;
    }
    
    .STAR img {
        height: 18px;
        margin: 0 1px;
    }
    
    .b {
        font-size: 14px;
        line-height: 1.5;
        text-align: left;
    }
}

