/* Base Styles */
:root {
  --primary-red: #e63946;
  --primary-blue: #1d3557;
  --hover-yellow: #ffd166;
  --hover-green: #06d6a0;
  --light-gray: #f8f9fa;
  --medium-gray: #e9ecef;
  --dark-gray: #495057;
  --white: #ffffff;
  --black: #212529;
  --transition: all 0.3s ease;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  line-height: 1.6;
  color: var(--dark-gray);
  background-color: var(--white);
  overflow-x: hidden;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  text-decoration: none;
  color: inherit;
}

ul {
  list-style: none;
}

/* Typography */
h1,
h2,
h3,
h4 {
  margin-bottom: 1rem;
  line-height: 1.2;
  color: var(--black);
}

h1 {
  font-size: 2.5rem;
}

h2 {
  font-size: 2rem;
}

h3 {
  font-size: 1.5rem;
}

p {
  margin-bottom: 1rem;
}

/* Header Styles */
.header {
  background-color: var(--white);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  position: fixed;
  width: 100%;
  top: 0;
  z-index: 1000;
  padding: 1rem 0;
}

.header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  font-size: 1.8rem;
  font-weight: 700;
  font-family: 'Inter', sans-serif;
  display: flex;
  flex-wrap: wrap;
}

.bizfinder {
  color: #212121;
  transition: var(--transition);
}

/* Navigation */
.nav-list {
  display: flex;
  gap: 2rem;
}

.nav-link {
  font-weight: 600;
  padding: 0.5rem 0;
  position: relative;
  transition: var(--transition);
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--primary-red);
  transition: var(--transition);
}

.nav-link:hover::after,
.nav-link.active::after {
  width: 100%;
}

.nav-link.active {
  color: var(--primary-red);
}

/* Hamburger Menu */
.hamburger {
  display: none;
  cursor: pointer;
  background: none;
  border: none;
  padding: 10px;
  z-index: 1001;
}

.hamburger-box {
  width: 30px;
  height: 24px;
  display: inline-block;
  position: relative;
}

.hamburger-inner {
  width: 100%;
  height: 3px;
  background-color: var(--primary-blue);
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  transition: var(--transition);
}

.hamburger-inner::before,
.hamburger-inner::after {
  content: '';
  width: 100%;
  height: 3px;
  background-color: var(--primary-blue);
  position: absolute;
  left: 0;
  transition: var(--transition);
}

.hamburger-inner::before {
  top: -10px;
}

.hamburger-inner::after {
  bottom: -10px;
}

.hamburger.active .hamburger-inner {
  background-color: transparent;
}

.hamburger.active .hamburger-inner::before {
  transform: translateY(10px) rotate(45deg);
}

.hamburger.active .hamburger-inner::after {
  transform: translateY(-10px) rotate(-45deg);
}

/* Welcome Message */
.welcome-message-container {
  margin-top: 80px;
  position: relative;
  height: 60px;
}

.welcome-message {
  background-color: var(--primary-blue);
  color: var(--white);
  text-align: center;
  padding: 1rem;
  position: absolute;
  width: 100%;
  top: 0;
  left: 0;
  transition: opacity 0.5s ease, transform 0.5s ease;
}

.welcome-message.hide {
  opacity: 0;
  transform: translateY(-100%);
}

/* Search Section */
.search-section {
  padding: 2rem 0;
  background-color: var(--light-gray);
}

.search-box {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

#search-input {
  padding: 0.8rem 1rem;
  border: 1px solid var(--medium-gray);
  border-radius: 4px;
  font-size: 1rem;
  width: 100%;
}

