* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  line-height: 1.6;
  color: #333;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Navigation */
.navbar {
  background: white;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 1000;
}

/* Updated Navigation Styles */
.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 70px;
}

.nav-menu {
  display: flex;
  list-style: none;
  align-items: center;
  gap: 40px;
  margin: 0;
  padding: 0;
}

.nav-link {
  text-decoration: none;
  color: #333;
  font-weight: 500;
  transition: color 0.3s;
  padding: 8px 0;
  position: relative;
}

.nav-link:hover {
  color: #4ade80;
}

.nav-link.active {
  color: #4ade80;
}

.nav-link.active::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: #4ade80;
}

.nav-auth {
  display: flex;
  align-items: center;
  gap: 15px;
}

.nav-logo {
  display: flex;
  align-items: center;
  font-weight: bold;
  font-size: 1.2rem;
  text-decoration: none;
  color: #333;
  cursor: pointer;
  transition: color 0.3s;
}

.nav-logo:hover {
  color: #4ade80;
}

.logo-icon {
  margin-right: 8px;
  font-size: 1.5rem;
}

.nav-menu {
  display: flex;
  list-style: none;
  align-items: center;
  gap: 30px;
}

.nav-menu a {
  text-decoration: none;
  color: #333;
  font-weight: 500;
  transition: color 0.3s;
}

.nav-menu a:hover {
  color: #4ade80;
}

.btn-login {
  padding: 8px 16px;
  border: 1px solid #e5e7eb;
  border-radius: 6px;
  background: white;
  text-decoration: none;
  color: #333;
  transition: all 0.3s;
}

.btn-login:hover {
  background: #f3f4f6;
  border-color: #4ade80;
}

.btn-signup {
  padding: 8px 16px;
  background: #4ade80;
  color: white;
  border-radius: 6px;
  text-decoration: none;
  transition: background 0.3s;
}

.btn-signup:hover {
  background: #22c55e;
}

/* Profile Dropdown Styles */
.user-profile-dropdown {
  position: relative;
}

.profile-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px 12px;
  border-radius: 8px;
  transition: background 0.3s;
}

.profile-btn:hover {
  background: #f3f4f6;
}

.profile-avatar {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  object-fit: cover;
}

.profile-name {
  font-weight: 500;
  color: #333;
}

.dropdown-arrow {
  font-size: 0.8rem;
  color: #666;
  transition: transform 0.3s;
}

.profile-btn:hover .dropdown-arrow {
  transform: rotate(180deg);
}

.profile-menu {
  position: absolute;
  top: 100%;
  right: 0;
  background: white;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  min-width: 150px;
  z-index: 1000;
  margin-top: 5px;
}

.profile-menu .menu-item {
  display: block;
  padding: 12px 16px;
  text-decoration: none;
  color: #333;
  transition: background 0.3s;
  border-bottom: 1px solid #f3f4f6;
}

.profile-menu .menu-item:last-child {
  border-bottom: none;
}

.profile-menu .menu-item:hover {
  background: #f9fafb;
  color: #4ade80;
}

/* Hero Section */
.hero {
  background: linear-gradient(rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.4)),
    url("https://images.unsplash.com/photo-1466611653911-95081537e5b7?ixlib=rb-4.0.3&auto=format&fit=crop&w=1200&q=80");
  background-size: cover;
  background-position: center;
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: white;
  margin-top: 70px;
}

.hero-content h1 {
  font-size: 3rem;
  margin-bottom: 20px;
  max-width: 800px;
}

.hero-content p {
  font-size: 1.2rem;
  margin-bottom: 30px;
  max-width: 600px;
}

.btn-primary {
  background: #4ade80;
  color: white;
  padding: 12px 24px;
  border: none;
  border-radius: 6px;
  font-size: 1rem;
  font-weight: 600;
  text-decoration: none;
  display: inline-block;
  transition: background 0.3s;
  cursor: pointer;
}

.btn-primary:hover {
  background: #22c55e;
}

.btn-secondary {
  background: transparent;
  color: #4ade80;
  padding: 8px 16px;
  border: 2px solid #4ade80;
  border-radius: 6px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s;
  text-decoration: none;
  display: inline-block;
}

.btn-secondary:hover {
  background: #4ade80;
  color: white;
}

/* Featured Services */
.featured-services {
  padding: 80px 0;
  background: #f9fafb;
}

