/* Smooth scrolling */
html {
  scroll-behavior: smooth;
}

/* Focus styles for accessibility */
a:focus,
button:focus,
select:focus,
input:focus {
  outline: 2px solid var(--primary-orange);
  outline-offset: 2px;
}

/* ========================================
   BUSINESS DETAILS MODAL
   ======================================== */
.business-modal {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 9999;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.business-modal.active {
  display: flex;
}

.business-modal-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(54, 69, 79, 0.9);
  backdrop-filter: blur(5px);
  animation: fadeIn 0.3s ease;
}

.business-modal-content {
  position: relative;
  background: var(--white);
  border-radius: 16px;
  max-width: 900px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
  animation: slideUp 0.4s ease;
  z-index: 10000;
}

.business-modal-close {
  position: absolute;
  top: 15px;
  right: 15px;
  width: 40px;
  height: 40px;
  background: var(--primary-charcoal);
  color: var(--white);
  border: none;
  border-radius: 50%;
  cursor: pointer;
  font-size: 1.2rem;
  transition: var(--transition);
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: center;
}

.business-modal-close:hover {
  background: var(--primary-orange);
  transform: rotate(90deg);
}

.business-modal-body {
  padding: 30px;
}

.modal-loading {
  text-align: center;
  padding: 60px 20px;
}

.modal-loading i {
  font-size: 3rem;
  color: var(--primary-orange);
  margin-bottom: 20px;
}

.modal-loading p {
  color: var(--text-light);
  font-size: 1.1rem;
}

.modal-error {
  text-align: center;
  padding: 60px 20px;
}

.modal-error i {
  font-size: 3rem;
  color: #dc3545;
  margin-bottom: 20px;
}

.modal-error p {
  color: var(--text-dark);
  font-size: 1.1rem;
}

/* Modal Header Section */
.modal-header-section {
  display: grid;
  grid-template-columns: 250px 1fr;
  gap: 25px;
  margin-bottom: 30px;
  padding-bottom: 25px;
  border-bottom: 2px solid var(--border-gray);
}

.modal-business-image {
  position: relative;
  width: 250px;
  height: 250px;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: var(--shadow-md);
}

.modal-business-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.verified-badge-large {
  position: absolute;
  bottom: 10px;
  left: 10px;
  right: 10px;
  background: var(--primary-orange);
  color: var(--white);
  padding: 8px 12px;
  border-radius: 20px;
  font-size: 0.9rem;
  font-weight: 600;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  box-shadow: var(--shadow-sm);
}

.modal-business-header h2 {
  font-size: 2rem;
  font-weight: 700;
  color: var(--primary-charcoal);
  margin: 0 0 15px 0;
}

.modal-location,
.modal-address {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--text-light);
  font-size: 1rem;
  margin-bottom: 10px;
}

.modal-location i,
.modal-address i {
  color: var(--primary-orange);
  font-size: 1.2rem;
}

/* Modal Details Grid */
.modal-details-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 25px;
  margin-bottom: 30px;
}

.modal-section {
  background: var(--light-gray);
  padding: 20px;
  border-radius: 12px;
}

.modal-section-full {
  grid-column: 1 / -1;
}

.modal-section h3 {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--primary-charcoal);
  margin: 0 0 15px 0;
  display: flex;
  align-items: center;
  gap: 10px;
}

.modal-section h3 i {
  color: var(--primary-orange);
}

.modal-about {
  color: var(--text-dark);
  line-height: 1.8;
  white-space: pre-line;
}

.modal-products-services {
  color: var(--text-dark);
  line-height: 1.8;
}

/* Modal Contact Grid */
.modal-contact-grid {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.modal-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 15px;
  padding: 15px;
  background: var(--white);
  border-radius: 8px;
  transition: var(--transition);
}

.modal-contact-item:hover {
  box-shadow: var(--shadow-sm);
}

.modal-contact-item i {
  font-size: 1.5rem;
  color: var(--primary-orange);
  margin-top: 2px;
}

.modal-contact-item div {
  flex: 1;
}

.modal-contact-item strong {
  display: block;
  font-weight: 600;
  color: var(--primary-charcoal);
  margin-bottom: 5px;
  font-size: 0.9rem;
}

.modal-contact-item a {
  color: var(--text-dark);
  text-decoration: none;
  transition: var(--transition);
}

.modal-contact-item a:hover {
  color: var(--primary-orange);
}

/* Modal Social Links */
.modal-social-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.modal-social-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  background: var(--white);
  color: var(--text-dark);
  text-decoration: none;
  border-radius: 8px;
  font-weight: 600;
  transition: var(--transition);
  border: 2px solid transparent;
}

.modal-social-btn:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-sm);
}

.modal-social-btn.facebook {
  border-color: #1877F2;
}

.modal-social-btn.facebook:hover {
  background: #1877F2;
  color: var(--white);
}

.modal-social-btn.instagram {
  border-color: #E4405F;
}

.modal-social-btn.instagram:hover {
  background: #E4405F;
  color: var(--white);
}

.modal-social-btn.twitter {
  border-color: #1DA1F2;
}

.modal-social-btn.twitter:hover {
  background: #1DA1F2;
  color: var(--white);
}

/* Modal Products Grid */
.modal-products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 15px;
  margin-top: 15px;
}