.filter-group {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.filter-group select {
  padding: 0.8rem 1rem;
  border: 1px solid var(--medium-gray);
  border-radius: 4px;
  font-size: 1rem;
  flex: 1;
  min-width: 200px;
}

.search-btn,
.clear-btn {
  padding: 0.8rem 1.5rem;
  border: none;
  border-radius: 4px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
}

.search-btn {
  background-color: var(--primary-blue);
  color: var(--white);
}

.search-btn:hover {
  background-color: #142a4a;
}

.clear-btn {
  background-color: var(--medium-gray);
  color: var(--dark-gray);
}

.clear-btn:hover {
  background-color: #d1d7dc;
}

/* Pagination Styles */
.pagination {
  display: flex;
  justify-content: center;
  margin: 2rem 0;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.pagination-btn {
  padding: 0.5rem 1rem;
  border: 1px solid #ddd;
  background: #fff;
  border-radius: 4px;
  cursor: pointer;
  transition: all 0.3s ease;
  min-width: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.pagination-btn:hover:not(:disabled) {
  background: #f0f0f0;
}

.pagination-btn.active {
  background: #007bff;
  color: white;
  border-color: #007bff;
}

.pagination-btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.pagination-ellipsis {
  display: flex;
  align-items: center;
  padding: 0 0.5rem;
}

/* No results message */
.no-results {
  text-align: center;
  padding: 2rem;
  font-size: 1.2rem;
  color: #666;
  grid-column: 1 / -1;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .pagination {
    gap: 0.3rem;
  }

  .pagination-btn {
    padding: 0.3rem 0.6rem;
    min-width: 30px;
  }
}

/* Business Grid */
.business-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

/* Business Card Styles - Updated for multi-line names */
.business-card {
  background-color: var(--white);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  transition: var(--transition);
  position: relative;
}

.business-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 15px rgba(0, 0, 0, 0.1);
}

.business-card-header {
  display: flex;
  align-items: flex-start;
  padding: 15px;
  border-bottom: 1px solid #f0f0f0;
  position: relative;
  min-height: 80px;
}

.business-logo {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  object-fit: cover;
  margin-right: 12px;
  border: 2px solid #f0f7ff;
  flex-shrink: 0;
}

.business-name-rating {
  flex: 1;
  min-width: 0;
  padding-right: 80px;
  /* Increased space for verified badge */
}

.business-name {
  font-size: 1.1rem;
  margin: 0;
  color: var(--primary-blue);
  font-weight: 600;
  word-wrap: break-word;
  /* Allow long words to break */
  overflow-wrap: break-word;
  /* Standard property for word breaking */
  white-space: normal;
  /* Allow text to wrap */
  display: block;
  line-height: 1.3;
}

.rating-container {
  display: flex;
  align-items: center;
  margin-top: 5px;
}

.star-rating {
  color: #f59e0b;
  font-size: 0.9rem;
}

.review-count {
  font-size: 0.8rem;
  color: var(--dark-gray);
  margin-left: 5px;
}

/* Verified Badge - Fixed positioning */
.verified-badge {
  position: absolute;
  top: 15px;
  right: 15px;
  background: #06d6a0;
  color: white;
  padding: 4px 8px;
  border-radius: 4px;
  font-size: 0.75rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 4px;
  cursor: help;
  white-space: nowrap;
}

.verified-badge i {
  font-size: 0.9rem;
}

/* Image Carousel */
.carousel-container {
  position: relative;
  height: 180px;
  overflow: hidden;
}

.carousel-slides {
  display: flex;
  transition: transform 0.5s ease;
  height: 100%;
}

.carousel-slide {
  min-width: 100%;
  height: 100%;
}

.carousel-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.carousel-nav {
  position: absolute;
  top: 50%;
  width: 100%;
  display: flex;
  justify-content: space-between;
  transform: translateY(-50%);
  padding: 0 10px;
}

.carousel-btn {
  background: rgba(255, 255, 255, 0.7);
  border: none;
  border-radius: 50%;
  width: 30px;
  height: 30px;
  font-size: 16px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.3s;
  color: #333;
}

.carousel-btn:hover {
  background: rgba(255, 255, 255, 0.9);
}

/* Business Details */
.business-details {
  padding: 15px;
}

.business-info {
  margin-bottom: 12px;
}

.info-item {
  display: flex;
  align-items: center;
  margin-bottom: 8px;
  font-size: 0.9rem;
}

.info-item i {
  width: 20px;
  color: var(--primary-blue);
  margin-right: 8px;
}

.operating-hours {
  color: var(--dark-gray);
}

/* Service Tags */
.service-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  margin-top: 10px;
}

.service-tag {
  background: #f0f7ff;
  color: var(--primary-blue);
  padding: 4px 8px;
  border-radius: 4px;
  font-size: 0.75rem;
  font-weight: 500;
}

/* Reviews Section */
.business-reviews {
  margin-top: 15px;
  border-top: 1px solid #f0f0f0;
  padding-top: 10px;
}

.review-item {
  margin-bottom: 10px;
}

.review-author {
  font-weight: 600;
  font-size: 0.85rem;
}

.review-text {
  font-size: 0.8rem;
  color: var(--dark-gray);
  margin-top: 3px;
}

/* Business Actions */
.business-actions {
  display: flex;
  justify-content: space-between;
  margin-top: 15px;
}

.action-btn {
  padding: 6px 12px;
  border-radius: 4px;
  font-size: 0.8rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s;
}

/* Display Social Media */
.business-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  margin-top: 15px;
}