.featured-services h2 {
  text-align: center;
  margin-bottom: 50px;
  font-size: 2.5rem;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.service-card {
  background: white;
  border-radius: 12px;
  /* min-height: 340px;
  max-width: 350px;
  font-size: 0.95rem; */
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s, box-shadow 0.3s;
  cursor: pointer;
  height: 80%;
  display: flex;
  flex-direction: column;
}

.service-card img {
  width: 100%;
  height: 150px;
  object-fit: cover;
}

.service-card h3 {
  padding: 20px 20px 10px;
  font-size: 1.3rem;
}

.service-card p {
  padding: 0 20px 20px;
  color: #666;
  flex-grow: 1;
}

/* Workshops */
.workshops {
  padding: 80px 0;
}

.workshops h2 {
  text-align: center;
  margin-bottom: 50px;
  font-size: 2.5rem;
}

.workshop-item {
  display: flex;
  align-items: center;
  gap: 40px;
  margin-bottom: 40px;
  padding: 30px;
  background: white;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.workshop-content {
  flex: 1;
}

.workshop-content h3 {
  font-size: 1.5rem;
  margin-bottom: 15px;
}

.workshop-content p {
  color: #666;
  margin-bottom: 20px;
}

.workshop-item img {
  width: 200px;
  height: 150px;
  object-fit: cover;
  border-radius: 8px;
}

/* Newsletter */
.newsletter {
  background: #1f2937;
  color: white;
  padding: 80px 0;
  text-align: center;
}

.newsletter h2 {
  font-size: 2.5rem;
  margin-bottom: 20px;
}

.newsletter p {
  font-size: 1.2rem;
  margin-bottom: 30px;
}

/* Footer */
.footer {
  background: #111827;
  color: white;
  padding: 40px 0;
  text-align: center;
}

.footer-links {
  display: flex;
  justify-content: center;
  gap: 30px;
  margin-bottom: 20px;
}

.footer-links a {
  color: #9ca3af;
  text-decoration: none;
  transition: color 0.3s;
}

.footer-links a:hover {
  color: white;
}

/* Hamburger Menu */
.hamburger {
  display: none;
  flex-direction: column;
  cursor: pointer;
}

.hamburger span {
  width: 25px;
  height: 3px;
  background: #333;
  margin: 3px 0;
  transition: 0.3s;
}

/* Responsive Design */
@media (max-width: 768px) {
  .hamburger {
    display: flex;
  }

  .nav-menu {
    position: fixed;
    left: -100%;
    top: 70px;
    flex-direction: column;
    background-color: white;
    width: 100%;
    text-align: center;
    transition: 0.3s;
    box-shadow: 0 10px 27px rgba(0, 0, 0, 0.05);
    padding: 20px 0;
  }

  .nav-menu.active {
    left: 0;
  }

  .hero-content h1 {
    font-size: 2rem;
  }

  .workshop-item {
    flex-direction: column;
    text-align: center;
  }

  .workshop-item img {
    order: -1;
  }

  .footer-links {
    flex-direction: column;
    gap: 15px;
  }
}

/* Form Styles */
.form-container {
  max-width: 500px;
  margin: 120px auto 40px;
  padding: 40px;
  background: white;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.form-container h1 {
  text-align: center;
  margin-bottom: 10px;
  font-size: 2rem;
}

.form-container .subtitle {
  text-align: center;
  color: #666;
  margin-bottom: 30px;
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  margin-bottom: 5px;
  font-weight: 500;
}

.form-group input {
  width: 100%;
  padding: 12px;
  border: 1px solid #e5e7eb;
  border-radius: 6px;
  font-size: 1rem;
  background: #f9fafb;
}

.form-group input:focus {
  outline: none;
  border-color: #4ade80;
  background: white;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 15px;
}

.checkbox-group {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 20px 0;
}

.checkbox-group input[type="checkbox"] {
  width: auto;
}

.checkbox-group a {
  color: #4ade80;
  text-decoration: none;
}

.form-submit {
  width: 100%;
  padding: 12px;
  background: #4ade80;
  color: white;
  border: none;
  border-radius: 6px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.3s;
}

.form-submit:hover {
  background: #22c55e;
}

.form-link {
  text-align: center;
  margin-top: 20px;
}

.form-link a {
  color: #4ade80;
  text-decoration: none;
}

/* Improved Form Styles */
.improved-form {
  background: white;
  padding: 40px;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  max-width: 800px;
  margin: 0 auto;
}

.improved-form .form-group {
  margin-bottom: 25px;
}

.improved-form label {
  display: block;
  margin-bottom: 8px;
  font-weight: 600;
  color: #374151;
  font-size: 1rem;
}

.improved-form input,
.improved-form textarea,
.improved-form select {
  width: 100%;
  padding: 14px 16px;
  border: 2px solid #e5e7eb;
  border-radius: 8px;
  font-size: 1rem;
  transition: border-color 0.3s, box-shadow 0.3s;
  background: #f9fafb;
}

.improved-form input:focus,
.improved-form textarea:focus,
.improved-form select:focus {
  outline: none;
  border-color: #4ade80;
  background: white;
  box-shadow: 0 0 0 3px rgba(74, 222, 128, 0.2);
}

.improved-form textarea {
  resize: vertical;
  min-height: 120px;
}

.improved-form .form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.improved-form .form-hint {
  margin-top: 5px;
  font-size: 0.85rem;
  color: #6b7280;
}

.improved-form .form-actions {
  display: flex;
  gap: 15px;
  margin-top: 40px;
  justify-content: flex-start;
}

.improved-form .form-actions .btn-primary,
.improved-form .form-actions .btn-secondary {
  padding: 14px 28px;
  font-size: 1rem;
  font-weight: 600;
  border-radius: 8px;
  text-decoration: none;
  display: inline-block;
  transition: all 0.3s;
  border: none;
  cursor: pointer;
}

.improved-form .form-actions .btn-primary {
  background: #4ade80;
  color: white;
}

.improved-form .form-actions .btn-primary:hover {
  background: #22c55e;
}

.improved-form .form-actions .btn-secondary {
  background: transparent;
  color: #4ade80;
  border: 2px solid #4ade80;
}

.improved-form .form-actions .btn-secondary:hover {
  background: #4ade80;
  color: white;
}

@media (max-width: 768px) {
  .improved-form {
    padding: 20px;
  }

  .improved-form .form-row {
    grid-template-columns: 1fr;
    gap: 15px;
  }

  .improved-form .form-actions {
    flex-direction: column;
  }
}

/* Services Page */
.services-header {
  background: #f9fafb;
  padding: 120px 0 60px;
  text-align: center;
}

.services-header h1 {
  font-size: 3rem;
  margin-bottom: 20px;
}

.services-header p {
  text-align: center;
  font-size: 1.2rem;
  color: #666;
  max-width: 800px;
  margin: 0 auto;
}

.service-section {
  padding: 60px 0;
}

.service-section h2 {
  font-size: 2.5rem;
  margin-bottom: 20px;
}

.service-section p {
  font-size: 1.1rem;
  color: #666;
  margin-bottom: 40px;
}

.service-types {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-bottom: 40px;
}

.service-type {
  padding: 30px;
  background: white;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.service-type h3 {
  font-size: 1.3rem;
  margin-bottom: 10px;
}

.service-type p {
  color: #666;
  margin-bottom: 0;
}

/* Provider Directory */
.directory-header {
  background: #f9fafb;
  padding: 120px 0 40px;
}

.directory-header h1 {
  text-align: center;
  font-size: 3rem;
  margin-bottom: 20px;
}

.directory-header p {
  text-align: center;
  font-size: 1.2rem;
  color: #666;
}

.search-section {
  padding: 40px 0;
  background: #f9fafb;
}

.search-bar {
  max-width: 800px;
  margin: 0 auto 30px;
  position: relative;
}

.search-bar input {
  width: 100%;
  padding: 15px 50px 15px 20px;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  font-size: 1rem;
}

.search-icon {
  position: absolute;
  right: 15px;
  top: 50%;
  transform: translateY(-50%);
  color: #666;
}

.filters {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}

.filter-select {
  padding: 10px 15px;
  border: 1px solid #e5e7eb;
  border-radius: 6px;
  background: white;
  font-size: 1rem;
}

.featured-providers {
  padding: 60px 0;
}

.featured-providers h2 {
  text-align: center;
  font-size: 2.5rem;
  margin-bottom: 50px;
}

.provider-card {
  display: flex;
  gap: 30px;
  padding: 30px;
  background: white;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  margin-bottom: 30px;
  cursor: pointer;
  transition: transform 0.3s;
}

.provider-card:hover {
  transform: translateY(-2px);
}

.provider-card img {
  width: 200px;
  height: 150px;
  object-fit: cover;
  border-radius: 8px;
}

.provider-info h3 {
  font-size: 1.5rem;
  margin-bottom: 10px;
}

.provider-info p {
  color: #666;
  margin-bottom: 20px;
}

.view-profile-btn {
  background: transparent;
  color: #4ade80;
  border: 2px solid #4ade80;
  padding: 8px 16px;
  border-radius: 6px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s;
}

.view-profile-btn:hover {
  background: #4ade80;
  color: white;
}

.all-providers {
  padding: 60px 0;
  background: #f9fafb;
}

.all-providers h2 {
  text-align: center;
  font-size: 2.5rem;
  margin-bottom: 40px;
}

.providers-table {
  background: white;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.providers-table table {
  width: 100%;
  border-collapse: collapse;
}

.providers-table th,
.providers-table td {
  padding: 15px;
  text-align: left;
  border-bottom: 1px solid #e5e7eb;
}

.providers-table th {
  background: #f9fafb;
  font-weight: 600;
}

.providers-table tr:hover {
  background: #f9fafb;
}

.rating {
  color: #fbbf24;
}

.view-link {
  color: #4ade80;
  text-decoration: none;
  font-weight: 500;
}

.view-link:hover {
  text-decoration: underline;
}

/* Education Page */
.education-header {
  background: #f9fafb;
  padding: 120px 0 60px;
  text-align: center;
}

.workshops-table {
  background: white;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  margin-bottom: 60px;
}

.workshops-table table {
  width: 100%;
  border-collapse: collapse;
}

.workshops-table th,
.workshops-table td {
  padding: 15px;
  text-align: left;
  border-bottom: 1px solid #f1f5f9;
}

.workshops-table th {
  background: #f8fafc;
  font-weight: 600;
  color: #475569;
}

.register-btn {
  background: #4ade80;
  color: white;
  border: none;
  padding: 8px 16px;
  border-radius: 6px;
  font-weight: 500;
  cursor: pointer;
  transition: background 0.3s;
}

.register-btn:hover {
  background: #22c55e;
}

.articles-section h2 {
  font-size: 2.5rem;
  margin-bottom: 40px;
}

.articles-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.article-card {
  background: white;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s;
  cursor: pointer;
}

.article-card:hover {
  transform: translateY(-5px);
}

.article-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.article-card h3 {
  padding: 20px 20px 10px;
  font-size: 1.3rem;
}

.article-card p {
  padding: 0 20px 20px;
  color: #666;
}

/* Products Page Styles */
.products-header {
  background: #f9fafb;
  padding: 120px 0 60px;
  text-align: center;
}

.products-header h1 {
  font-size: 3rem;
  margin-bottom: 20px;
}

.product-category {
  padding: 60px 0;
}

.product-category:nth-child(even) {
  background: #f9fafb;
}

.product-category h2 {
  font-size: 2rem;
  margin-bottom: 40px;
  text-align: left;
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  align-items: stretch;
}

.product-card, .service-card {
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 2px 16px 0 rgba(0,0,0,0.07);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  min-width: 0;
  min-height: 430px;
  max-width: 100%;
  margin: 0 auto;
  height: 430px;
  width: 100%;
  padding: 0;
}
@media (max-width: 1100px) {
  .products-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 700px) {
  .products-grid {
    grid-template-columns: 1fr;
  }
  .product-card, .service-card {
    min-height: 100px;
    height: 150px;
  }
}
.product-card:hover, .service-card:hover {
  box-shadow: 0 6px 32px 0 rgba(34,197,94,0.13);
  transform: translateY(-4px) scale(1.03);
}
.card-image {
  width: 100%;
  height: 200px;
  background: #f3f4f6;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-bottom: 1px solid #f3f4f6;
}
.card-content {
  padding: 1.1rem 1rem 1rem 1rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.card-category {
  font-size: 0.93rem;
  color: #22c55e;
  font-weight: 600;
  margin-bottom: 0.3rem;
}
.card-title {
  font-size: 1.13rem;
  font-weight: 700;
  margin-bottom: 0.3rem;
  color: #222;
}
.card-description {
  font-size: 0.97rem;
  color: #555;
  margin-bottom: 0.7rem;
  flex: 1;
}
.card-price {
  font-size: 1.1rem;
  font-weight: 600;
  color: #16a34a;
  margin-bottom: 0.7rem;
}
.learn-more-btn {
  background: #22c55e;
  color: #fff;
  border: none;
  border-radius: 8px;
  padding: 0.5rem 1.1rem;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s;
  align-self: flex-start;
}
.learn-more-btn:hover {
  background: #16a34a;
}

/* Education Page Styles */
.workshops-section {
  padding: 60px 0;
}

.workshops-section h2 {
  font-size: 2.5rem;
  margin-bottom: 40px;
  text-align: center;
}

/* Provider Directory Enhanced Styles */
.search-section {
  padding: 40px 0;
  background: #f9fafb;
}

.search-bar {
  max-width: 800px;
  margin: 0 auto 30px;
  position: relative;
}

.search-bar input {
  width: 100%;
  padding: 15px 50px 15px 20px;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  font-size: 1rem;
  background: white;
}

.search-bar input:focus {
  outline: none;
  border-color: #4ade80;
}

.search-icon {
  position: absolute;
  right: 15px;
  top: 50%;
  transform: translateY(-50%);
  color: #666;
  font-size: 1.2rem;
}

.filters {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}

.filter-select {
  padding: 10px 15px;
  border: 1px solid #e5e7eb;
  border-radius: 6px;
  background: white;
  font-size: 1rem;
  min-width: 150px;
}

.filter-select:focus {
  outline: none;
  border-color: #4ade80;
}

/* Provider Card Enhanced */
.provider-card {
  display: flex;
  gap: 30px;
  padding: 30px;
  background: white;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  margin-bottom: 30px;
  cursor: pointer;
  transition: transform 0.3s, box-shadow 0.3s;
}

.provider-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
}

.provider-card img {
  width: 200px;
  height: 150px;
  object-fit: cover;
  border-radius: 8px;
  flex-shrink: 0;
}

.provider-info {
  flex: 1;
}

.provider-info h3 {
  font-size: 1.5rem;
  margin-bottom: 10px;
  color: #1f2937;
}

.provider-info p {
  color: #666;
  margin-bottom: 20px;
  line-height: 1.6;
}

.view-profile-btn {
  background: transparent;
  color: #4ade80;
  border: 2px solid #4ade80;
  padding: 8px 16px;
  border-radius: 6px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s;
}

.view-profile-btn:hover {
  background: #4ade80;
  color: white;
}

/* Provider Table Enhanced */
.providers-table {
  background: white;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.providers-table table {
  width: 100%;
  border-collapse: collapse;
}

.providers-table th,
.providers-table td {
  padding: 15px;
  text-align: left;
  border-bottom: 1px solid #e5e7eb;
}

.providers-table th {
  background: #f9fafb;
  font-weight: 600;
  color: #374151;
}

.providers-table tr:hover {
  background: #f9fafb;
}

.providers-table tr:last-child td {
  border-bottom: none;
}

.rating {
  color: #fbbf24;
  font-weight: 500;
}

.view-link {
  color: #4ade80;
  text-decoration: none;
  font-weight: 500;
  padding: 6px 12px;
  border-radius: 4px;
  transition: background 0.3s;
}

.view-link:hover {
  background: #f0fdf4;
  text-decoration: underline;
}

/* Form Enhancements */
.form-container h2.subtitle {
  text-align: center;
  color: #4ade80;
  font-size: 1.2rem;
  margin-bottom: 30px;
  font-weight: 600;
}

/* Responsive Design for New Pages */
@media (max-width: 768px) {
  .products-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
  }

  .product-card, .service-card {
    max-width: 100%;
    min-height: 150px;
  }

  .provider-card {
    flex-direction: column;
    text-align: center;
  }

  .provider-card img {
    width: 100%;
    height: 200px;
  }

  .filters {
    flex-direction: column;
    align-items: center;
  }

  .filter-select {
    width: 100%;
    max-width: 300px;
  }

  .providers-table {
    overflow-x: auto;
  }

  .providers-table table {
    min-width: 600px;
  }

  .workshops-table {
    overflow-x: auto;
  }

  .workshops-table table {
    min-width: 600px;
  }
}

/* Product/Service Detail Pages - Improved Layout */
.product-detail,
.service-detail {
  padding: 120px 0 60px 0;
  background: #f9fafb;
}

.product-detail-content,
.service-detail-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  margin-bottom: 60px;
  background: white;
  border-radius: 16px;
  padding: 40px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.product-images img,
.service-images img {
  width: 100%;
  height: 500px;
  object-fit: cover;
  border-radius: 12px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
}

.product-info,
.service-info {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.product-category,
.service-category {
  background: #4ade80;
  color: white;
  padding: 8px 16px;
  border-radius: 20px;
  display: inline-block;
  font-size: 0.9rem;
  font-weight: 600;
  width: fit-content;
}

.product-info h1,
.service-info h1 {
  font-size: 2.5rem;
  margin: 0;
  color: #1f2937;
  line-height: 1.2;
}

.product-price,
.service-price {
  font-size: 2.5rem;
  font-weight: bold;
  color: #4ade80;
  margin: 0;
}

.product-availability,
.service-availability {
  margin: 0;
}

.availability-status {
  background: #dcfce7;
  color: #166534;
  padding: 8px 16px;
  border-radius: 8px;
  font-size: 0.9rem;
  font-weight: 600;
}

.product-description,
.service-description {
  color: #666;
  line-height: 1.8;
  font-size: 1.1rem;
  margin: 0;
}

.product-specifications,
.service-features {
  background: #f8fafc;
  padding: 20px;
  border-radius: 12px;
  border-left: 4px solid #4ade80;
}

.product-specifications h3,
.service-features h3 {
  margin: 0 0 15px 0;
  color: #1f2937;
  font-size: 1.3rem;
}

.service-features ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.service-features li {
  padding: 10px 0;
  border-bottom: 1px solid #e5e7eb;
  position: relative;
  padding-left: 25px;
}

.service-features li:last-child {
  border-bottom: none;
}

.service-features li:before {
  content: "✓";
  color: #4ade80;
  font-weight: bold;
  position: absolute;
  left: 0;
  top: 10px;
}

.product-actions,
.service-actions {
  display: flex;
  gap: 15px;
  margin-top: 20px;
}

.product-actions .btn-primary,
.product-actions .btn-secondary,
.service-actions .btn-primary,
.service-actions .btn-secondary {
  flex: 1;
  padding: 15px 20px;
  font-size: 1.1rem;
  font-weight: 600;
  border-radius: 8px;
  text-align: center;
  transition: all 0.3s;
}

/* Related Products/Services */
.related-products,
.related-services {
  padding: 60px 0;
  background: white;
}

.related-products h2,
.related-services h2 {
  text-align: center;
  font-size: 2.5rem;
  margin-bottom: 40px;
  color: #1f2937;
}

/* Responsive Design for Detail Pages */
@media (max-width: 768px) {
  .product-detail-content,
  .service-detail-content {
    grid-template-columns: 1fr;
    gap: 30px;
    padding: 20px;
  }

  .product-info h1,
  .service-info h1 {
    font-size: 2rem;
  }

  .product-price,
  .service-price {
    font-size: 2rem;
  }

  .product-actions,
  .service-actions {
    flex-direction: column;
  }
}

/* Dashboard Styles */
.dashboard-layout {
  display: flex;
  min-height: 100vh;
}

.dashboard-sidebar {
  width: 270px;
  min-width: 220px;
  max-width: 300px;
  background: #f8fafc;
  border-right: 1px solid #e5e7eb;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 100vh;
  position: sticky;
  top: 0;
  left: 0;
  z-index: 10;
}

.dashboard-main {
  flex: 1;
  overflow-y: auto;
  min-width: 0;
  background: #fcfcfd;
  padding-bottom: 40px;
}

.sidebar-header {
  padding: 20px;
  border-bottom: 1px solid #e2e8f0;
}

.sidebar-header h2 {
  font-size: 1.2rem;
  color: #1e293b;
}

.sidebar-nav {
  flex: 1;
  padding: 20px 0;
}

.sidebar-nav ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.sidebar-nav li {
  margin-bottom: 5px;
}

.nav-item {
  display: flex;
  align-items: center;
  padding: 12px 20px;
  color: #64748b;
  text-decoration: none;
  transition: all 0.3s;
}

.nav-item:hover,
.nav-item.active {
  background: #e2e8f0;
  color: #1e293b;
}

.nav-item.active {
  background: #dcfce7;
  color: #166534;
  border-right: 3px solid #4ade80;
}

.nav-icon {
  margin-right: 12px;
  font-size: 1.1rem;
}

.sidebar-footer {
  padding: 20px;
  border-top: 1px solid #e2e8f0;
}

.add-listing-btn {
  width: 100%;
  margin-bottom: 20px;
}

.help-support {
  display: flex;
  align-items: center;
  color: #64748b;
  font-size: 0.9rem;
}

.dashboard-header {
  background: white;
  border-bottom: 1px solid #e2e8f0;
  padding: 20px 30px;
}

.header-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.header-content h1 {
  font-size: 2rem;
  color: #1e293b;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 30px;
}

.header-actions span {
  color: #64748b;
  cursor: pointer;
  transition: color 0.3s;
}

.header-actions span:hover {
  color: #1e293b;
}

.user-avatar img {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  object-fit: cover;
}

.dashboard-content {
  flex: 1;
  padding: 30px;
  background: #f8fafc;
}

.content-section {
  display: none;
}

.content-section.active {
  display: block;
}

.section-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 30px;
}

.section-header h2 {
  font-size: 1.8rem;
  color: #1e293b;
}

.services-table,
.products-table {
  background: white;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.services-table table,
.products-table table {
  width: 100%;
  border-collapse: collapse;
}

.services-table th,
.products-table th,
.services-table td,
.products-table td {
  padding: 16px;
  text-align: left;
  border-bottom: 1px solid #f1f5f9;
}

.services-table th,
.products-table th {
  background: #f8fafc;
  font-weight: 600;
  color: #475569;
}

.status-active {
  background: #dcfce7;
  color: #166534;
  padding: 4px 12px;
  border-radius: 12px;
  font-size: 0.85rem;
  font-weight: 500;
}

.status-inactive {
  background: #fef2f2;
  color: #dc2626;
  padding: 4px 12px;
  border-radius: 12px;
  font-size: 0.85rem;
  font-weight: 500;
}

.action-btn {
  padding: 6px 12px;
  border: none;
  border-radius: 6px;
  font-size: 0.85rem;
  cursor: pointer;
  margin-right: 8px;
  transition: all 0.3s;
}

/* .edit-btn {
  background: #2563eb;
  color: #fff;
  border: none;
  border-radius: 8px;
  padding: 0.5rem 1.2rem;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}
.edit-btn:hover {
  background: #1d4ed8;
}
.edit-btn i {
  margin-right: 0.4em;
} */

.remove-btn {
  background: #fecaca;
  color: #dc2626;
}

.remove-btn:hover {
  background: #fca5a5;
}

.view-btn {
  background: #dcfce7;
  color: #166534;
}

.view-btn:hover {
  background: #bbf7d0;
}

/* Add Listing Form */
.add-listing-form {
  background: white;
  padding: 30px;
  border-radius: 12px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
  max-width: 600px;
}

.add-listing-form .form-group {
  margin-bottom: 25px;
}

.add-listing-form label {
  display: block;
  margin-bottom: 8px;
  font-weight: 500;
  color: #374151;
}

.add-listing-form input,
.add-listing-form textarea,
.add-listing-form select {
  width: 100%;
  padding: 12px;
  border: 1px solid #d1d5db;
  border-radius: 8px;
  font-size: 1rem;
  transition: border-color 0.3s;
}

.add-listing-form input:focus,
.add-listing-form textarea:focus,
.add-listing-form select:focus {
  outline: none;
  border-color: #4ade80;
}

.image-upload-area {
  border: 2px dashed #d1d5db;
  border-radius: 8px;
  padding: 40px;
  text-align: center;
  background: #f9fafb;
  transition: border-color 0.3s;
}

.image-upload-area:hover {
  border-color: #4ade80;
}

.upload-placeholder p {
  margin-bottom: 15px;
  color: #6b7280;
}

.form-actions {
  display: flex;
  justify-content: flex-end;
  gap: 15px;
  margin-top: 30px;
}

/* Responsive Design for Dashboard */
@media (max-width: 768px) {
  .dashboard-layout {
    flex-direction: column;
  }

  .dashboard-sidebar {
    width: 100%;
    height: auto;
  }

  .sidebar-nav {
    display: none;
  }

  .product-detail-content,
  .service-detail-content {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .product-actions,
  .service-actions {
    flex-direction: column;
  }

  .provider-info-section .provider-card {
    flex-direction: column;
    text-align: center;
  }
}

/* Responsive Navigation */
@media (max-width: 768px) {
  .nav-menu {
    position: fixed;
    left: -100%;
    top: 70px;
    flex-direction: column;
    background-color: white;
    width: 100%;
    text-align: center;
    transition: 0.3s;
    box-shadow: 0 10px 27px rgba(0, 0, 0, 0.05);
    padding: 20px 0;
    gap: 20px;
  }

  .nav-menu.active {
    left: 0;
  }

  .nav-auth {
    margin-top: 20px;
    flex-direction: column;
    gap: 10px;
  }

  .profile-menu {
    right: 20px;
  }
}

/* Profile Icon Styles */
.profile-icon {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: #4ade80;
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  font-weight: bold;
}

/* Horizontal Product Layout */
.product-category-horizontal {
  padding: 40px 0;
}

.product-category-horizontal:nth-child(even) {
  background: #f9fafb;
}

.products-horizontal-scroll {
  display: flex;
  gap: 20px;
  overflow-x: auto;
  padding: 20px 0;
  scroll-behavior: smooth;
}

.product-card-horizontal {
  min-width: 300px;
  background: white;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s, box-shadow 0.3s;
  cursor: pointer;
  flex-shrink: 0;
}

.product-card-horizontal:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
}

.product-card-horizontal img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.product-info-horizontal {
  padding: 20px;
}

.product-info-horizontal h3 {
  font-size: 1.2rem;
  margin-bottom: 10px;
  color: #1f2937;
}

.product-info-horizontal p {
  color: #666;
  margin-bottom: 15px;
  font-size: 0.9rem;
}

.product-info-horizontal .product-price {
  font-size: 1.3rem;
  font-weight: bold;
  color: #4ade80;
}

/* Horizontal Service Layout */
.service-category-horizontal {
  padding: 40px 0;
}

.service-category-horizontal:nth-child(even) {
  background: #f9fafb;
}

.services-horizontal-scroll {
  display: flex;
  gap: 20px;
  overflow-x: auto;
  padding: 20px 0;
  scroll-behavior: smooth;
}

.service-card-horizontal {
  min-width: 320px;
  background: white;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s, box-shadow 0.3s;
  cursor: pointer;
  flex-shrink: 0;
}

.service-card-horizontal:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
}

.service-card-horizontal img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.service-info-horizontal {
  padding: 20px;
}

.service-info-horizontal h3 {
  font-size: 1.2rem;
  margin-bottom: 10px;
  color: #1f2937;
}

.service-info-horizontal p {
  color: #666;
  margin-bottom: 15px;
  font-size: 0.9rem;
}

.service-info-horizontal .service-price {
  font-size: 1.1rem;
  font-weight: bold;
  color: #4ade80;
}

/* Provider Simple Cards */
.providers-simple-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 20px;
  margin-top: 30px;
}

.provider-simple-card {
  background: white;
  padding: 20px;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.provider-simple-card h3 {
  margin-bottom: 10px;
  color: #1f2937;
}

.provider-simple-card p {
  margin-bottom: 8px;
  color: #666;
}

/* Contact Provider Page */
.provider-details-section {
  padding: 120px 0 60px 0;
}

.provider-header {
  margin-bottom: 60px;
}

.provider-main-info {
  display: flex;
  gap: 30px;
  align-items: flex-start;
}

.provider-main-info img {
  width: 150px;
  height: 150px;
  object-fit: cover;
  border-radius: 12px;
  flex-shrink: 0;
}

.provider-basic-info h1 {
  font-size: 2.5rem;
  margin-bottom: 15px;
  color: #1f2937;
}

.provider-basic-info p {
  font-size: 1.1rem;
  color: #666;
  margin-bottom: 25px;
}

.provider-contact-info {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 15px;
}

.contact-item {
  font-size: 1rem;
  color: #374151;
}

.contact-item strong {
  color: #1f2937;
}

.provider-products-section,
.provider-services-section {
  padding: 60px 0;
}

.provider-services-section {
  background: #f9fafb;
}

/* Profile Settings Styles */
.profile-settings {
  max-width: 800px;
}

.profile-form {
  background: white;
  padding: 30px;
  border-radius: 12px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
  margin-bottom: 30px;
}

.password-change-section {
  background: white;
  padding: 30px;
  border-radius: 12px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.password-change-section h3 {
  margin-bottom: 20px;
  color: #1f2937;
}

.password-form .form-group {
  margin-bottom: 20px;
}

/* Responsive Design for Horizontal Layouts */
@media (max-width: 768px) {
  .products-horizontal-scroll,
  .services-horizontal-scroll {
    padding: 10px 0;
  }

  .product-card-horizontal,
  .service-card-horizontal {
    min-width: 280px;
  }

  .provider-main-info {
    flex-direction: column;
    text-align: center;
  }

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

  .providers-simple-list {
    grid-template-columns: 1fr;
  }
}

/* Add these styles for the updated provider dashboard */

/* Dashboard Logo */
.dashboard-logo {
  display: flex;
  align-items: center;
  text-decoration: none;
  color: #1e293b;
  transition: color 0.3s;
}

.dashboard-logo:hover {
  color: #4ade80;
}

.dashboard-logo .logo-icon {
  margin-right: 8px;
  font-size: 1.5rem;
}

.dashboard-logo h2 {
  font-size: 1.2rem;
  margin: 0;
}

/* Provider Profile Section in Sidebar */
.provider-profile-section {
  margin-bottom: 20px;
}

.provider-profile-info {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 15px;
  background: white;
  border-radius: 8px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.provider-profile-info .profile-icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: #4ade80;
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  font-weight: bold;
  flex-shrink: 0;
}

.profile-details {
  flex: 1;
  min-width: 0;
}

.provider-name {
  display: block;
  font-weight: 600;
  color: #1e293b;
  font-size: 0.9rem;
  margin-bottom: 5px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.logout-btn {
  background: #ef4444;
  color: white;
  border: none;
  padding: 4px 8px;
  border-radius: 4px;
  font-size: 0.8rem;
  cursor: pointer;
  transition: background 0.3s;
}

.logout-btn:hover {
  background: #dc2626;
}

/* Form Styles for Add Pages */
.add-listing-form {
  background: white;
  padding: 40px;
  border-radius: 12px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
  max-width: 800px;
}

.add-listing-form .form-group {
  margin-bottom: 25px;
}

.add-listing-form label {
  display: block;
  margin-bottom: 8px;
  font-weight: 600;
  color: #374151;
  font-size: 1rem;
}

.add-listing-form input,
.add-listing-form textarea,
.add-listing-form select {
  width: 100%;
  padding: 12px 16px;
  border: 2px solid #e5e7eb;
  border-radius: 8px;
  font-size: 1rem;
  transition: border-color 0.3s;
  background: #f9fafb;
}

.add-listing-form input:focus,
.add-listing-form textarea:focus,
.add-listing-form select:focus {
  outline: none;
  border-color: #4ade80;
  background: white;
}

.add-listing-form textarea {
  resize: vertical;
  min-height: 120px;
}

.form-actions {
  display: flex;
  gap: 15px;
  margin-top: 40px;
  justify-content: flex-start;
}

.form-form .btn-primary,
.form-form .btn-secondary {
  padding: 12px 24px;
  font-size: 1rem;
  font-weight: 600;
  border-radius: 8px;
  text-decoration: none;
  display: inline-block;
  transition: all 0.3s;
  border: none;
  cursor: pointer;
}

.form-form .btn-primary {
  background: #4ade80;
  color: white;
}

.form-form .btn-primary:hover {
  background: #22c55e;
}

.form-form .btn-secondary {
  background: transparent;
  color: #4ade80;
  border: 2px solid #4ade80;
}

.form-form .btn-secondary:hover {
  background: #4ade80;
  color: white;
}

/* Responsive Design for Dashboard */
@media (max-width: 768px) {
  .provider-profile-info {
    flex-direction: column;
    text-align: center;
    gap: 8px;
  }

  .provider-name {
    white-space: normal;
    text-align: center;
  }

  .add-listing-form {
    padding: 20px;
  }

  .form-form {
    flex-direction: column;
  }

  .form-form .btn-primary,
  .form-form .btn-secondary {
    text-align: center;
  }
}

/* Add these new styles for the centered detail pages */
.service-detail-content-centered,
.product-detail-content-centered {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  background: white;
  border-radius: 16px;
  padding: 40px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  margin-bottom: 60px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.service-detail-content-centered .service-category,
.product-detail-content-centered .product-category {
  margin-bottom: 15px;
}

.service-detail-content-centered h1,
.product-detail-content-centered h1 {
  font-size: 2.5rem;
  margin-bottom: 25px;
  color: #1f2937;
  line-height: 1.2;
}

.service-detail-content-centered .service-images,
.product-detail-content-centered .product-images {
  width: 100%;
  margin-bottom: 30px;
}

.service-detail-content-centered .service-images img,
.product-detail-content-centered .product-images img {
  width: 100%;
  height: auto;
  max-height: 500px;
  object-fit: cover;
  border-radius: 12px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
}

.service-detail-content-centered .service-price,
.product-detail-content-centered .product-price {
  font-size: 2.5rem;
  font-weight: bold;
  color: #4ade80;
  margin-bottom: 15px;
}

.service-detail-content-centered .service-availability,
.product-detail-content-centered .product-availability {
  margin-bottom: 25px;
}

.service-detail-content-centered .service-description,
.product-detail-content-centered .product-description {
  color: #666;
  line-height: 1.8;
  font-size: 1.1rem;
  margin-bottom: 30px;
  max-width: 700px;
}

.service-detail-content-centered .service-features,
.product-detail-content-centered .product-specifications {
  background: #f8fafc;
  padding: 25px;
  border-radius: 12px;
  border-left: 4px solid #4ade80;
  margin-bottom: 30px;
  width: 100%;
  text-align: left;
}

.service-detail-content-centered .service-features h3,
.product-detail-content-centered .product-specifications h3 {
  margin-bottom: 15px;
  color: #1f2937;
  font-size: 1.3rem;
}

.service-detail-content-centered .service-features ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.service-detail-content-centered .service-features li {
  padding: 10px 0;
  border-bottom: 1px solid #e5e7eb;
  position: relative;
  padding-left: 25px;
  text-align: left;
}

.service-detail-content-centered .service-features li:last-child {
  border-bottom: none;
}

.service-detail-content-centered .service-features li:before {
  content: "✓";
  color: #4ade80;
  font-weight: bold;
  position: absolute;
  left: 0;
  top: 10px;
}

.service-detail-content-centered .service-actions,
.product-detail-content-centered .product-actions {
  display: flex;
  gap: 15px;
  margin-top: 20px;
  width: 100%;
  max-width: 500px;
}

.service-detail-content-centered .service-actions .btn-primary,
.service-detail-content-centered .service-actions .btn-secondary,
.product-detail-content-centered .product-actions .btn-primary,
.product-detail-content-centered .product-actions .btn-secondary {
  flex: 1;
  padding: 15px 20px;
  font-size: 1.1rem;
  font-weight: 600;
  border-radius: 8px;
  text-align: center;
  transition: all 0.3s;
}

@media (max-width: 768px) {
  .service-detail-content-centered .service-actions,
  .product-detail-content-centered .product-actions {
    flex-direction: column;
  }

  .service-detail-content-centered,
  .product-detail-content-centered {
    padding: 20px;
  }
}

/* Profile Section Styles */
.profile-section {
  padding: 120px 0 60px;
  background: #f9fafb;
  min-height: 100vh;
}

.profile-header {
  margin-bottom: 40px;
}

.profile-header-content {
  text-align: center;
}

.profile-avatar-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 15px;
}

.profile-avatar-large {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  background: #4ade80;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

.avatar-icon {
  font-size: 3rem;
  color: white;
}

.profile-content-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
  gap: 30px;
  max-width: 1200px;
  margin: 0 auto;
}

.profile-card {
  background: white;
  border-radius: 16px;
  padding: 30px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s, box-shadow 0.3s;
}

.profile-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
}

.card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 25px;
  padding-bottom: 15px;
  border-bottom: 2px solid #f1f5f9;
}

.card-header h2,
.card-header h3 {
  margin: 0;
  color: #1f2937;
  font-size: 1.5rem;
}

.card-icon {
  font-size: 1.5rem;
  opacity: 0.7;
}

.profile-form .form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.profile-form .form-group {
  margin-bottom: 20px;
}

.profile-form label {
  display: block;
  margin-bottom: 8px;
  font-weight: 600;
  color: #374151;
}

.profile-form input,
.profile-form textarea {
  width: 100%;
  padding: 12px 16px;
  border: 2px solid #e5e7eb;
  border-radius: 8px;
  font-size: 1rem;
  transition: border-color 0.3s, box-shadow 0.3s;
  background: #f9fafb;
}

.profile-form input:focus,
.profile-form textarea:focus {
  outline: none;
  border-color: #4ade80;
  background: white;
  box-shadow: 0 0 0 3px rgba(74, 222, 128, 0.2);
}

.profile-form textarea {
  resize: vertical;
  min-height: 100px;
}

.form-actions {
  margin-top: 25px;
}

/* Activity Stats */
.activity-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.stat-item {
  text-align: center;
  padding: 20px;
  background: #f8fafc;
  border-radius: 12px;
  border: 2px solid #e2e8f0;
}

.stat-number {
  display: block;
  font-size: 2rem;
  font-weight: bold;
  color: #4ade80;
  margin-bottom: 5px;
}

.stat-label {
  font-size: 0.9rem;
  color: #64748b;
  font-weight: 500;
}

/* Preferences */
.preferences-content {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.preference-item {
  display: flex;
  align-items: center;
}

.preference-label {
  display: flex;
  align-items: center;
  cursor: pointer;
  font-weight: 500;
  color: #374151;
}

.preference-label input[type="checkbox"] {
  margin-right: 12px;
  width: 18px;
  height: 18px;
  accent-color: #4ade80;
}

/* Provider Profile Grid */
.provider-profile-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
  gap: 30px;
  max-width: 1400px;
  margin: 0 auto;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 15px;
}

.quick-actions {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 15px;
}

.action-btn {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 15px 20px;
  background: #f8fafc;
  border: 2px solid #e2e8f0;
  border-radius: 12px;
  text-decoration: none;
  color: #374151;
  font-weight: 500;
  transition: all 0.3s;
}

.action-btn:hover {
  background: #4ade80;
  color: white;
  border-color: #4ade80;
  transform: translateY(-2px);
}

.action-icon {
  font-size: 1.2rem;
}

/* Responsive Design */
@media (max-width: 768px) {
  .profile-content-grid,
  .provider-profile-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .profile-form .form-row {
    grid-template-columns: 1fr;
    gap: 15px;
  }

  .activity-stats {
    grid-template-columns: 1fr;
    gap: 15px;
  }

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

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

  .profile-card {
    padding: 20px;
  }

  .card-header h2,
  .card-header h3 {
    font-size: 1.3rem;
  }
}

/* --- Products Page Layout --- */
.products-page-layout {
  display: flex;
  align-items: flex-start;
  gap: 2rem;
  max-width: 1400px;
  margin: 2rem auto;
  padding: 0 2rem;
}

.filter-sidebar {
  width: 270px;
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 2px 16px 0 rgba(0,0,0,0.07);
  padding: 2rem 1.5rem;
  position: sticky;
  top: 100px;
  height: fit-content;
}
.filter-sidebar h2 {
  font-size: 1.3rem;
  margin-bottom: 1.5rem;
  font-weight: 700;
}
.filter-group {
  margin-bottom: 1.5rem;
}
.filter-group h3 {
  font-size: 1rem;
  margin-bottom: 0.5rem;
  font-weight: 600;
}
.filter-select-wrapper {
  width: 100%;
}
.filter-select {
  width: 100%;
  padding: 0.5rem;
  border-radius: 8px;
  border: 1px solid #e0e0e0;
  font-size: 1rem;
  background: #fafbfc;
}
.apply-filters-btn {
  width: 100%;
  padding: 0.7rem 0;
  background: #22c55e;
  color: #fff;
  border: none;
  border-radius: 8px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  margin-top: 1rem;
  transition: background 0.2s;
}
.apply-filters-btn:hover {
  background: #16a34a;
}

/* --- Main Content --- */
.main-content {
  flex: 1;
  min-width: 0;
}
.content-header {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
}
.category-pills {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}
.category-pill {
  background: #f3f4f6;
  color: #222;
  border-radius: 999px;
  padding: 0.4rem 1.1rem;
  font-size: 0.97rem;
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
  border: 1px solid transparent;
}
.category-pill.active, .category-pill:hover {
  background: #22c55e;
  color: #fff;
  border-color: #22c55e;
}

/* --- Products Grid --- */
.products-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  align-items: stretch;
}

/* --- Product Card --- */
.product-card, .service-card {
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 2px 16px 0 rgba(0,0,0,0.07);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  min-width: 0;
  min-height: 430px;
  max-width: 100%;
  margin: 0 auto;
  height: 430px;
  width: 100%;
  padding: 0;
}
@media (max-width: 1100px) {
  .products-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 700px) {
  .products-grid {
    grid-template-columns: 1fr;
  }
  .product-card, .service-card {
    min-height: 370px;
    height: 370px;
  }
}
.product-card:hover, .service-card:hover {
  box-shadow: 0 6px 32px 0 rgba(34,197,94,0.13);
  transform: translateY(-4px) scale(1.03);
}
.card-image {
  width: 100%;
  height: 200px;
  background: #f3f4f6;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-bottom: 1px solid #f3f4f6;
}
.card-content {
  padding: 1.1rem 1rem 1rem 1rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.card-category {
  font-size: 0.93rem;
  color: #22c55e;
  font-weight: 600;
  margin-bottom: 0.3rem;
}
.card-title {
  font-size: 1.13rem;
  font-weight: 700;
  margin-bottom: 0.3rem;
  color: #222;
}
.card-description {
  font-size: 0.97rem;
  color: #555;
  margin-bottom: 0.7rem;
  flex: 1;
}
.card-price {
  font-size: 1.1rem;
  font-weight: 600;
  color: #16a34a;
  margin-bottom: 0.7rem;
}
.learn-more-btn {
  background: #22c55e;
  color: #fff;
  border: none;
  border-radius: 8px;
  padding: 0.5rem 1.1rem;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s;
  align-self: flex-start;
}
.learn-more-btn:hover {
  background: #16a34a;
}

/* --- Responsive --- */
@media (max-width: 1100px) {
  .products-page-layout {
    flex-direction: column;
    gap: 1.5rem;
  }
  .filter-sidebar {
    width: 100%;
    position: static;
    margin-bottom: 1.5rem;
  }
}
@media (max-width: 700px) {
  .products-grid {
    grid-template-columns: 1fr;
    gap: 1.2rem;
  }
  .product-card, .service-card {
    max-width: 100%;
    min-height: 350px;
  }
}

/* --- How It Works Section --- */
.how-it-works {
  background: #f9fafb;
  padding: 60px 0 40px 0;
}
.how-it-works h2 {
  text-align: center;
  margin-bottom: 2.5rem;
  font-size: 2.2rem;
  font-weight: 700;
}
.how-steps {
  display: flex;
  justify-content: center;
  gap: 2.5rem;
  flex-wrap: wrap;
}
.how-step {
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 2px 16px 0 rgba(0,0,0,0.07);
  padding: 2rem 1.5rem;
  text-align: center;
  max-width: 320px;
  flex: 1 1 260px;
}
.how-icon {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}
.how-step h3 {
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}
.how-step p {
  color: #555;
  font-size: 1rem;
}

/* --- Why Choose Us Section --- */
.why-choose-us {
  background: #fff;
  padding: 60px 0 40px 0;
}
.why-choose-us h2 {
  text-align: center;
  margin-bottom: 2.5rem;
  font-size: 2.2rem;
  font-weight: 700;
}
.why-grid {
  display: flex;
  justify-content: center;
  gap: 2.5rem;
  flex-wrap: wrap;
}
.why-item {
  background: #f9fafb;
  border-radius: 16px;
  box-shadow: 0 2px 16px 0 rgba(0,0,0,0.07);
  padding: 2rem 1.5rem;
  text-align: center;
  max-width: 280px;
  flex: 1 1 220px;
}
.why-icon {
  font-size: 2.2rem;
  margin-bottom: 1rem;
}
.why-item h3 {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}
.why-item p {
  color: #555;
  font-size: 1rem;
}

/* --- Featured Products/Services Section --- */
.featured-products, .featured-services {
  background: #f9fafb;
  padding: 60px 0 40px 0;
}
.featured-products h2, .featured-services h2 {
  text-align: center;
  margin-bottom: 2.5rem;
  font-size: 2.2rem;
  font-weight: 700;
}

@media (max-width: 1100px) {
  .how-steps, .why-grid {
    flex-direction: column;
    gap: 1.5rem;
    align-items: center;
  }
}

/* --- Detail Page Styles for Product & Service --- */
.detail-page {
  background: #f8fafc;
  min-height: 100vh;
  padding: 40px 0 60px 0;
}

.detail-container {
  background: #fff;
  border-radius: 20px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  max-width: 1200px;
  margin: 40px auto 0;
  padding: 2.5rem;
}

/* Breadcrumb */
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
  color: #64748b;
  font-size: 0.95rem;
}

.breadcrumb a {
  color: #4ade80;
  text-decoration: none;
  transition: color 0.2s;
}

.breadcrumb a:hover {
  color: #22c55e;
}

.breadcrumb i {
  font-size: 0.8rem;
}

/* Detail Grid Layout */
.detail-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 3rem;
  align-items: start;
}

/* Image Section */
.detail-image-section {
  position: sticky;
  top: 100px;
}

.detail-image {
  background: #f8fafc;
  border-radius: 16px;
  overflow: hidden;
  margin-bottom: 1rem;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.detail-image img {
  width: 100%;
  height: auto;
  object-fit: cover;
  border-radius: 16px;
  transition: transform 0.3s;
}

.detail-image img:hover {
  transform: scale(1.02);
}

.image-thumbnails {
  display: flex;
  gap: 0.8rem;
  overflow-x: auto;
  padding: 0.5rem 0;
}

.thumbnail {
  width: 80px;
  height: 80px;
  border-radius: 8px;
  cursor: pointer;
  opacity: 0.7;
  transition: all 0.2s;
}

.thumbnail:hover,
.thumbnail.active {
  opacity: 1;
  transform: translateY(-2px);
}

/* Product/Service Info */
.detail-info {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.product-header,
.service-header {
  margin-bottom: 1rem;
}

.category-badge {
  display: inline-block;
  background: #e0f2fe;
  color: #0284c7;
  padding: 0.4rem 1rem;
  border-radius: 999px;
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 1rem;
}

.detail-info h1 {
  font-size: 2.5rem;
  font-weight: 700;
  color: #1e293b;
  margin-bottom: 1rem;
  line-height: 1.2;
}

.price-availability {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  margin-bottom: 1.5rem;
}

.price {
  font-size: 2rem;
  font-weight: 700;
  color: #16a34a;
  margin: 0;
}

.availability {
  background: #dcfce7;
  color: #166534;
  padding: 0.4rem 1rem;
  border-radius: 999px;
  font-size: 0.9rem;
  font-weight: 600;
}

/* Description and Features Sections */
.description-section,
.specifications-section,
.features-section {
  background: #f8fafc;
  padding: 1.5rem;
  border-radius: 12px;
  border-left: 4px solid #4ade80;
}

.description-section h3,
.specifications-section h3,
.features-section h3 {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 1.2rem;
  font-weight: 600;
  color: #1e293b;
  margin-bottom: 1rem;
}

.description-section h3 i,
.specifications-section h3 i,
.features-section h3 i {
  color: #4ade80;
}

.description {
  color: #475569;
  line-height: 1.7;
  font-size: 1rem;
}

.specifications-list,
.features-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.specifications-list li,
.features-list li {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.8rem 0;
  color: #475569;
  border-bottom: 1px solid #e2e8f0;
}

.specifications-list li:last-child,
.features-list li:last-child {
  border-bottom: none;
}

.specifications-list li:before,
.features-list li:before {
  content: "✓";
  color: #4ade80;
  font-weight: bold;
}

/* Provider Info Card */
.provider-info-card {
  background: #f8fafc;
  padding: 1.5rem;
  border-radius: 12px;
  border: 1px solid #e2e8f0;
}

.provider-info-card h3 {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 1.2rem;
  font-weight: 600;
  color: #1e293b;
  margin-bottom: 1rem;
}

.provider-info-card h3 i {
  color: #4ade80;
}

.provider-details {
  display: grid;
  gap: 1rem;
}

.provider-detail-item {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  color: #475569;
}

.provider-detail-item i {
  color: #4ade80;
  font-size: 1.1rem;
}

/* Action Buttons */
.action-buttons {
  margin-top: 1rem;
}

.wishlist-btn {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background: #4ade80;
  color: white;
  border: none;
  border-radius: 8px;
  padding: 1rem 2rem;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
  width: 100%;
  justify-content: center;
}

.wishlist-btn:hover {
  background: #22c55e;
  transform: translateY(-2px);
}

.wishlist-btn i {
  font-size: 1.1rem;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .detail-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .detail-image-section {
    position: static;
  }

  .detail-container {
    padding: 1.5rem;
  }

  .detail-info h1 {
    font-size: 2rem;
  }

  .price {
    font-size: 1.8rem;
  }
}

@media (max-width: 640px) {
  .detail-page {
    padding: 20px 0 40px 0;
  }

  .detail-container {
    margin: 20px auto 0;
    padding: 1rem;
  }

  .price-availability {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.8rem;
  }

  .description-section,
  .specifications-section,
  .features-section,
  .provider-info-card {
    padding: 1rem;
  }
}

/* Edit Page Styles */
.edit-page {
    padding: 100px 0 40px;
    min-height: calc(100vh - 70px);
    background: #f9fafb;
}

.edit-container {
    background: white;
    border-radius: 12px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    padding: 30px;
    max-width: 800px;
    margin: 0 auto;
}

.edit-container h1 {
    color: #333;
    font-size: 2rem;
    margin-bottom: 30px;
    text-align: center;
}

.edit-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-group.full-width {
    grid-column: 1 / -1;
}

.form-group label {
    font-weight: 500;
    color: #333;
    font-size: 0.95rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 10px 12px;
    border: 1px solid #e5e7eb;
    border-radius: 6px;
    font-size: 0.95rem;
    transition: all 0.3s;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #4ade80;
    box-shadow: 0 0 0 3px rgba(74, 222, 128, 0.1);
}

.form-group textarea {
    min-height: 100px;
    resize: vertical;
}

.form-hint {
    font-size: 0.85rem;
    color: #666;
    margin-top: 4px;
}

.form-actions {
    display: flex;
    justify-content: flex-end;
    gap: 12px;
    margin-top: 20px;
}

.error-message {
    background: #fee2e2;
    color: #dc2626;
    padding: 12px;
    border-radius: 6px;
    margin-bottom: 20px;
    font-size: 0.95rem;
}

@media (max-width: 768px) {
    .edit-container {
        padding: 20px;
        margin: 0 15px;
    }

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

    .form-actions {
        flex-direction: column;
    }

    .form-actions button {
        width: 100%;
    }
}

/* Edit Form Layout (for edit-product and edit-service) */
.edit-form-layout {
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 4px 24px rgba(0,0,0,0.08);
  padding: 36px 32px 28px 32px;
  max-width: 700px;
  margin: 40px auto 0 auto;
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.edit-form-layout h1 {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 18px;
  text-align: center;
}

.edit-form-layout .form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px 24px;
}

.edit-form-layout .form-group {
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.edit-form-layout .form-group.full-width {
  grid-column: 1 / -1;
}

.edit-form-layout label {
  font-weight: 500;
  color: #222;
  font-size: 1rem;
}

.edit-form-layout input,
.edit-form-layout select,
.edit-form-layout textarea {
  padding: 10px 13px;
  border: 1px solid #e5e7eb;
  border-radius: 7px;
  font-size: 1rem;
  background: #f8fafc;
  transition: border 0.2s, box-shadow 0.2s;
}

.edit-form-layout input:focus,
.edit-form-layout select:focus,
.edit-form-layout textarea:focus {
  outline: none;
  border-color: #4ade80;
  box-shadow: 0 0 0 2px rgba(74,222,128,0.13);
}

.edit-form-layout textarea {
  min-height: 90px;
  resize: vertical;
}

.edit-form-layout .form-hint {
  font-size: 0.88rem;
  color: #888;
  margin-top: 2px;
}

.edit-form-layout .form-actions {
  display: flex;
  justify-content: flex-end;
  gap: 14px;
  margin-top: 10px;
}

.edit-form-layout .btn-primary,
.edit-form-layout .btn-secondary {
  min-width: 120px;
  font-size: 1rem;
  padding: 10px 0;
  border-radius: 6px;
}

.edit-form-layout .error-message {
  background: #fee2e2;
  color: #dc2626;
  padding: 12px;
  border-radius: 6px;
  margin-bottom: 10px;
  font-size: 0.97rem;
  text-align: center;
}

@media (max-width: 700px) {
  .edit-form-layout {
    padding: 18px 6px 18px 6px;
    max-width: 98vw;
  }
  .edit-form-layout .form-grid {
    grid-template-columns: 1fr;
    gap: 18px;
  }
  .edit-form-layout .form-actions {
    flex-direction: column;
    gap: 10px;
  }
  .edit-form-layout .btn-primary,
  .edit-form-layout .btn-secondary {
    width: 100%;
  }
}

/* --- Professional Edit Form Layout --- */
.edit-form-layout {
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 6px 32px rgba(0,0,0,0.10);
  padding: 40px 36px 32px 36px;
  max-width: 600px;
  margin: 48px auto 0 auto;
  display: flex;
  flex-direction: column;
  gap: 32px;
  border: 1px solid #f1f5f9;
}

.edit-form-layout h1 {
  font-size: 2.2rem;
  font-weight: 700;
  margin-bottom: 10px;
  text-align: center;
  color: #1e293b;
  letter-spacing: -1px;
}

.edit-form-layout .form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px 28px;
}

.edit-form-layout .form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.edit-form-layout .form-group.full-width {
  grid-column: 1 / -1;
}

.edit-form-layout label {
  font-weight: 600;
  color: #334155;
  font-size: 1.02rem;
  margin-bottom: 2px;
}

.edit-form-layout input,
.edit-form-layout select,
.edit-form-layout textarea {
  padding: 12px 15px;
  border: 1.5px solid #e2e8f0;
  border-radius: 8px;
  font-size: 1.04rem;
  background: #f8fafc;
  transition: border 0.2s, box-shadow 0.2s;
  font-family: inherit;
}

.edit-form-layout input:focus,
.edit-form-layout select:focus,
.edit-form-layout textarea:focus {
  outline: none;
  border-color: #38bdf8;
  box-shadow: 0 0 0 2px rgba(56,189,248,0.13);
  background: #fff;
}

.edit-form-layout textarea {
  min-height: 110px;
  resize: vertical;
}

.edit-form-layout .form-hint {
  font-size: 0.92rem;
  color: #64748b;
  margin-top: 2px;
}

.edit-form-layout .form-actions {
  display: flex;
  justify-content: flex-end;
  gap: 16px;
  margin-top: 10px;
}

.edit-form-layout .btn-primary {
  min-width: 140px;
  font-size: 1.08rem;
  padding: 12px 0;
  border-radius: 7px;
  background: linear-gradient(90deg, #38bdf8 0%, #4ade80 100%);
  color: #fff;
  font-weight: 700;
  border: none;
  box-shadow: 0 2px 8px rgba(56,189,248,0.08);
  transition: background 0.2s, box-shadow 0.2s;
  cursor: pointer;
}

.edit-form-layout .btn-primary:hover {
  background: linear-gradient(90deg, #0ea5e9 0%, #22c55e 100%);
  box-shadow: 0 4px 16px rgba(56,189,248,0.13);
}

.edit-form-layout .btn-secondary {
  min-width: 110px;
  font-size: 1.08rem;
  padding: 12px 0;
  border-radius: 7px;
  background: #f1f5f9;
  color: #334155;
  font-weight: 600;
  border: 1.5px solid #e2e8f0;
  transition: background 0.2s, color 0.2s, border 0.2s;
  cursor: pointer;
}

.edit-form-layout .btn-secondary:hover {
  background: #e0f2fe;
  color: #0ea5e9;
  border-color: #38bdf8;
}

.edit-form-layout .error-message {
  background: #fee2e2;
  color: #dc2626;
  padding: 13px;
  border-radius: 7px;
  margin-bottom: 10px;
  font-size: 1.01rem;
  text-align: center;
  border: 1px solid #fecaca;
}

@media (max-width: 700px) {
  .edit-form-layout {
    padding: 16px 4px 16px 4px;
    max-width: 99vw;
  }
  .edit-form-layout .form-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .edit-form-layout .form-actions {
    flex-direction: column;
    gap: 10px;
  }
  .edit-form-layout .btn-primary,
  .edit-form-layout .btn-secondary {
    width: 100%;
  }
}

/* Provider Profile Layout Customization */
.provider-profile-layout {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 32px;
  width: 100%;
}

.centered-title {
  text-align: center;
  width: 100%;
  font-size: 2.2rem;
  font-weight: 700;
  margin: 0 auto 24px auto;
}

.business-info-card {
  width: 100%;
  max-width: 540px;
  margin: 0 auto;
}

.profile-bottom-row {
  display: flex;
  flex-direction: row;
  justify-content: center;
  gap: 32px;
  width: 100%;
  margin-top: 0;
}

.security-card, .quick-actions-card {
  width: 320px;
  min-width: 260px;
  max-width: 400px;
}

.quick-actions-card .quick-actions {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

@media (max-width: 900px) {
  .profile-bottom-row {
    flex-direction: column;
    align-items: center;
    gap: 24px;
  }
  .security-card, .quick-actions-card {
    width: 100%;
    max-width: 540px;
  }
}

.profile-section-header {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 0;
}

/* Remove image from card and add new styles for icon-based, image-free cards */
.card-image, .card-image img {
  display: none !important;
}

.card-header-icon {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  font-size: 2.1rem;
  font-weight: bold;
  padding: 1rem 1rem 0.5rem 1rem;
  border-radius: 16px 16px 0 0;
}
.card-header-solar { background: linear-gradient(90deg, #fbbf24 0%, #fde68a 100%); color: #b45309; }
.card-header-efficiency { background: linear-gradient(90deg, #4ade80 0%, #bbf7d0 100%); color: #166534; }
.card-header-workshop { background: linear-gradient(90deg, #38bdf8 0%, #bae6fd 100%); color: #0369a1; }
.card-header-other { background: linear-gradient(90deg, #a5b4fc 0%, #f3e8ff 100%); color: #3730a3; }

.card-title {
  font-size: 1.3rem;
  font-weight: 800;
  margin: 0.7rem 0 0.3rem 0;
  color: #222;
}
.card-category-badge {
  display: inline-block;
  padding: 0.25rem 0.8rem;
  border-radius: 999px;
  font-size: 0.93rem;
  font-weight: 600;
  margin-bottom: 0.3rem;
  background: #f3f4f6;
  color: #22c55e;
}
.card-badges {
  display: flex;
  gap: 0.7rem;
  margin-bottom: 0.7rem;
}
.card-badge-price {
  background: #e0f2fe;
  color: #0284c7;
  border-radius: 999px;
  padding: 0.2rem 0.9rem;
  font-weight: 700;
  font-size: 1rem;
}
.card-badge-availability {
  background: #dcfce7;
  color: #16a34a;
  border-radius: 999px;
  padding: 0.2rem 0.9rem;
  font-weight: 700;
  font-size: 1rem;
}
.card-content {
  padding: 1.1rem 1rem 1rem 1rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.product-card, .service-card {
  min-height: 340px;
  height: 340px;
  max-width: 350px;
  font-size: 0.95rem;
}
.card-header-icon {
  font-size: 1.3rem;
  padding: 0.7rem 0.7rem 0.3rem 0.7rem;
}
.card-title {
  font-size: 1.05rem;
}
.card-content {
  padding: 0.7rem 0.7rem 0.7rem 0.7rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.learn-more-btn {
  margin-top: auto;
}
.card-badge-price, .card-badge-availability {
  font-size: 0.92rem;
  padding: 0.15rem 0.7rem;
}

.products-page-layout .product-card {
  min-height: 190px;
  height: 300px;
  max-width: 260px;
  font-size: 0.91rem;
}
.products-page-layout .card-title {
  font-size: 0.98rem;
}
.products-page-layout .card-header-icon {
  font-size: 1.1rem;
  padding: 0.5rem 0.5rem 0.2rem 0.5rem;
}
.products-page-layout .card-content {
  padding: 0.5rem 0.5rem 0.5rem 0.5rem;
}
.products-page-layout .card-badge-price, .products-page-layout .card-badge-availability {
  font-size: 0.85rem;
  padding: 0.12rem 0.5rem;
}

/* Increase service card height only on services page */
.services-page-layout .service-card {
  min-height: 560px;
  height: 600px;
}