.modal-product-card {
  background: var(--white);
  border-radius: 10px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

.modal-product-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.modal-product-card img {
  width: 100%;
  height: 150px;
  object-fit: cover;
}

.modal-product-card h4 {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--primary-charcoal);
  margin: 0;
  padding: 12px 12px 8px 12px;
  line-height: 1.3;
  height: 50px;
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.modal-product-price {
  font-size: 1rem;
  font-weight: 700;
  color: var(--primary-orange);
  margin: 0;
  padding: 0 12px 12px 12px;
}

.modal-view-all {
  text-align: center;
  margin-top: 20px;
}

.btn-view-all-products {
  display: inline-block;
  padding: 12px 30px;
  background: linear-gradient(135deg, var(--primary-orange) 0%, #FFB833 100%);
  color: var(--white);
  text-decoration: none;
  border-radius: 8px;
  font-weight: 600;
  transition: var(--transition);
}

.btn-view-all-products:hover {
  background: linear-gradient(135deg, var(--primary-charcoal) 0%, #4A5D6E 100%);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

/* Modal Footer */
.modal-footer {
  display: flex;
  justify-content: flex-end;
  gap: 15px;
  padding-top: 25px;
  border-top: 2px solid var(--border-gray);
}

.btn-secondary,
.btn-primary {
  padding: 12px 30px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  transition: var(--transition);
  border: 2px solid transparent;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.btn-secondary {
  background: var(--light-gray);
  color: var(--primary-charcoal);
  border-color: var(--border-gray);
}

.btn-secondary:hover {
  background: var(--white);
  border-color: var(--primary-charcoal);
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary-orange) 0%, #FFB833 100%);
  color: var(--white);
  border-color: var(--primary-orange);
}

.btn-primary:hover {
  background: linear-gradient(135deg, var(--primary-charcoal) 0%, #4A5D6E 100%);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

/* Modal Animations */
@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes slideUp {
  from {
    opacity: 0;
    transform: translateY(50px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Modal Responsive Design */
@media only screen and (max-width: 768px) {
  .business-modal {
    padding: 10px;
  }

  .business-modal-content {
    max-height: 95vh;
    border-radius: 12px;
  }

  .business-modal-body {
    padding: 20px 15px;
  }

  .modal-header-section {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .modal-business-image {
    width: 100%;
    height: 200px;
    margin: 0 auto;
  }

  .modal-details-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .modal-products-grid {
    grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
    gap: 10px;
  }

  .modal-product-card img {
    height: 120px;
  }

  .modal-footer {
    flex-direction: column;
  }

  .btn-secondary,
  .btn-primary {
    width: 100%;
    justify-content: center;
  }

  .modal-social-links {
    flex-direction: column;
  }

  .modal-social-btn {
    width: 100%;
    justify-content: center;
  }
}

@media only screen and (max-width: 480px) {
  .business-modal-close {
    width: 35px;
    height: 35px;
    font-size: 1rem;
  }

  .modal-business-header h2 {
    font-size: 1.5rem;
  }

  .modal-section h3 {
    font-size: 1.1rem;
  }

  .modal-products-grid {
    grid-template-columns: 1fr;
  }

  .modal-contact-grid {
    gap: 10px;
  }

  .modal-contact-item {
    padding: 12px;
  }
}/* ========================================
   NAMIDOR BUSINESS DIRECTORY STYLES
   Company Colors: #36454F (Charcoal), #FFA500 (Orange), #FFFFFF (White)
   ======================================== */

:root {
  --primary-charcoal: #36454F;
  --primary-orange: #FFA500;
  --white: #FFFFFF;
  --light-gray: #F8F9FA;
  --medium-gray: #E8E8E8;
  --border-gray: #DCDCDC;
  --text-dark: #2C2C2C;
  --text-light: #666666;
  --shadow-sm: 0 2px 8px rgba(54, 69, 79, 0.08);
  --shadow-md: 0 4px 16px rgba(54, 69, 79, 0.12);
  --shadow-lg: 0 8px 24px rgba(54, 69, 79, 0.16);
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ========================================
   MAIN CONTAINER
   ======================================== */
.business-directory-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0;
  background: var(--light-gray);
}

/* ========================================
   HERO SECTION
   ======================================== */
.business-directory-hero {
  background: var(--white);
  padding: 5px 20px;
  color: var(--primary-charcoal);
  position: relative;
  border-bottom: 3px solid var(--primary-orange);
  box-shadow: var(--shadow-sm);
}

.business-directory-hero::before {
  display: none;
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}

.business-directory-hero h1 {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 5px;
  color: var(--primary-charcoal);
}

.business-directory-hero p {
  font-size: 0.9rem;
  margin-bottom: 10px;
  color: var(--text-light);
}

/* Minimized hero state when filters are active */
.business-directory-hero.minimized {
  padding: 30px 20px 40px 20px;
}

.business-directory-hero.minimized h1 {
  font-size: 1.8rem;
  margin-bottom: 10px;
}

.business-directory-hero.minimized p {
  font-size: 1rem;
  margin-bottom: 20px;
}

.business-directory-hero.minimized .hero-search-container {
  margin-bottom: 30px;
}

.business-directory-hero.minimized .directory-stats {
  display: none;
}

/* Hero Search */
.hero-search-container {
  max-width: 700px;
  margin: 0 auto 50px auto;
}

.hero-search-form {
  display: flex;
  gap: 10px;
  background: var(--white);
  padding: 8px;
  border-radius: 50px;
  box-shadow: var(--shadow-lg);
}

.search-input-wrapper {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 0 20px;
}

.search-input-wrapper i {
  color: var(--text-light);
  font-size: 1.2em;
}

.hero-search-input {
  flex: 1;
  border: none;
  outline: none;
  font-size: 1rem;
  padding: 12px 0;
  color: var(--text-dark);
}

.hero-search-input::placeholder {
  color: var(--text-light);
}

.hero-search-btn {
  background: linear-gradient(135deg, var(--primary-orange) 0%, #FFB833 100%);
  color: var(--white);
  border: none;
  padding: 14px 32px;
  border-radius: 50px;
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  transition: var(--transition);
  white-space: nowrap;
}

.hero-search-btn:hover {
  transform: scale(1.05);
  box-shadow: 0 4px 12px rgba(255, 165, 0, 0.4);
}

/* Directory Stats */
.directory-stats {
  display: flex;
  justify-content: center;
  gap: 60px;
  margin-top: 50px;
  flex-wrap: wrap;
}

.stat-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

.stat-item i {
  font-size: 2.5rem;
  color: var(--primary-orange);
  margin-bottom: 8px;
}

.stat-number {
  font-size: 2rem;
  font-weight: 700;
}

.stat-label {
  font-size: 0.9rem;
  opacity: 0.9;
}

/* ========================================
   MAIN CONTENT LAYOUT
   ======================================== */
.directory-main-content {
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: 25px;
  padding: 30px 20px;
  max-width: 1400px;
  margin: 0 auto;
}

/* ========================================
   SIDEBAR FILTERS
   ======================================== */
.directory-sidebar {
  position: sticky;
  top: 20px;
  height: fit-content;
}

.sidebar-header {
  background: var(--white);
  padding: 20px;
  border-radius: 12px 12px 0 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 3px solid var(--primary-orange);
}

.sidebar-header h2 {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--primary-charcoal);
  margin: 0;
  display: flex;
  align-items: center;
  gap: 10px;
}

.clear-filters {
  color: var(--primary-orange);
  font-size: 0.9rem;
  font-weight: 600;
  text-decoration: none;
  transition: var(--transition);
}

.clear-filters:hover {
  color: var(--primary-charcoal);
}

.mobile-filter-toggle {
  display: none;
  width: 100%;
  padding: 15px;
  background: var(--white);
  border: 2px solid var(--primary-orange);
  border-radius: 10px;
  color: var(--primary-charcoal);
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  margin-bottom: 15px;
  transition: var(--transition);
}

.mobile-filter-toggle i {
  margin-right: 8px;
}

.mobile-filter-toggle:hover {
  background: var(--primary-orange);
  color: var(--white);
}

.sidebar-content {
  background: var(--white);
  border-radius: 0 0 12px 12px;
  box-shadow: var(--shadow-md);
  overflow: hidden;
}

/* Filter Sections */
.filter-section {
  border-bottom: 1px solid var(--border-gray);
  padding: 20px;
}

.filter-section:last-child {
  border-bottom: none;
}

.filter-title {
  font-weight: 700;
  font-size: 1rem;
  color: var(--primary-charcoal);
  margin-bottom: 15px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.filter-title i {
  color: var(--primary-orange);
}

.filter-content {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.filter-select {
  width: 100%;
  padding: 12px 15px;
  border: 2px solid var(--border-gray);
  border-radius: 8px;
  font-size: 0.95rem;
  color: var(--text-dark);
  background: var(--white);
  cursor: pointer;
  transition: var(--transition);
}

.filter-select:hover,
.filter-select:focus {
  border-color: var(--primary-orange);
  outline: none;
}

/* Category Pills */
.category-pills {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.category-pill {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 15px;
  background: var(--light-gray);
  border-radius: 8px;
  color: var(--text-dark);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
  transition: var(--transition);
}

.category-pill i {
  color: var(--primary-orange);
  font-size: 1.1em;
}

.category-pill:hover {
  background: var(--primary-orange);
  color: var(--white);
  transform: translateX(5px);
}

.category-pill:hover i {
  color: var(--white);
}

/* Sidebar CTA */
.sidebar-cta {
  background: linear-gradient(135deg, var(--primary-charcoal) 0%, #4A5D6E 100%);
  color: var(--white);
  padding: 25px 20px;
  text-align: center;
  margin-top: 20px;
  border-radius: 12px;
}

.sidebar-cta i {
  font-size: 2.5rem;
  color: var(--primary-orange);
  margin-bottom: 15px;
}

.sidebar-cta h3 {
  font-size: 1.2rem;
  font-weight: 700;
  margin: 15px 0 10px 0;
}

.sidebar-cta p {
  font-size: 0.9rem;
  opacity: 0.9;
  margin-bottom: 20px;
}

.cta-btn {
  display: inline-block;
  padding: 12px 30px;
  background: var(--primary-orange);
  color: var(--white);
  text-decoration: none;
  border-radius: 50px;
  font-weight: 600;
  font-size: 0.95rem;
  transition: var(--transition);
  box-shadow: var(--shadow-sm);
}

.cta-btn:hover {
  background: var(--white);
  color: var(--primary-charcoal);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

/* ========================================
   LISTINGS SECTION
   ======================================== */
.directory-listings {
  min-height: 600px;
}

/* Listings Header */
.listings-header {
  background: var(--white);
  padding: 20px 25px;
  border-radius: 12px;
  margin-bottom: 25px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
  box-shadow: var(--shadow-sm);
}

.results-info h2 {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary-charcoal);
  margin: 0 0 8px 0;
}

.results-info p {
  font-size: 0.95rem;
  color: var(--text-light);
  margin: 0;
}

.sort-options {
  display: flex;
  align-items: center;
  gap: 10px;
}

.sort-options label {
  font-weight: 600;
  color: var(--text-dark);
  font-size: 0.95rem;
}

.sort-select {
  padding: 10px 15px;
  border: 2px solid var(--border-gray);
  border-radius: 8px;
  font-size: 0.95rem;
  color: var(--text-dark);
  background: var(--white);
  cursor: pointer;
  transition: var(--transition);
  min-width: 180px;
}

.sort-select:hover,
.sort-select:focus {
  border-color: var(--primary-orange);
  outline: none;
}

/* ========================================
   BUSINESS CARDS GRID
   ======================================== */

.business-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-bottom: 40px;
}

.business-card {
  background: var(--white);
  border-radius: 10px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  border: 2px solid transparent;
  display: flex;
  flex-direction: column;
  height: 100%; /* Ensures uniform height */
}

.business-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: var(--primary-orange);
}

/* Business Logo - Fixed Height */
.business-logo {
  position: relative;
  height: 160px; /* Reduced from 200px */
  background: var(--light-gray);
  overflow: hidden;
}

.business-logo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.business-card:hover .business-logo img {
  transform: scale(1.05);
}

.verified-badge {
  position: absolute;
  top: 10px;
  right: 10px;
  background: var(--primary-orange);
  color: var(--white);
  width: 30px;
  height: 30px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  box-shadow: var(--shadow-md);
  z-index: 10;
}

/* Business Info - Uniform Spacing */
.business-info {
  padding: 15px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.business-name {
  font-size: 1.05rem; /* Reduced from 1.3rem */
  font-weight: 700;
  margin: 0 0 8px 0;
  line-height: 1.3;
  height: 2.6em; /* Fixed height for 2 lines */
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.business-name a {
  color: var(--primary-charcoal);
  text-decoration: none;
  transition: var(--transition);
}

.business-name a:hover {
  color: var(--primary-orange);
}

.business-location {
  display: flex;
  align-items: center;
  gap: 6px;
  color: var(--text-light);
  font-size: 0.8rem; /* Reduced from 0.95rem */
  margin-bottom: 8px;
}

.business-location i {
  color: var(--primary-orange);
  font-size: 0.9rem;
}

.business-products {
  display: flex;
  align-items: flex-start;
  gap: 6px;
  color: var(--text-dark);
  font-size: 0.78rem; /* Reduced from 0.9rem */
  margin-bottom: 8px;
  line-height: 1.4;
  height: 2.8em; /* Fixed height for 2 lines */
  overflow: hidden;
}

.business-products i {
  color: var(--primary-orange);
  margin-top: 2px;
  flex-shrink: 0;
  font-size: 0.85rem;
}

.business-about {
  color: var(--text-light);
  font-size: 0.78rem; /* Reduced from 0.9rem */
  line-height: 1.5;
  margin-bottom: 10px;
  height: 4.5em; /* Fixed height for 3 lines */
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
}

/* Contact Info - Compact */
.business-contact {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 10px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--border-gray);
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 4px;
  color: var(--primary-charcoal);
  text-decoration: none;
  font-size: 0.75rem; /* Reduced from 0.9rem */
  font-weight: 500;
  transition: var(--transition);
}

.contact-item i {
  color: var(--primary-orange);
  font-size: 0.85rem;
}

.contact-item:hover {
  color: var(--primary-orange);
}

.contact-item.shop-link {
  color: var(--primary-orange);
  font-weight: 600;
}

.contact-item.shop-link:hover {
  color: var(--primary-charcoal);
}

/* Social Media - Compact */
.business-social {
  display: flex;
  gap: 8px;
  margin-bottom: 10px;
}

.business-social a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 28px; /* Reduced from 35px */
  height: 28px;
  background: var(--light-gray);
  color: var(--primary-charcoal);
  border-radius: 50%;
  text-decoration: none;
  font-size: 0.95rem; /* Reduced from 1.1rem */
  transition: var(--transition);
}

.business-social a:hover {
  background: var(--primary-orange);
  color: var(--white);
  transform: translateY(-2px);
}

/* View Button - Compact */
.view-business-btn {
  display: block;
  width: 100%;
  padding: 10px; /* Reduced from 12px */
  background: linear-gradient(135deg, var(--primary-orange) 0%, #FFB833 100%);
  color: var(--white);
  text-align: center;
  text-decoration: none;
  border-radius: 6px;
  font-weight: 600;
  font-size: 0.85rem; /* Reduced from 0.95rem */
  transition: var(--transition);
  margin-top: auto;
  border: none;
  cursor: pointer;
}

.view-business-btn:hover {
  background: linear-gradient(135deg, var(--primary-charcoal) 0%, #4A5D6E 100%);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.view-business-btn i {
  font-size: 0.8rem;
}

/* ========================================
   RESPONSIVE ADJUSTMENTS
   ======================================== */

/* Large Tablets and Small Desktops */
@media only screen and (max-width: 1200px) {
  .business-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
  }
  
  .business-name {
    font-size: 1rem;
  }
  
  .business-location {
    font-size: 0.78rem;
  }
  
  .business-products,
  .business-about {
    font-size: 0.75rem;
  }
}

/* Tablets */
@media only screen and (max-width: 992px) {
  .business-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }
  
  .business-logo {
    height: 180px;
  }
  
  .business-name {
    font-size: 1.1rem;
  }
  
  .business-location {
    font-size: 0.85rem;
  }
  
  .business-products,
  .business-about {
    font-size: 0.8rem;
  }
  
  .contact-item {
    font-size: 0.8rem;
  }
}

/* Mobile Landscape and Small Tablets */
@media only screen and (max-width: 768px) {
  .business-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
  }
  
  .business-logo {
    height: 160px;
  }
  
  .business-info {
    padding: 12px;
  }
  
  .business-name {
    font-size: 0.95rem;
    height: 2.4em;
  }
  
  .business-location {
    font-size: 0.75rem;
    margin-bottom: 6px;
  }
  
  .business-products {
    font-size: 0.72rem;
    height: 2.6em;
  }
  
  .business-about {
    font-size: 0.72rem;
    height: 4.2em;
    -webkit-line-clamp: 3;
  }
  
  .contact-item {
    font-size: 0.72rem;
  }
  
  .business-social a {
    width: 26px;
    height: 26px;
    font-size: 0.9rem;
  }
  
  .view-business-btn {
    padding: 9px;
    font-size: 0.8rem;
  }
}

/* Mobile Portrait */
@media only screen and (max-width: 600px) {
  .business-grid {
    grid-template-columns: 1fr;
    gap: 15px;
    padding: 0;
  }
  
  .business-card {
    max-width: 100%;
    margin: 0 auto;
  }
  
  .business-logo {
    height: 200px;
  }
  
  .business-info {
    padding: 16px;
  }
  
  .business-name {
    font-size: 1.15rem;
    height: auto;
    -webkit-line-clamp: 2;
    margin-bottom: 10px;
  }
  
  .business-location {
    font-size: 0.9rem;
    margin-bottom: 10px;
  }
  
  .business-products {
    font-size: 0.85rem;
    height: auto;
    margin-bottom: 10px;
  }
  
  .business-about {
    font-size: 0.85rem;
    height: auto;
    -webkit-line-clamp: 3;
    margin-bottom: 12px;
  }
  
  .business-contact {
    gap: 12px;
    margin-bottom: 12px;
    padding-bottom: 12px;
  }
  
  .contact-item {
    font-size: 0.85rem;
  }
  
  .contact-item i {
    font-size: 0.95rem;
  }
  
  .business-social {
    gap: 10px;
    margin-bottom: 12px;
  }
  
  .business-social a {
    width: 32px;
    height: 32px;
    font-size: 1.05rem;
  }
  
  .view-business-btn {
    padding: 12px;
    font-size: 0.95rem;
  }
  
  .view-business-btn i {
    font-size: 0.9rem;
  }
}

/* Small Mobile */
@media only screen and (max-width: 480px) {
  .business-grid {
    gap: 12px;
    padding: 0;
  }
  
  .business-card {
    margin: 0 auto;
  }
  
  .business-logo {
    height: 180px;
  }
  
  .business-info {
    padding: 14px;
  }
  
  .business-name {
    font-size: 1.05rem;
    margin-bottom: 8px;
  }
  
  .business-location {
    font-size: 0.85rem;
    margin-bottom: 8px;
  }
  
  .business-products {
    font-size: 0.8rem;
    margin-bottom: 8px;
  }
  
  .business-about {
    font-size: 0.8rem;
    margin-bottom: 10px;
  }
  
  .business-contact {
    gap: 10px;
    margin-bottom: 10px;
    padding-bottom: 10px;
  }
  
  .contact-item {
    font-size: 0.8rem;
  }
  
  .business-social {
    gap: 8px;
    margin-bottom: 10px;
  }
  
  .business-social a {
    width: 30px;
    height: 30px;
    font-size: 1rem;
  }
  
  .view-business-btn {
    padding: 11px;
    font-size: 0.9rem;
  }
}

/* ========================================
   FEATURED BUSINESSES - THREE COLUMN
   ======================================== */
.featured-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  max-width: 1200px;
  margin: 0 auto;
}

.featured-card {
  position: relative;
  background: var(--light-gray);
  border-radius: 10px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

.featured-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}

.featured-badge {
  position: absolute;
  top: 10px;
  left: 10px;
  background: var(--primary-orange);
  color: var(--white);
  padding: 5px 10px;
  border-radius: 16px;
  font-size: 0.75rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 4px;
  z-index: 10;
  box-shadow: var(--shadow-sm);
}

.featured-card a {
  display: block;
  text-decoration: none;
  color: var(--text-dark);
}

.featured-card img {
  width: 100%;
  height: 160px;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.featured-card:hover img {
  transform: scale(1.1);
}

.featured-card h4 {
  padding: 12px;
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--primary-charcoal);
  margin: 0;
  line-height: 1.3;
  height: 2.6em;
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.featured-card p {
  padding: 0 12px 12px 12px;
  color: var(--text-light);
  font-size: 0.8rem;
  margin: 0;
}

@media only screen and (max-width: 992px) {
  .featured-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media only screen and (max-width: 600px) {
  .featured-grid {
    grid-template-columns: 1fr;
  }
  
  .featured-card img {
    height: 180px;
  }
}

/* ========================================
   PAGINATION
   ======================================== */
.directory-pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  margin-top: 40px;
  padding: 20px;
  background: var(--white);
  border-radius: 12px;
  box-shadow: var(--shadow-sm);
}

.page-btn,
.page-number {
  padding: 10px 18px;
  background: var(--white);
  color: var(--primary-charcoal);
  text-decoration: none;
  border: 2px solid var(--border-gray);
  border-radius: 8px;
  font-weight: 600;
  font-size: 0.95rem;
  transition: var(--transition);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.page-btn:hover,
.page-number:hover {
  border-color: var(--primary-orange);
  background: var(--primary-orange);
  color: var(--white);
}

.page-number.active {
  background: var(--primary-orange);
  color: var(--white);
  border-color: var(--primary-orange);
}

/* ========================================
   FEATURED BUSINESSES SECTION
   ======================================== */
.featured-businesses-section {
  background: var(--white);
  padding: 60px 20px;
  margin: 40px 0;
  border-radius: 12px;
  box-shadow: var(--shadow-md);
}

.section-header {
  text-align: center;
  margin-bottom: 40px;
}

.section-header h2 {
  font-size: 2rem;
  font-weight: 700;
  color: var(--primary-charcoal);
  margin-bottom: 10px;
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

.section-header h2 i {
  color: var(--primary-orange);
}

.section-header p {
  color: var(--text-light);
  font-size: 1.1rem;
}

.featured-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 25px;
  max-width: 1200px;
  margin: 0 auto;
}

.featured-card {
  position: relative;
  background: var(--light-gray);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

.featured-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
}

.featured-badge {
  position: absolute;
  top: 15px;
  left: 15px;
  background: var(--primary-orange);
  color: var(--white);
  padding: 6px 12px;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 5px;
  z-index: 10;
  box-shadow: var(--shadow-sm);
}

.featured-card a {
  display: block;
  text-decoration: none;
  color: var(--text-dark);
}

.featured-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.featured-card:hover img {
  transform: scale(1.1);
}

.featured-card h4 {
  padding: 15px;
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--primary-charcoal);
  margin: 0;
}

.featured-card p {
  padding: 0 15px 15px 15px;
  color: var(--text-light);
  font-size: 0.9rem;
  margin: 0;
}

/* ========================================
   RESPONSIVE DESIGN
   ======================================== */

@media only screen and (max-width: 1200px) {
  .directory-main-content {
    grid-template-columns: 280px 1fr;
    gap: 20px;
  }
}

@media only screen and (max-width: 992px) {
  .directory-main-content {
    grid-template-columns: 1fr;
  }

  .directory-sidebar {
    position: static;
  }

  .mobile-filter-toggle {
    display: block;
  }

  .sidebar-content {
    display: none;
    margin-top: 15px;
  }

  .sidebar-content.active {
    display: block;
  }

  .sidebar-header {
    border-radius: 12px;
  }

  .business-grid {
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  }

  .directory-stats {
    gap: 40px;
  }
}

@media only screen and (max-width: 768px) {
  .business-directory-hero {
    padding: 40px 15px 60px 15px;
  }

  .business-directory-hero h1 {
    font-size: 2rem;
  }

  .business-directory-hero p {
    font-size: 1rem;
  }

  .hero-search-form {
    flex-direction: column;
    border-radius: 12px;
    gap: 0;
  }

  .hero-search-btn {
    width: 100%;
    border-radius: 8px;
  }

  .directory-stats {
    gap: 30px;
  }

  .stat-item i {
    font-size: 2rem;
  }

  .stat-number {
    font-size: 1.5rem;
  }

  .listings-header {
    flex-direction: column;
    align-items: flex-start;
  }

  .sort-options {
    width: 100%;
  }

  .sort-select {
    flex: 1;
  }

  .business-grid {
    grid-template-columns: 1fr;
  }

  .featured-grid {
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 15px;
  }

  .directory-pagination {
    flex-wrap: wrap;
    gap: 5px;
  }

  .page-btn,
  .page-number {
    padding: 8px 12px;
    font-size: 0.9rem;
  }
}

@media only screen and (max-width: 480px) {
  .directory-main-content {
    padding: 20px 10px;
  }

  .business-directory-hero h1 {
    font-size: 1.6rem;
  }

  .directory-stats {
    flex-direction: column;
    gap: 20px;
  }

  .business-card {
    margin: 0 5px;
  }

  .results-info h2 {
    font-size: 1.2rem;
  }

  .section-header h2 {
    font-size: 1.5rem;
    flex-direction: column;
    gap: 8px;
  }
}

/* ========================================
   ANIMATIONS
   ======================================== */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.business-card {
  animation: fadeInUp 0.5s ease-out;
}

/* ========================================
   ACCESSIBILITY
   ======================================== */
a:focus,
button:focus,
select:focus,
input:focus {
  outline: 2px solid var(--primary-orange);
  outline-offset: 2px;
}

/* Smooth scrolling */
html {
  scroll-behavior: smooth;
}

/* ========================================
   CONTACT VERIFICATION MODAL - FIXED STYLES
   Add this to your business-directory-style.css
   ======================================== */

/* Contact Verification Modal */
.contact-verification-modal,
.contact-success-modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 10000;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.contact-verification-modal.active,
.contact-success-modal.active {
    display: flex;
}

.modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(54, 69, 79, 0.95);
    backdrop-filter: blur(5px);
    animation: fadeIn 0.3s ease;
}

.modal-dialog {
    position: relative;
    z-index: 10001;
    width: 100%;
    max-width: 450px;
    animation: slideUp 0.4s ease;
}

.modal-content {
    background: var(--white);
    border-radius: 16px;
    padding: 30px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    position: relative;
    max-height: 90vh;
    overflow-y: auto;
}

.modal-close {
    position: absolute;
    top: 15px;
    right: 15px;
    width: 35px;
    height: 35px;
    background: var(--light-gray);
    color: var(--text-dark);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    font-size: 1.1rem;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
}

.modal-close:hover {
    background: var(--primary-orange);
    color: var(--white);
    transform: rotate(90deg);
}

/* Modal Header */
.modal-header {
    text-align: center;
    margin-bottom: 25px;
}

.modal-header i {
    font-size: 2.5rem;
    color: var(--primary-orange);
    margin-bottom: 15px;
    display: block;
}

.modal-header h2 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-charcoal);
    margin: 0 0 10px 0;
}

.modal-header p {
    color: var(--text-light);
    font-size: 0.95rem;
    margin: 0;
    line-height: 1.5;
}

.modal-header strong {
    color: var(--primary-orange);
    font-weight: 600;
}

/* Form Styles */
.form-group {
    margin-bottom: 18px;
}

.form-group label {
    display: block;
    font-weight: 600;
    color: var(--primary-charcoal);
    margin-bottom: 8px;
    font-size: 0.9rem;
}

.form-group label i {
    color: var(--primary-orange);
    margin-right: 6px;
    font-size: 0.95rem;
}

.required {
    color: #dc3545;
}

.form-group input {
    width: 100%;
    padding: 11px 14px;
    border: 2px solid var(--border-gray);
    border-radius: 8px;
    font-size: 0.95rem;
    color: var(--text-dark);
    transition: var(--transition);
    box-sizing: border-box;
}

.form-group input:focus {
    outline: none;
    border-color: var(--primary-orange);
    box-shadow: 0 0 0 3px rgba(255, 165, 0, 0.1);
}

.form-help {
    display: block;
    margin-top: 5px;
    font-size: 0.85rem;
    color: var(--text-light);
}

.error-message {
    background: #fee;
    border-left: 4px solid #dc3545;
    color: #c00;
    padding: 12px 14px;
    border-radius: 6px;
    margin-bottom: 18px;
    font-size: 0.9rem;
    display: none;
}

/* Modal Footer */
.modal-footer {
    display: flex;
    gap: 12px;
    margin-top: 22px;
}

.btn-secondary,
.btn-primary {
    flex: 1;
    padding: 11px 20px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
    transition: var(--transition);
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    text-decoration: none;
}

.btn-secondary {
    background: var(--light-gray);
    color: var(--primary-charcoal);
}

.btn-secondary:hover {
    background: var(--medium-gray);
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-orange) 0%, #FFB833 100%);
    color: var(--white);
}

.btn-primary:hover {
    background: linear-gradient(135deg, #FF8C00 0%, var(--primary-orange) 100%);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(255, 165, 0, 0.3);
}

.btn-primary:disabled {
    opacity: 0.7;
    cursor: not-allowed;
    transform: none;
}

/* Privacy Note */
.privacy-note {
    text-align: center;
    margin-top: 18px;
    padding-top: 18px;
    border-top: 1px solid var(--border-gray);
}

.privacy-note i {
    color: var(--primary-orange);
    margin-right: 6px;
    font-size: 0.9rem;
}

.privacy-note small {
    color: var(--text-light);
    font-size: 0.85rem;
    line-height: 1.4;
}

/* Success Modal Specific */
.success-icon {
    text-align: center;
    margin-bottom: 20px;
}

.success-icon i {
    font-size: 3rem;
    color: #28a745;
    animation: successPop 0.5s ease;
}

@keyframes successPop {
    0% {
        transform: scale(0);
        opacity: 0;
    }
    50% {
        transform: scale(1.1);
    }
    100% {
        transform: scale(1);
        opacity: 1;
    }
}

.contact-success-modal h2 {
    text-align: center;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-charcoal);
    margin: 0 0 8px 0;
}

.contact-success-modal > .modal-dialog > .modal-content > p {
    text-align: center;
    color: var(--text-light);
    margin: 0 0 20px 0;
    font-size: 0.95rem;
}

.revealed-phone {
    background: var(--light-gray);
    padding: 18px;
    border-radius: 10px;
    text-align: center;
    margin-bottom: 22px;
    border: 2px solid var(--primary-orange);
}

.revealed-phone i {
    color: var(--primary-orange);
    font-size: 1.3rem;
    margin-right: 10px;
}

.revealed-phone span {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--primary-charcoal);
}

/* Contact Options */
.contact-options {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 18px;
}

.btn-whatsapp,
.btn-call,
.btn-done {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 12px 20px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.95rem;
    text-decoration: none;
    transition: var(--transition);
    border: none;
    cursor: pointer;
}

.btn-whatsapp {
    background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
    color: var(--white);
}

.btn-whatsapp:hover {
    background: linear-gradient(135deg, #128C7E 0%, #075E54 100%);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(37, 211, 102, 0.3);
}

.btn-call {
    background: linear-gradient(135deg, var(--primary-charcoal) 0%, #4A5D6E 100%);
    color: var(--white);
}

.btn-call:hover {
    background: linear-gradient(135deg, #4A5D6E 0%, var(--primary-charcoal) 100%);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(54, 69, 79, 0.3);
}

.btn-done {
    width: 100%;
    background: var(--light-gray);
    color: var(--primary-charcoal);
    border: 2px solid var(--border-gray);
    margin-top: 8px;
}

.btn-done:hover {
    background: var(--medium-gray);
    border-color: var(--primary-charcoal);
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive Design */
@media only screen and (max-width: 600px) {
    .modal-dialog {
        max-width: 100%;
    }

    .modal-content {
        padding: 25px 20px;
        border-radius: 12px;
    }

    .modal-header h2 {
        font-size: 1.3rem;
    }

    .modal-header p {
        font-size: 0.9rem;
    }

    .form-group label {
        font-size: 0.88rem;
    }

    .form-group input {
        font-size: 0.9rem;
        padding: 10px 12px;
    }

    .form-help {
        font-size: 0.8rem;
    }

    .btn-secondary,
    .btn-primary {
        font-size: 0.9rem;
        padding: 10px 16px;
    }

    .privacy-note {
        margin-top: 16px;
        padding-top: 16px;
    }

    .privacy-note small {
        font-size: 0.8rem;
    }

    .revealed-phone {
        padding: 14px;
        margin-bottom: 16px;
    }

    .revealed-phone span {
        font-size: 1.1rem;
    }

    .contact-options {
        gap: 8px;
    }

    .btn-whatsapp,
    .btn-call,
    .btn-done {
        padding: 10px 16px;
        font-size: 0.9rem;
    }
}

@media only screen and (max-width: 480px) {
    .modal-content {
        padding: 20px 16px;
    }

    .modal-close {
        width: 32px;
        height: 32px;
        font-size: 1rem;
    }

    .modal-header i {
        font-size: 2rem;
    }

    .modal-header h2 {
        font-size: 1.2rem;
        margin-bottom: 8px;
    }

    .modal-header p {
        font-size: 0.85rem;
    }

    .form-group {
        margin-bottom: 14px;
    }

    .form-group label {
        font-size: 0.85rem;
        margin-bottom: 6px;
    }

    .form-group input {
        font-size: 0.88rem;
        padding: 9px 11px;
    }

    .form-help {
        font-size: 0.75rem;
        margin-top: 3px;
    }

    .btn-secondary,
    .btn-primary {
        font-size: 0.85rem;
        padding: 9px 14px;
        gap: 6px;
    }

    .btn-secondary i,
    .btn-primary i {
        font-size: 0.9rem;
    }

    .privacy-note {
        margin-top: 14px;
        padding-top: 14px;
    }

    .privacy-note i {
        font-size: 0.85rem;
    }

    .privacy-note small {
        font-size: 0.75rem;
    }

    .success-icon i {
        font-size: 2.5rem;
    }

    .contact-success-modal h2 {
        font-size: 1.2rem;
    }

    .contact-success-modal > .modal-dialog > .modal-content > p {
        font-size: 0.9rem;
        margin-bottom: 16px;
    }

    .revealed-phone {
        padding: 12px;
        margin-bottom: 14px;
    }

    .revealed-phone i {
        font-size: 1.1rem;
    }

    .revealed-phone span {
        font-size: 1rem;
    }

    .contact-options {
        gap: 8px;
        margin-bottom: 14px;
    }

    .btn-whatsapp,
    .btn-call,
    .btn-done {
        padding: 9px 12px;
        font-size: 0.85rem;
    }

    .btn-done {
        margin-top: 6px;
    }
}



/* WhatsApp Button in Business Card */
.whatsapp-contact-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
    color: var(--white);
    text-decoration: none;
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.95rem;
    transition: var(--transition);
    border: none;
    cursor: pointer;
    margin-top: 10px;
    width: 100%;
    justify-content: center;
}

.whatsapp-contact-btn:hover {
    background: linear-gradient(135deg, #128C7E 0%, #075E54 100%);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(37, 211, 102, 0.4);
}

.whatsapp-contact-btn i {
    font-size: 1.2rem;
}

/* Masked Phone Display */
.masked-phone-display {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--text-light);
    font-size: 0.9rem;
    margin-bottom: 10px;
    padding: 8px 12px;
    background: var(--light-gray);
    border-radius: 6px;
}

.masked-phone-display i {
    color: var(--primary-orange);
}

.masked-phone-display .phone-mask {
    font-family: monospace;
    font-weight: 600;
    color: var(--text-dark);
}

.masked-phone-display .unlock-hint {
    font-size: 0.85rem;
    color: var(--primary-orange);
    margin-left: auto;
}

/* Responsive Design */
@media only screen and (max-width: 768px) {
    .modal-dialog {
        max-width: 100%;
    }
    
    .modal-content {
        padding: 25px 20px;
    }
    
    .modal-header h2 {
        font-size: 1.5rem;
    }
    
    .modal-header i {
        font-size: 2.5rem;
    }
    
    .success-icon i {
        font-size: 3rem;
    }
    
    .revealed-phone {
        padding: 15px;
    }
    
    .revealed-phone i {
        font-size: 1.2rem;
    }
    
    .revealed-phone span {
        font-size: 1.2rem;
    }
    
    .modal-footer {
        flex-direction: column;
    }
    
    .modal-footer .btn-secondary,
    .modal-footer .btn-primary {
        width: 100%;
    }
}

@media only screen and (max-width: 480px) {
    .contact-verification-modal,
    .contact-success-modal {
        padding: 10px;
    }
    
    .modal-content {
        padding: 20px 15px;
    }
    
    .modal-header h2 {
        font-size: 1.3rem;
    }
    
    .form-group input {
        padding: 10px 12px;
    }
}