.action-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  background: #2ecc71;
  color: white;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  transition: background 0.3s ease;
}

.action-btn:hover {
  background: #27ae60;
}

.social-icons {
  display: flex;
  gap: 12px;
}

.social-icons a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background-color: var(--primary-blue);
  color: white;
  border-radius: 50%;
  font-size: 1.2rem;
  transition: background-color 0.3s ease, transform 0.3s ease;
}

.social-icons a:hover {
  background-color: #1d4ed8;
  transform: scale(1.1);
}

@media (max-width: 480px) {
  .business-actions {
    flex-direction: column;
    align-items: flex-start;
  }
}

/* About page */
.about-hero .hero-image {
  height: 400px;
  background-size: cover;
  background-position: center;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.about-hero .hero-overlay {
  background-color: rgba(0, 0, 0, 0.6);
  color: white;
  padding-top: 20px;
  text-align: center;
  width: 100%;
}

.about-hero h1 {
  font-size: 2.5rem;
  color: var(--white);
  margin-bottom: 1rem;
}

.about-hero p {
  font-size: 1.2rem;
  margin-bottom: 0;
}

/* Mission and Vision sections */
.about-mission,
.about-vision {
  padding: 4rem 0;
}

.mission-content,
.vision-content {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 2rem;
}

.mission-text,
.vision-text {
  flex: 1 1 50%;
  min-width: 300px;
}

.mission-image,
.vision-image {
  flex: 1 1 40%;
  min-width: 300px;
}

.mission-image img,
.vision-image img {
  width: 100%;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.about-mission h2,
.about-vision h2 {
  font-size: 2rem;
  color: #2c3e50;
  margin-bottom: 1.5rem;
  position: relative;
  padding-bottom: 0.5rem;
}

.about-mission h2::after,
.about-vision h2::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 60px;
  height: 4px;
  background-color: #3498db;
}

.about-mission p,
.about-vision p {
  font-size: 1.1rem;
  margin-bottom: 1.5rem;
  color: #555;
}

/* Values section */
.about-values {
  padding: 4rem 0;
  background-color: #f9f9f9;
}

.about-values h2 {
  text-align: center;
  font-size: 2rem;
  color: #2c3e50;
  margin-bottom: 3rem;
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.value-card {
  background: white;
  padding: 2rem;
  border-radius: 8px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  text-align: center;
  transition: transform 0.3s ease;
}

.value-card:hover {
  transform: translateY(-5px);
}

.value-icon {
  font-size: 2.5rem;
  color: #3498db;
  margin-bottom: 1.5rem;
}

.value-card h3 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
  color: #2c3e50;
}

.value-card p {
  color: #666;
}

/* Team section */
.about-team {
  padding: 4rem 0;
}

.about-team h2 {
  text-align: center;
  font-size: 2rem;
  color: #2c3e50;
  margin-bottom: 3rem;
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
}

.team-member {
  text-align: center;
  padding: 1rem;
}

.team-member img {
  width: 200px;
  height: 200px;
  border-radius: 50%;
  object-fit: cover;
  margin: 0 auto 1.5rem auto;
  display: block;
  border: 5px solid #3498db;
}

.team-member h3 {
  font-size: 1.3rem;
  margin-bottom: 0.5rem;
  color: #2c3e50;
}

.team-member p {
  color: #666;
  font-style: italic;
}

.team-member a {
  text-decoration: none;
  color: inherit;
  display: inline-block;
}

.team-member a:hover h3 {
  color: #3498db;
  text-decoration: none;
}

/* Pricing Section Styles */
.pricing-section,
.website-packages {
  padding: 5rem 0;
  background-color: #f9f9f9;
}

.section-header {
  text-align: center;
  margin-bottom: 3rem;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.section-header h2 {
  font-size: 2.25rem;
  font-weight: 700;
  color: #2c3e50;
  margin-bottom: 1rem;
  line-height: 1.2;
}

.section-subtitle {
  font-size: 1.125rem;
  color: #6b7280;
  margin-bottom: 0;
}

/* Pricing Grid - FIXED FOR HORIZONTAL LAYOUT */
.pricing-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  justify-content: center;
  margin-bottom: 2rem;
  align-items: stretch;
}

/* Pricing Cards */
.pricing-card {
  background: #ffffff;
  border-radius: 12px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
  flex: 1;
  min-width: 300px;
  max-width: 360px;
  display: flex;
  flex-direction: column;
  position: relative;
  border: 1px solid #e5e7eb;
}

.pricing-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

/* FIXED: All featured cards get the same green border like add-on-card.popular */
.pricing-card.featured {
  border: 2px solid #22C55E;
}

.pricing-badge {
  position: absolute;
  top: 1rem;
  right: 1rem;
  padding: 0.25rem 0.75rem;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  z-index: 1;
}

.pricing-card.essential .pricing-badge,
.pricing-card.starter .pricing-badge {
  background-color: rgba(59, 130, 246, 0.1);
  color: #3B82F6;
}

.pricing-card.pro .pricing-badge,
.pricing-card.standard .pricing-badge {
  background-color: rgba(34, 197, 94, 0.1);
  color: #22C55E;
}

.pricing-card.lifetime .pricing-badge,
.pricing-card.professional .pricing-badge {
  background-color: rgba(245, 158, 11, 0.1);
  color: #F59E0B;
}

.pricing-header {
  padding: 2rem 1.5rem 1.5rem;
  text-align: center;
  position: relative;
}

.pricing-card.essential .pricing-header,
.pricing-card.starter .pricing-header {
  background-color: rgba(59, 130, 246, 0.05);
  border-bottom: 2px solid #3B82F6;
}

.pricing-card.pro .pricing-header,
.pricing-card.standard .pricing-header {
  background-color: rgba(34, 197, 94, 0.05);
  border-bottom: 2px solid #22C55E;
}

.pricing-card.lifetime .pricing-header,
.pricing-card.professional .pricing-header {
  background-color: rgba(245, 158, 11, 0.05);
  border-bottom: 2px solid #F59E0B;
}

.pricing-card h3 {
  font-size: 1.25rem;
  font-weight: 600;
  color: #2c3e50;
  margin-bottom: 0.5rem;
  padding-right: 2rem;
}

.pricing-price {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 0.25rem;
  display: flex;
  align-items: flex-start;
  justify-content: center;
}

.pricing-price .currency {
  font-size: 1rem;
  margin-top: 0.5rem;
  margin-right: 0.25rem;
}

.pricing-price .amount {
  line-height: 1;
}

.pricing-card.essential .pricing-price,
.pricing-card.starter .pricing-price {
  color: #3B82F6;
}

.pricing-card.pro .pricing-price,
.pricing-card.standard .pricing-price {
  color: #22C55E;
}

.pricing-card.lifetime .pricing-price,
.pricing-card.professional .pricing-price {
  color: #F59E0B;
}

.pricing-period {
  font-size: 0.875rem;
  color: #6b7280;
}

.pricing-body {
  padding: 1.5rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.plan-description {
  text-align: center;
  margin-bottom: 1.5rem;
  color: #4b5563;
  font-size: 0.9375rem;
}

.pricing-features {
  list-style: none;
  margin-bottom: 2rem;
  flex: 1;
}

.pricing-features li {
  padding: 0.5rem 0;
  display: flex;
  align-items: flex-start;
  font-size: 0.9375rem;
}

.pricing-features li i {
  margin-right: 0.75rem;
  margin-top: 0.15rem;
  flex-shrink: 0;
}

.pricing-card.essential .pricing-features li i,
.pricing-card.starter .pricing-features li i {
  color: #3B82F6;
}

.pricing-card.pro .pricing-features li i,
.pricing-card.standard .pricing-features li i {
  color: #22C55E;
}

.pricing-card.lifetime .pricing-features li i,
.pricing-card.professional .pricing-features li i {
  color: #F59E0B;
}

.pricing-cta {
  margin-top: auto;
}

.recommended-text {
  font-size: 0.8125rem;
  text-align: center;
  margin-top: 0.75rem;
  color: #6b7280;
  font-style: italic;
}

/* Buttons */
.pricing-btn,
.btn {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  border-radius: 8px;
  font-weight: 600;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
  width: 100%;
  border: none;
}

.pricing-btn {
  background-color: #22C55E;
  color: white;
}

.pricing-btn:hover {
  background-color: #16a34a;
  transform: translateY(-2px);
}

.btn-group {
  display: flex;
  gap: 0.75rem;
}

.btn-primary {
  background-color: #22C55E;
  color: white;
}

.btn-primary:hover {
  background-color: #16a34a;
}

.btn-outline {
  background-color: transparent;
  border: 1px solid #e5e7eb;
  color: #4b5563;
}

.btn-outline:hover {
  background-color: #f3f4f6;
}

/* Add-Ons Section */
.add-ons-section {
  margin-top: 4rem;
  padding-top: 3rem;
  border-top: 1px solid #e5e7eb;
}

.add-ons-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.5rem;
  margin-top: 2rem;
}

.add-on-card {
  background: #ffffff;
  border-radius: 12px;
  padding: 1.75rem;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
  transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
  border: 1px solid #e5e7eb;
  position: relative;
  display: flex;
  flex-direction: column;
}

.add-on-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.add-on-card.popular {
  border: 2px solid #22C55E;
}

.popular-badge {
  position: absolute;
  top: -10px;
  right: 1rem;
  background-color: #22C55E;
  color: white;
  padding: 0.25rem 0.75rem;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 600;
}

.add-on-icon {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
  background-color: rgba(59, 130, 246, 0.1);
  color: #3B82F6;
}

.add-on-card:nth-child(2) .add-on-icon {
  background-color: rgba(34, 197, 94, 0.1);
  color: #22C55E;
}

.add-on-card:nth-child(3) .add-on-icon {
  background-color: rgba(245, 158, 11, 0.1);
  color: #F59E0B;
}

.add-on-card:nth-child(4) .add-on-icon {
  background-color: rgba(139, 92, 246, 0.1);
  color: #8b5cf6;
}

.add-on-card h3 {
  font-size: 1.125rem;
  font-weight: 600;
  color: #2c3e50;
  margin-bottom: 0.5rem;
}

.add-on-description {
  font-size: 0.875rem;
  color: #6b7280;
  margin-bottom: 1rem;
}

.add-on-features {
  list-style: none;
  margin-bottom: 1.5rem;
}

.add-on-features li {
  font-size: 0.875rem;
  padding: 0.25rem 0;
  display: flex;
  align-items: flex-start;
}

.add-on-features li i {
  margin-right: 0.5rem;
  color: #22C55E;
  font-size: 0.75rem;
  margin-top: 0.25rem;
}

.add-on-price {
  font-size: 1.25rem;
  font-weight: 700;
  color: #3B82F6;
  margin-top: auto;
}

.add-on-card:nth-child(2) .add-on-price {
  color: #22C55E;
}

.add-on-card:nth-child(3) .add-on-price {
  color: #F59E0B;
}

.add-on-card:nth-child(4) .add-on-price {
  color: #8b5cf6;
}

/* Responsive Adjustments - FIXED */
@media (max-width: 768px) {

  .pricing-section,
  .website-packages {
    padding: 3rem 0;
  }

  .section-header h2 {
    font-size: 1.75rem;
  }

  .section-subtitle {
    font-size: 1rem;
  }

  .pricing-price {
    font-size: 2rem;
  }

  .btn-group {
    flex-direction: column;
  }

  .pricing-grid {
    flex-direction: column;
    align-items: center;
  }

  .pricing-card {
    max-width: 100%;
  }
}

@media (max-width: 480px) {
  .add-ons-grid {
    grid-template-columns: 1fr;
  }

  .pricing-card {
    min-width: 100%;
  }

  .pricing-features li {
    font-size: 0.875rem;
  }

  .pricing-badge {
    font-size: 0.65rem;
    padding: 0.2rem 0.6rem;
  }

  .pricing-header {
    padding: 1.5rem 1rem 1rem;
  }

  .pricing-body {
    padding: 1rem;
  }
}

/* Contact Page */
.contact-hero .hero-image {
  height: 400px;
  background-image: url('https://images.pexels.com/photos/27406/pexels-photo-27406.jpg');
  background-size: cover;
  background-position: center;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.contact-hero .hero-overlay {
  background-color: rgba(0, 0, 0, 0.6);
  color: white;
  padding-top: 20px;
  padding: 2rem;
  text-align: center;
  width: 100%;
}

.contact-hero h1 {
  font-size: 2.5rem;
  color: white;
  margin-bottom: 1rem;
  text-transform: none;
  letter-spacing: normal;
}

.contact-hero p {
  font-size: 1.2rem;
  margin-bottom: 0;
}

.contact-content {
  padding: 4rem 0;
}

.contact-info {
  max-width: 1200px;
  margin: 0 auto;
}

.contact-info h2 {
  font-size: 2rem;
  color: #2c3e50;
  margin-bottom: 1.5rem;
  text-align: center;
}

.contact-info>p {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 3rem auto;
  color: #555;
  font-size: 1.1rem;
  line-height: 1.6;
}

.contact-methods {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-bottom: 3rem;
}

.contact-method {
  background: white;
  padding: 2rem;
  border-radius: 8px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  text-align: center;
  transition: transform 0.3s ease;
}

.contact-method:hover {
  transform: translateY(-5px);
}

.contact-icon {
  font-size: 2.5rem;
  color: #3498db;
  margin-bottom: 1rem;
}

.contact-method h3 {
  font-size: 1.3rem;
  margin-bottom: 0.5rem;
  color: #2c3e50;
}

.contact-method a,
.contact-method p {
  color: #555;
  font-size: 1.1rem;
  display: block;
  margin-bottom: 0;
}

.contact-method a:hover {
  color: #3498db;
}

.contact-social {
  text-align: center;
  padding: 2rem 0;
}

.contact-social h3 {
  font-size: 1.5rem;
  margin-bottom: 1.5rem;
  color: #2c3e50;
}

.social-links {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
}

.social-links a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: #3498db;
  color: white;
  font-size: 1.2rem;
  transition: all 0.3s ease;
}

.social-links a:hover {
  background-color: #2c3e50;
  transform: translateY(-3px);
}

/* FAQ Hero Section */
.faq-hero {
  background-color: var(--primary-blue);
  color: var(--white);
  padding: 4rem 0;
  text-align: center;
  margin-top: 80px;
}

.faq-hero h1 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  color: white;
}

