/* service.css */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

body {
  background-color: #f8fbfa;
  color: #1e2b28;
}

/* ----- HEADER (professional) ----- */
.header {
  background: #ffffff;
  padding: 0.9rem 5%;
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 4px 20px rgba(0, 70, 60, 0.06);
}
.container {
  max-width: 1300px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.logo-link {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}
.logo-img {
  height: 42px;
  border-radius: 8px;
  object-fit: cover;
}
.company-name {
  font-size: 1.7rem;
  font-weight: 700;
  color: #00695c;
}
.nav-menu {
  display: flex;
  gap: 30px;
}
.nav-menu a {
  text-decoration: none;
  font-weight: 600;
  color: #004d40;
  font-size: 1rem;
  transition: 0.3s;
  position: relative;
}
.nav-menu a:hover { color: #00897b; }
.nav-menu a::after {
  content: "";
  position: absolute;
  width: 0%;
  height: 2px;
  bottom: -6px;
  left: 0;
  background: #00897b;
  transition: 0.3s;
}
.nav-menu a:hover::after { width: 100%; }
.nav-right {
  display: flex;
  align-items: center;
  gap: 20px;
}
.call-btn {
  background: linear-gradient(135deg, #009688, #00695c);
  color: white;
  border: none;
  padding: 0.6rem 1.5rem;
  border-radius: 40px;
  font-weight: 600;
  cursor: pointer;
  transition: 0.3s;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.call-btn:hover { transform: scale(1.05); }
.menu-toggle {
  display: none;
  font-size: 1.8rem;
  cursor: pointer;
}
@media (max-width: 992px) {
  .nav-menu {
    position: absolute;
    top: 70px;
    right: 5%;
    background: white;
    flex-direction: column;
    width: 220px;
    padding: 1.5rem;
    border-radius: 12px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.08);
    display: none;
  }
  .nav-menu.active { display: flex; }
  .menu-toggle { display: block; }
}

/* ----- MAIN LAYOUT (professional spacing) ----- */
.service-detail-container {
  max-width: 1250px;
  margin: 2rem auto;
  padding: 0 5%;
}
.service-header {
  display: flex;
  align-items: center;
  gap: 1.8rem;
  margin-bottom: 2rem;
}
.back-btn {
  background: white;
  border: 1px solid #cae3df;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  font-size: 1.4rem;
  color: #00897b;
  cursor: pointer;
  box-shadow: 0 4px 10px rgba(0,0,0,0.02);
  transition: 0.2s;
}
.back-btn:hover { background: #00897b; color: white; border-color: #00897b; }
.service-title { font-size: 2.5rem; color: #00695c; font-weight: 700; letter-spacing: -0.02em; }
.service-banner {
  width: 100%;
  height: 380px;
  object-fit: cover;
  border-radius: 36px;
  box-shadow: 0 20px 30px -8px rgba(0,110,90,0.18);
  margin-bottom: 2.2rem;
  background-color: #e0f0ed;
}
.badge-container {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  margin: 1.8rem 0 2rem;
}
.badge {
  background: white;
  padding: 0.65rem 2rem;
  border-radius: 60px;
  font-weight: 600;
  font-size: 0.95rem;
  box-shadow: 0 4px 14px rgba(0,90,80,0.05);
  border-left: 4px solid #00897b;
  color: #1e3a34;
}
.price-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
  margin: 2rem 0 2.5rem;
}
.price-item {
  background: white;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 8px 22px rgba(0,80,70,0.05);
  border: 1px solid rgba(0,137,123,0.15);
  transition: all 0.2s;
  display: flex;
  flex-direction: column;
}
.price-item:hover { border-color: #00897b; box-shadow: 0 12px 26px rgba(0,137,123,0.12); }
.task-image {
  width: 100%;
  height: 160px;
  object-fit: cover;
  display: block;
  background-color: #e0f0ed;
}
.price-info { padding: 1.2rem 1.2rem 1rem; }
.price-info h4 { font-size: 1.25rem; font-weight: 700; color: #00695c; margin-bottom: 0.3rem; }
.price-info .price-tag { font-weight: 700; font-size: 1.3rem; color: #1e2b28; margin: 0.5rem 0 0.8rem; }
.price-info .price-tag small { font-weight: 400; font-size: 0.85rem; color: #628b83; }
.quantity-selector {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin: 0.8rem 0 1rem;
}
.qty-btn {
  background: #f0f7f5;
  border: none;
  width: 34px;
  height: 34px;
  border-radius: 40px;
  font-size: 1.2rem;
  font-weight: 600;
  color: #00695c;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: 0.15s;
}
.qty-btn:hover { background: #00897b; color: white; }
.qty-number { font-weight: 600; min-width: 28px; text-align: center; font-size: 1.1rem; }
.task-book-btn {
  background: #00897b;
  color: white;
  border: none;
  border-radius: 40px;
  padding: 0.6rem 1rem;
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  transition: 0.2s;
  width: 100%;
  margin-top: 0.2rem;
  box-shadow: 0 4px 10px rgba(0,137,123,0.2);
}
.task-book-btn:hover { background: #00695c; transform: translateY(-2px); }
.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 2rem;
  margin: 3rem 0;
}
.feature-card {
  background: white;
  border-radius: 28px;
  padding: 2rem 1.8rem;
  box-shadow: 0 12px 28px rgba(0,70,60,0.04);
}
.feature-card i { font-size: 2.3rem; color: #00897b; margin-bottom: 1.3rem; }
.feature-card h3 { font-size: 1.6rem; font-weight: 650; color: #00695c; margin-bottom: 1.2rem; }
.feature-card ul { list-style: none; }
.feature-card li { margin-bottom: 0.8rem; display: flex; align-items: center; gap: 0.8rem; }
.feature-card li i { font-size: 1.2rem; color: #1f9d8e; margin-bottom: 0; }
.review-stars { color: #f5b342; letter-spacing: 2px; margin: 4px 0 6px; }
.btn-group {
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
  margin: 2.8rem 0 2.5rem;
}
.btn-big {
  padding: 1rem 2.5rem;
  border-radius: 60px;
  font-weight: 600;
  font-size: 1.1rem;
  border: none;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
  text-decoration: none;
  transition: 0.2s;
  box-shadow: 0 6px 18px rgba(0,100,80,0.15);
}
.btn-primary { background: #00897b; color: white; }
.btn-primary:hover { background: #00695c; transform: translateY(-2px); }
.btn-wa { background: #25D366; color: white; box-shadow: 0 6px 14px rgba(37,211,102,0.25); }
.btn-wa:hover { background: #20b859; }
.btn-call { background: #132b26; color: white; }
.btn-call:hover { background: #1f4a41; }
.faq-section { background: white; border-radius: 32px; padding: 2rem; margin: 2.8rem 0; box-shadow: 0 10px 30px rgba(0,70,60,0.04); }
.faq-title { font-size: 1.9rem; color: #00695c; margin-bottom: 2rem; font-weight: 650; }
.faq-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.8rem; }
.faq-item { border-bottom: 1px solid #d0e5e0; padding-bottom: 1.2rem; }
.faq-question { font-weight: 700; color: #00695c; margin-bottom: 0.4rem; font-size: 1.15rem; }
.faq-answer { color: #44665e; }
.related-services { display: flex; flex-wrap: wrap; gap: 1rem; margin: 2rem 0 3rem; }
.related-chip {
  background: white;
  padding: 0.8rem 2rem;
  border-radius: 60px;
  font-weight: 550;
  box-shadow: 0 5px 14px rgba(0,80,70,0.05);
  border: 1px solid #cae3df;
  text-decoration: none;
  color: #00695c;
  transition: 0.2s;
}
.related-chip:hover { background: #00897b; color: white; border-color: #00897b; }

/* ----- PROFESSIONAL MODAL (enhanced) ----- */
.modal-overlay {
  position: fixed; inset: 0; background: rgba(20,40,35,0.6); backdrop-filter: blur(6px);
  display: flex; align-items: center; justify-content: center; z-index: 10000;
  visibility: hidden; opacity: 0; transition: 0.25s;
}
.modal-overlay.show { visibility: visible; opacity: 1; }
.modal-card {
  background: white; max-width: 500px; width: 90%; padding: 2.5rem; border-radius: 40px;
  box-shadow: 0 40px 60px rgba(0,40,30,0.3);
}
.modal-card h3 { font-size: 2rem; color: #00695c; margin-bottom: 1.5rem; }
.form-group { margin-bottom: 1.2rem; }
.form-group label {
  display: block; margin-bottom: 0.3rem; font-weight: 600; color: #1e4a41; font-size: 0.95rem;
}
.form-group .required { color: #c44536; margin-left: 2px; }
.modal-card input, .modal-card textarea {
  width: 100%; padding: 1rem 1.5rem; border: 1px solid #cae3df; border-radius: 60px;
  font-size: 1rem; background: #f9fffd; transition: 0.2s;
}
.modal-card input:focus, .modal-card textarea:focus {
  outline: none; border-color: #00897b; box-shadow: 0 0 0 3px rgba(0,137,123,0.2);
}
.modal-card textarea { border-radius: 28px; resize: vertical; }
.modal-actions { display: flex; gap: 1rem; margin-top: 2rem; }
.modal-actions button { flex: 1; justify-content: center; }

/* ----- FOOTER (matching) ----- */
.footer { background: #0b2b25; color: #e0ede9; padding: 3rem 5% 1rem; margin-top: 4rem; }
.footer-container { max-width: 1300px; margin: 0 auto; display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 2.5rem; }
.footer-col h3 { color: white; margin-bottom: 1.5rem; font-weight: 600; }
.footer-col ul { list-style: none; }
.footer-col li, .footer-col a { color: #bfdfd8; text-decoration: none; margin-bottom: 0.7rem; display: block; }
.footer-logo { display: flex; align-items: center; gap: 10px; margin-bottom: 1rem; }
.footer-logo img { width: 44px; border-radius: 12px; object-fit: cover; }
.social-icons a { display: inline-block; margin-right: 1rem; font-size: 1.4rem; color: #bfdfd8; }
.footer-bottom { text-align: center; padding: 2rem 0 0; color: #87b9af; }

@media (max-width: 700px) {
  .service-title { font-size: 2rem; }
  .faq-grid { grid-template-columns: 1fr; }
  .btn-group { flex-direction: column; }
  .btn-big { width: 100%; justify-content: center; }
}

/* Add these enhanced styles to your existing service.css */

/* Enhanced Modal Styles */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(20, 40, 35, 0.8);
  backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10000;
  visibility: hidden;
  opacity: 0;
  transition: 0.3s ease-in-out;
}

.modal-overlay.show {
  visibility: visible;
  opacity: 1;
}

.modal-card {
  background: white;
  max-width: 700px;
  width: 95%;
  max-height: 90vh;
  overflow-y: auto;
  padding: 2rem;
  border-radius: 32px;
  box-shadow: 0 40px 70px rgba(0, 40, 30, 0.4);
  position: relative;
  animation: modalSlideUp 0.4s ease-out;
}

@keyframes modalSlideUp {
  from {
    opacity: 0;
    transform: translateY(50px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.modal-close {
  position: absolute;
  top: 1.2rem;
  right: 1.5rem;
  background: #f0f7f5;
  border: none;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  font-size: 1.2rem;
  color: #00695c;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: 0.2s;
  z-index: 10;
}

.modal-close:hover {
  background: #00897b;
  color: white;
  transform: rotate(90deg);
}

.modal-card h3 {
  font-size: 2rem;
  color: #00695c;
  margin-bottom: 1.5rem;
  padding-right: 2rem;
}

/* Form Layout */
.form-row {
  display: flex;
  gap: 1rem;
  margin-bottom: 1rem;
}

.form-group {
  margin-bottom: 1.2rem;
  flex: 1;
}

.form-group.half {
  flex: 1;
}

.form-group label {
  display: block;
  margin-bottom: 0.4rem;
  font-weight: 600;
  color: #1e4a41;
  font-size: 0.9rem;
}

.form-group .required {
  color: #dc3545;
  margin-left: 2px;
}

/* Form Inputs */
.modal-card input,
.modal-card textarea,
.modal-card select {
  width: 100%;
  padding: 0.9rem 1.2rem;
  border: 2px solid #e0efe9;
  border-radius: 16px;
  font-size: 0.95rem;
  background: #ffffff;
  transition: all 0.2s;
  font-family: inherit;
}

.modal-card select {
  appearance: none;
  background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2300695c' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  background-size: 1.2rem;
  cursor: pointer;
}

.modal-card input:focus,
.modal-card textarea:focus,
.modal-card select:focus {
  outline: none;
  border-color: #00897b;
  box-shadow: 0 0 0 4px rgba(0, 137, 123, 0.15);
  background: #ffffff;
}

.modal-card input:hover,
.modal-card select:hover,
.modal-card textarea:hover {
  border-color: #00897b;
}

.modal-card textarea {
  border-radius: 20px;
  resize: vertical;
  min-height: 80px;
}

/* Booking Summary Styles */
.booking-summary {
  background: linear-gradient(135deg, #f4fcf9, #e8f6f2);
  border-radius: 24px;
  padding: 1.5rem;
  margin-bottom: 2rem;
  border: 1px solid #c0e3db;
}

.summary-header {
  font-weight: 700;
  color: #00695c;
  margin-bottom: 1rem;
  font-size: 1.1rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.summary-header i {
  font-size: 1.2rem;
}

.summary-items {
  margin-bottom: 1rem;
  max-height: 200px;
  overflow-y: auto;
  padding-right: 0.5rem;
}

.summary-item {
  display: flex;
  align-items: center;
  padding: 0.8rem;
  background: white;
  border-radius: 16px;
  margin-bottom: 0.5rem;
  font-size: 0.9rem;
  border-left: 3px solid #00897b;
  box-shadow: 0 2px 6px rgba(0,0,0,0.02);
}

.item-name {
  flex: 2;
  font-weight: 500;
  color: #1e4a41;
}

.item-qty {
  flex: 0.5;
  text-align: center;
  color: #00897b;
  font-weight: 600;
}

.item-price {
  flex: 0.8;
  text-align: right;
  color: #44665e;
}

.item-total {
  flex: 0.8;
  text-align: right;
  font-weight: 700;
  color: #00695c;
}

.summary-total {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 1rem;
  border-top: 2px dashed #c0e3db;
  font-weight: 700;
  font-size: 1.2rem;
  color: #00695c;
}

.total-amount {
  font-size: 1.4rem;
  color: #00897b;
}

.summary-note {
  color: #628b83;
  font-style: italic;
  text-align: center;
  padding: 1rem;
  background: white;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}

.summary-note i {
  color: #00897b;
  font-size: 1.2rem;
}

/* Modal Actions */
.modal-actions {
  display: flex;
  gap: 1rem;
  margin: 1.5rem 0 1rem;
}

.modal-actions button {
  flex: 1;
  justify-content: center;
  padding: 1rem 1.5rem;
  font-size: 1rem;
}

/* Form Footer */
.form-footer {
  text-align: center;
  color: #628b83;
  font-size: 0.85rem;
  margin-top: 1.5rem;
  padding-top: 1rem;
  border-top: 1px solid #e0efe9;
}

.form-footer i {
  color: #00897b;
  margin-right: 0.3rem;
}

/* Custom scrollbar for modal */
.modal-card::-webkit-scrollbar {
  width: 8px;
}

.modal-card::-webkit-scrollbar-track {
  background: #f0f7f5;
  border-radius: 10px;
}

.modal-card::-webkit-scrollbar-thumb {
  background: #00897b;
  border-radius: 10px;
}

.modal-card::-webkit-scrollbar-thumb:hover {
  background: #00695c;
}

/* Responsive Design */
@media (max-width: 768px) {
  .modal-card {
    padding: 1.5rem;
    width: 98%;
    max-height: 95vh;
  }

  .modal-card h3 {
    font-size: 1.6rem;
    margin-bottom: 1rem;
  }

  .form-row {
    flex-direction: column;
    gap: 0;
  }

  .form-group.half {
    width: 100%;
  }

  .modal-actions {
    flex-direction: column;
  }

  .modal-actions button {
    width: 100%;
  }

  .summary-item {
    flex-wrap: wrap;
    gap: 0.5rem;
  }

  .item-name {
    flex: 100%;
    margin-bottom: 0.3rem;
  }

  .item-qty, .item-price, .item-total {
    flex: 1;
    text-align: center;
  }

  .summary-total {
    font-size: 1rem;
    flex-wrap: wrap;
    gap: 0.5rem;
  }

  .total-amount {
    font-size: 1.2rem;
  }
}

@media (max-width: 480px) {
  .modal-card {
    padding: 1.2rem;
  }

  .modal-card h3 {
    font-size: 1.4rem;
  }

  .modal-close {
    top: 0.8rem;
    right: 1rem;
    width: 35px;
    height: 35px;
    font-size: 1rem;
  }

  .modal-card input,
  .modal-card textarea,
  .modal-card select {
    padding: 0.8rem 1rem;
    font-size: 0.9rem;
  }

  .summary-header {
    font-size: 1rem;
  }

  .summary-item {
    font-size: 0.85rem;
    padding: 0.6rem;
  }
}

/* Loading state for submit button */
.modal-actions button:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none;
}

/* Success animation for form submission */
@keyframes successPulse {
  0% { transform: scale(1); }
  50% { transform: scale(1.05); }
  100% { transform: scale(1); }
}

.btn-primary:not(:disabled):active {
  animation: successPulse 0.3s ease;
}
/* Add these enhanced styles to your existing service.css */

/* Enhanced Professional Reviews Section */
.feature-card {
  background: white;
  border-radius: 28px;
  padding: 2rem 1.8rem;
  box-shadow: 0 12px 28px rgba(0,70,60,0.04);
  transition: transform 0.2s;
}

.feature-card:hover {
  transform: translateY(-2px);
}

.feature-card i { 
  font-size: 2.3rem; 
  color: #00897b; 
  margin-bottom: 1.3rem; 
}

.feature-card h3 {
  font-size: 1.6rem;
  font-weight: 650;
  color: #00695c;
  margin-bottom: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 2px solid #e0f0ed;
  padding-bottom: 0.8rem;
}

/* Review Header with Add Button */
.add-review-btn {
  background: #00897b;
  color: white;
  border: none;
  padding: 0.5rem 1.2rem;
  border-radius: 40px;
  font-size: 0.85rem;
  font-weight: 500;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  transition: all 0.2s;
  box-shadow: 0 4px 10px rgba(0,137,123,0.2);
}

.add-review-btn i {
  font-size: 0.9rem;
  margin: 0;
  color: white;
}

.add-review-btn:hover {
  background: #00695c;
  transform: scale(1.05);
}

/* Reviews Container */
.reviews-container {
  max-height: 400px;
  overflow-y: auto;
  padding-right: 0.5rem;
  scrollbar-width: thin;
  scrollbar-color: #00897b #e0f0ed;
}

.reviews-container::-webkit-scrollbar {
  width: 5px;
}

.reviews-container::-webkit-scrollbar-track {
  background: #e0f0ed;
  border-radius: 10px;
}

.reviews-container::-webkit-scrollbar-thumb {
  background: #00897b;
  border-radius: 10px;
}

.reviews-container::-webkit-scrollbar-thumb:hover {
  background: #00695c;
}

/* Individual Review Item */
.review-item {
  background: #f8fdfb;
  border-radius: 20px;
  padding: 1.2rem;
  margin-bottom: 1rem;
  border: 1px solid #d0ebe5;
  transition: all 0.2s;
  animation: slideIn 0.3s ease-out;
}

@keyframes slideIn {
  from {
    opacity: 0;
    transform: translateX(-10px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.review-item:hover {
  border-color: #00897b;
  box-shadow: 0 5px 15px rgba(0,137,123,0.1);
  background: white;
}

.review-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.5rem;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.review-header strong {
  font-size: 1.1rem;
  color: #00695c;
  font-weight: 600;
}

.review-date {
  font-size: 0.8rem;
  color: #6a9c91;
  background: #e8f3f0;
  padding: 0.2rem 0.8rem;
  border-radius: 40px;
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
}

.review-date::before {
  content: '\f073';
  font-family: 'Font Awesome 6 Free';
  font-weight: 400;
  font-size: 0.7rem;
  color: #00897b;
}

.review-stars {
  color: #f5b342;
  letter-spacing: 2px;
  margin: 0.3rem 0 0.5rem;
  font-size: 1rem;
}

.review-text {
  color: #2d544a;
  line-height: 1.5;
  font-size: 0.95rem;
  font-style: italic;
  position: relative;
  padding-left: 1.2rem;
  margin-top: 0.3rem;
}

.review-text::before {
  content: '"';
  font-size: 2rem;
  color: #00897b;
  opacity: 0.3;
  position: absolute;
  left: -0.2rem;
  top: -0.5rem;
  font-family: serif;
}

.no-reviews {
  text-align: center;
  padding: 2rem 1rem;
  color: #6a9c91;
  background: #f0f9f6;
  border-radius: 20px;
  border: 2px dashed #c0e3db;
  font-style: italic;
}

/* Professional Review Form */
.review-form-container {
  background: linear-gradient(135deg, #f8fdfb, #ffffff);
  border-radius: 28px;
  padding: 2rem;
  margin: 2rem 0;
  box-shadow: 0 15px 35px rgba(0,70,60,0.08);
  border: 1px solid #d0ebe5;
  animation: fadeIn 0.3s ease-out;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.review-form-container h3 {
  color: #00695c;
  font-size: 1.5rem;
  margin-bottom: 1.5rem;
  display: flex;
  align-items: center;
  gap: 0.8rem;
  padding-bottom: 0.8rem;
  border-bottom: 2px solid #e0f0ed;
}

.review-form-container h3 i {
  font-size: 1.3rem;
  margin: 0;
}

/* Star Rating */
.star-rating {
  display: flex;
  gap: 0.5rem;
  margin: 0.5rem 0;
  padding: 0.5rem 0;
}

.star-rating i {
  font-size: 1.8rem;
  color: #d1e3dd;
  cursor: pointer;
  transition: all 0.2s;
  margin: 0;
}

.star-rating i:hover {
  transform: scale(1.2);
  color: #f5b342;
}

.star-rating i.fa-solid.fa-star {
  color: #f5b342;
  animation: starPop 0.2s ease-out;
}

@keyframes starPop {
  0% { transform: scale(1); }
  50% { transform: scale(1.3); }
  100% { transform: scale(1); }
}

/* Form inputs in review */
.review-form-container .form-group {
  margin-bottom: 1.5rem;
}

.review-form-container .form-group label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 600;
  color: #1e4a41;
  font-size: 0.95rem;
}

.review-form-container .form-group label .required {
  color: #dc3545;
  margin-left: 2px;
}

.review-form-container input,
.review-form-container textarea {
  width: 100%;
  padding: 1rem 1.5rem;
  border: 2px solid #e0efe9;
  border-radius: 20px;
  font-size: 0.95rem;
  background: #ffffff;
  transition: all 0.2s;
}

.review-form-container input:focus,
.review-form-container textarea:focus {
  outline: none;
  border-color: #00897b;
  box-shadow: 0 0 0 4px rgba(0,137,123,0.1);
}

.review-form-container textarea {
  resize: vertical;
  min-height: 100px;
}

.review-form-container .modal-actions {
  margin-top: 1.5rem;
}

/* Success message animation for review submission */
@keyframes reviewAdded {
  0% { background: #d4edda; }
  100% { background: transparent; }
}

.review-item.just-added {
  animation: reviewAdded 2s ease-out;
}

/* Banner Image Sizing - Properly fixed */
.service-banner {
  width: 100%;
  height: 380px;
  object-fit: cover;
  border-radius: 36px;
  box-shadow: 0 20px 30px -8px rgba(0,110,90,0.18);
  margin-bottom: 2.2rem;
  background-color: #e0f0ed;
  display: block;
  image-rendering: -webkit-optimize-contrast;
  image-rendering: crisp-edges;
}

/* Ensure banner images maintain aspect ratio without distortion */
.service-banner[src*="unsplash.com"],
.service-banner[src*="clareservices.com"],
.service-banner[src*="5.imimg.com"] {
  object-fit: cover;
  object-position: center;
}

/* Responsive banner adjustments */
@media (max-width: 992px) {
  .service-banner {
    height: 320px;
    border-radius: 30px;
  }
}

@media (max-width: 768px) {
  .service-banner {
    height: 280px;
    border-radius: 24px;
  }
  
  .feature-card h3 {
    font-size: 1.4rem;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.8rem;
  }
  
  .add-review-btn {
    width: 100%;
    justify-content: center;
  }
}

@media (max-width: 480px) {
  .service-banner {
    height: 220px;
    border-radius: 20px;
  }
  
  .review-header {
    flex-direction: column;
    align-items: flex-start;
  }
  
  .review-date {
    align-self: flex-start;
  }
  
  .star-rating i {
    font-size: 1.5rem;
  }
  
  .review-form-container {
    padding: 1.2rem;
  }
}

/* Ensure all images in price grid are properly sized */
.price-item .task-image {
  width: 100%;
  height: 160px;
  object-fit: cover;
  display: block;
  background-color: #e0f0ed;
  border-bottom: 1px solid #e0f0ed;
}

/* For very large screens */
@media (min-width: 1400px) {
  .service-banner {
    height: 420px;
  }
}

/* Add subtle loading animation for images */
.service-banner.loading,
.task-image.loading {
  animation: shimmer 1.5s infinite linear;
  background: linear-gradient(90deg, #e0f0ed 0%, #f0f9f6 50%, #e0f0ed 100%);
  background-size: 200% 100%;
}

@keyframes shimmer {
  0% { background-position: -200% 0; }
  100% { background-position: 200% 0; }
}

/* Professional badge for verified reviews */
.review-verified {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  background: #e0f7f3;
  color: #00695c;
  font-size: 0.7rem;
  padding: 0.2rem 0.6rem;
  border-radius: 40px;
  margin-left: 0.5rem;
}

.review-verified i {
  font-size: 0.7rem;
  color: #00897b;
  margin: 0;
}

/* Add this to your review items if you want verified badges */