.faq-hero p {
  font-size: 1.2rem;
  opacity: 0.9;
}

/* FAQ Section */
.faq-section {
  padding: 4rem 0;
}

.faq-container {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  margin-bottom: 1rem;
  border: 1px solid var(--medium-gray);
  border-radius: 8px;
  overflow: hidden;
  transition: var(--transition);
}

.faq-item:hover {
  border-color: var(--primary-blue);
}

.faq-question {
  padding: 1.5rem;
  background-color: var(--light-gray);
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
}

.faq-question h3 {
  margin: 0;
  font-size: 1.1rem;
  color: var(--primary-blue);
}

.faq-question i {
  transition: transform 0.3s ease;
}

.faq-question i.rotate {
  transform: rotate(180deg);
}

.faq-answer {
  padding: 0 1.5rem;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease, padding 0.3s ease;
}

.faq-answer.active {
  padding: 1.5rem;
  max-height: 500px;
}

.faq-answer p,
.faq-answer ul {
  margin-bottom: 1rem;
}

.faq-answer ul {
  padding-left: 1.5rem;
}

.faq-answer a {
  color: var(--primary-blue);
  text-decoration: underline;
}

/* Responsive Styles */
@media (max-width: 768px) {
  .faq-hero {
    padding: 3rem 0;
  }

  .faq-hero h1 {
    font-size: 2rem;
  }

  .faq-question h3 {
    font-size: 1rem;
  }

  .faq-section {
    padding: 2rem 0;
  }
}

@media (max-width: 480px) {
  .faq-hero {
    padding: 2rem 0;
  }

  .faq-question {
    padding: 1rem;
  }

  .faq-answer.active {
    padding: 1rem;
  }
}


/* Invoice Generator Specific Styles */
.invoice-hero {
  background-color: var(--primary-blue);
  color: var(--white);
  padding: 4rem 0;
  text-align: center;
  margin-top: 80px;
}

.invoice-hero h1 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.invoice-hero p {
  font-size: 1.2rem;
  opacity: 0.9;
}

.app-container {
  display: flex;
  flex-direction: column;
  gap: 30px;
  padding: 2rem 0;
}

@media (min-width: 992px) {
  .app-container {
    flex-direction: row;
  }
}

.form-section {
  flex: 1;
  background-color: white;
  padding: 25px;
  border-radius: 8px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.preview-section {
  flex: 1;
  background-color: white;
  padding: 25px;
  border-radius: 8px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  position: relative;
}

.form-group {
  margin-bottom: 20px;
}

label {
  display: block;
  margin-bottom: 8px;
  font-weight: 600;
  color: var(--primary-blue);
}

input,
textarea,
select {
  width: 100%;
  padding: 10px;
  border: 1px solid #ddd;
  border-radius: 4px;
  font-size: 16px;
}

input:focus,
textarea:focus,
select:focus {
  outline: none;
  border-color: var(--primary-blue);
}

.row {
  display: flex;
  gap: 15px;
}

.row .form-group {
  flex: 1;
}

.btn {
  display: inline-block;
  padding: 10px 20px;
  background-color: var(--primary-blue);
  color: white;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  font-size: 16px;
  font-weight: 600;
  transition: var(--transition);
  text-align: center;
}

.btn:hover {
  background-color: #142a4a;
}

.btn-danger {
  background-color: var(--primary-red);
}

.btn-danger:hover {
  background-color: #c0352c;
}

.btn-success {
  background-color: var(--hover-green);
}

.btn-success:hover {
  background-color: #05b58f;
}

.btn-group {
  display: flex;
  gap: 10px;
  margin-top: 20px;
}

/* Invoice Items */
.invoice-items {
  margin-bottom: 20px;
}

.item-row {
  display: flex;
  gap: 10px;
  margin-bottom: 10px;
  align-items: flex-end;
}

.item-row .form-group {
  margin-bottom: 0;
}

.item-description {
  flex: 3;
}

.item-quantity {
  flex: 1;
}

.item-price {
  flex: 2;
}

.item-actions {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
}

.remove-item {
  background: none;
  border: none;
  color: var(--primary-red);
  cursor: pointer;
  font-size: 20px;
  padding: 5px;
}

.add-item {
  margin-top: 10px;
}

/* Invoice Preview */
.invoice-preview {
  background-color: white;
  padding: 30px;
  min-height: 100%;
  width: 100%;
}

.invoice-header {
  display: flex;
  justify-content: space-between;
  margin-bottom: 30px;
}

.invoice-title {
  font-size: 24px;
  font-weight: bold;
  color: var(--primary-blue);
  margin-bottom: 5px;
}

.invoice-number {
  color: var(--dark-gray);
  margin-bottom: 20px;
}

.invoice-details {
  display: flex;
  justify-content: space-between;
  margin-bottom: 30px;
}

.invoice-from,
.invoice-to {
  flex: 1;
}

.invoice-from h3,
.invoice-to h3 {
  margin-bottom: 10px;
  color: var(--primary-blue);
}

.invoice-dates {
  display: flex;
  justify-content: space-between;
  margin-bottom: 30px;
}

.invoice-date,
.invoice-due-date {
  flex: 1;
}

.invoice-date p,
.invoice-due-date p {
  margin-bottom: 5px;
}

.invoice-date strong,
.invoice-due-date strong {
  color: var(--primary-blue);
}

.invoice-table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 30px;
}

.invoice-table th {
  background-color: var(--light-gray);
  padding: 10px;
  text-align: left;
}

.invoice-table td {
  padding: 10px;
  border-bottom: 1px solid var(--medium-gray);
}

.invoice-table tr:last-child td {
  border-bottom: none;
}

.text-right {
  text-align: right;
}

.invoice-totals {
  width: 100%;
  max-width: 300px;
  margin-left: auto;
}

.invoice-totals table {
  width: 100%;
}

.invoice-totals td {
  padding: 8px 0;
}

.invoice-totals tr:last-child td {
  font-weight: bold;
  font-size: 18px;
  border-top: 1px solid var(--medium-gray);
}

.invoice-notes {
  margin-top: 30px;
  padding-top: 20px;
  border-top: 1px solid var(--medium-gray);
}

.invoice-notes h4 {
  margin-bottom: 10px;
  color: var(--primary-blue);
}

/* Footer Styles */
.footer {
  background-color: var(--primary-blue);
  color: var(--white);
  padding: 3rem 0 1rem;
  margin-top: 3rem;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
  margin-bottom: 2rem;
}

.footer-logo {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.footer-links ul {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.footer-links a {
  transition: var(--transition);
}

.footer-links a:hover {
  color: var(--hover-yellow);
}

.footer-social {
  display: flex;
  gap: 1rem;
}

.footer-social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  transition: var(--transition);
}

.footer-social a:hover {
  background-color: var(--hover-yellow);
  color: var(--primary-blue);
  transform: translateY(-3px);
}

.footer-bottom {
  text-align: center;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 0.9rem;
}

/* Responsive Styles */
@media (max-width: 768px) {
  .hamburger {
    display: inline-block;
  }

  .nav-list {
    position: fixed;
    top: 80px;
    left: -100%;
    width: 100%;
    height: calc(100vh - 80px);
    background-color: var(--white);
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2rem;
    transition: var(--transition);
    z-index: 999;
  }

  .nav-list.active {
    left: 0;
  }

  .welcome-message-container {
    margin-top: 70px;
  }

  .filter-group {
    flex-direction: column;
  }

  .filter-group select,
  .search-btn,
  .clear-btn {
    width: 100%;
  }

  .business-grid {
    grid-template-columns: 1fr;
  }

  .business-card-header {
    flex-direction: row;
    flex-wrap: nowrap;
  }

  .business-logo {
    margin-bottom: 0;
    margin-right: 12px;
  }
}

@media (max-width: 480px) {
  .logo {
    font-size: 1.5rem;
  }

  .business-card-header {
    min-height: auto;
    padding-bottom: 15px;
  }

  .business-name {
    white-space: normal;
    overflow: visible;
    padding-right: 0;
  }

  .verified-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    margin-top: 0;
  }
}