*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
html{
  scroll-behavior: smooth;
}
/* Ads Section */
/* basic reset for carousel area */
/* card sizing: show fewer cards at larger breakpoints so each ad is wider */
/* ads-loop.css */
.ads-carousel {
  padding: 0 16px;
  max-width: 1400px;
  margin: 0 auto;
}

.carousel-viewport {
  overflow: hidden;
  position: relative;
}

.carousel-track {
  display: flex;
  gap: 20px; /* Increased gap for better separation */
  padding: 8px 0;
}

/* Wider cards - fewer cards per view */
.ad-card { 
  flex: 0 0 100%; /* mobile: 1 per view */
  background: linear-gradient(145deg, #f4f4f4, #e9e9e9);
  border-radius: 12px; /* Slightly larger radius */
  box-shadow: 6px 6px 18px rgba(0,0,0,0.07), -6px -6px 18px rgba(255,255,255,0.6);
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

/* Hover effect for entire card */
.ad-card:hover {
  transform: translateY(-4px);
  box-shadow: 8px 8px 24px rgba(0,0,0,0.1), -8px -8px 24px rgba(255,255,255,0.7);
}

/* Tablet: show 2 cards maximum */
@media (min-width: 640px) {
  .ad-card { 
    flex: 0 0 calc(60% - 10px); /* Wider cards on tablet */
  }
  
  .carousel-track {
    gap: 24px;
  }
}

/* Desktop: show only 1-2 very wide cards */
@media (min-width: 900px) {
  .ad-card { 
    flex: 0 0 calc(45% - 12px); /* Much wider cards */
    min-width: 500px; /* Minimum width to ensure visibility */
  }
  
  .carousel-track {
    gap: 28px;
  }
}

/* Large desktop: even wider */
@media (min-width: 1200px) {
  .ad-card { 
    flex: 0 0 calc(40% - 15px);
    min-width: 550px;
  }
}

/* Larger, more prominent images */
.ad-card img {
  width: 100%;
  height: 280px; /* Much taller for better visibility */
  object-fit: contain;
  display: block;
  background: #fff;
  padding: 12px; /* More padding around image */
  border-radius: 8px;
  transition: transform 0.4s ease;
}

/* Enhanced hover effect for images */
.ad-card:hover img {
  transform: scale(1.05);
}

/* Card content area for potential text */
.ad-content {
  padding: 16px;
  text-align: center;
}

/* Pause on hover */
.carousel-viewport:hover .carousel-track {
  animation-play-state: paused !important;
}

/* Add some visual interest to the track */
.carousel-track {
  will-change: transform;
}

/* Enhanced button styles */
.center-btn {
  text-align: center;
  margin-top: 5px;
  margin-bottom: 70px;
}

.add-ad-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 20px auto 0;
  padding: 14px 32px;
  font-size: 1.1rem;
  font-weight: bold;
  color: #000;
  text-decoration: none;
  border-radius: 10px;
  background: linear-gradient(145deg, #e5e5e5, #bfbfbf);
  box-shadow: 5px 5px 12px #a0a0a0,
              -5px -5px 12px #ffffff;
  cursor: pointer;
  transition: all 0.3s ease;
  border: none;
}

.add-ad-btn:hover {
  transform: translateY(-3px);
  box-shadow: 7px 7px 15px #a0a0a0,
              -7px -7px 15px #ffffff;
}

.add-ad-btn:active {
  transform: translateY(-1px);
}
/* ---------- HERO: allow growth and top alignment ---------- */
/* Tab Content */
.tab-content {
    position: relative;
}

.tab-pane {
    display: none;
}

.tab-pane.active {
    display: block;
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Marketplace Tabs */
.marketplace-tabs {
    display: flex;
    background: rgba(255, 255, 255, 0.06);
    border-radius: 12px;
    padding: 8px;
    gap: 8px;
    margin-bottom: 25px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
}

.tab-btn {
    flex: 1;
    padding: 14px 20px;
    border: none;
    border-radius: 8px;
    background: transparent;
    color: #e0e0e0;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    position: relative;
    overflow: hidden;
}

.tab-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    transition: left 0.5s ease;
}

.tab-btn:hover::before {
    left: 100%;
}

.tab-btn:hover {
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.tab-btn.active {
    background: linear-gradient(145deg, #d7d7d7, #b0b7c0, #f0f0f0);
    color: #111;
    box-shadow: 
        inset 1px 1px 3px rgba(255, 255, 255, 0.8),
        inset -2px -2px 4px rgba(0, 0, 0, 0.3),
        0 4px 8px rgba(0, 0, 0, 0.2);
    transform: translateY(0);
}

.tab-btn.active:hover {
    transform: translateY(-1px);
    box-shadow: 
        inset 1px 1px 3px rgba(255, 255, 255, 0.8),
        inset -2px -2px 4px rgba(0, 0, 0, 0.3),
        0 6px 12px rgba(0, 0, 0, 0.25);
}

.tab-btn i {
    font-size: 1.1rem;
    transition: transform 0.3s ease;
}

.tab-btn:hover i {
    transform: scale(1.1);
}

.tab-btn.active i {
    color: #111;
}

/* Tab Content Animation */
.tab-pane {
    display: none;
    animation: fadeInUp 0.4s ease;
}

.tab-pane.active {
    display: block;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive tabs */
@media (max-width: 768px) {
    .marketplace-tabs {
        flex-direction: column;
        padding: 6px;
        gap: 6px;
    }
    
    .tab-btn {
        padding: 12px 16px;
        font-size: 0.95rem;
        gap: 8px;
    }
    
    .tab-btn i {
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .marketplace-tabs {
        margin-bottom: 20px;
    }
    
    .tab-btn {
        padding: 10px 14px;
        font-size: 0.9rem;
        gap: 6px;
    }
    
    .tab-btn i {
        font-size: 0.95rem;
    }
}

/*hero*/
.home-hero {
  background-image: url('../images/rwida.jpg');
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  min-height: 100vh;
  display: flex;
  align-items: flex-start;
  padding: 40px 20px;
  position: relative;
  color: #fff;
}
.home-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.55);
}
.hero-wrapper {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 20px;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
}

/* Filters */
.hero-filters {
  width: 100%;
  background: rgba(255,255,255,0.06);
  padding: 20px;
  border-radius: 10px;
}
.filter-row { display:flex; flex-wrap:wrap; gap:10px; margin-bottom:12px; }
.filter-row select {
  padding:10px;
  border-radius:6px;
  border:none;
  width:150px;
  background:#fff;
  color:#333;
}
@media(max-width: 444px){
  .home-hero .filter-row select{
    width: 100%;
  }
}
/* Search row styling */
.search-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 10px;
}

/* Search input */
.search-row input {
  flex: 1;
  padding: 12px 16px;
  border-radius: 8px;
  border: none;
  outline: none;
  font-size: 0.95rem;
  color: #333;
  background: #fff;
  box-shadow: inset 2px 2px 5px rgba(0,0,0,0.1),
              inset -2px -2px 5px rgba(255,255,255,0.6);
  transition: all 0.2s ease;
}

.search-row input:focus {
  box-shadow: inset 2px 2px 5px rgba(0,0,0,0.2),
              inset -2px -2px 5px rgba(255,255,255,0.8);
}

/* Metallic filter button */
.search-row button {
  padding: 12px 28px;
  font-size: 0.95rem;
  font-weight: bold;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  background: linear-gradient(145deg, #d1d1d1, #a8a8a8); /* metallic gradient */
  color: #222;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  gap: 6px;
}

.search-row button:hover {
  transform: translateY(-2px);
  box-shadow: inset 3px 3px 8px #7d7d7d,
              inset -3px -3px 8px #ffffff55;
}

/* Responsive adjustments */
@media (max-width: 600px) {
  .search-row {
    flex-direction: column;
  }
  .search-row button {
    width: 100%;
    justify-content: center;
  }
}
/* Results */


/* Results */

/* Hero results container: vertical scroll, cards wrap into rows */
/* Base Styles */
:root {
    --black: #000000;
    --dark-gray: #111111;
    --medium-gray: #1a1a1a;
    --light-gray: #333333;
    --white: #ffffff;
    --accent: #e0e0e0;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 20px;
    padding: 20px;
    background: var(--black);
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
}

/* Product Card */
.product-card {
    position: relative;
    aspect-ratio: 3/4;
    background: var(--dark-gray);
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

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

/* Background Image - UPDATED */
.product-image {
    width: 100%;
    height: 100%;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    background-color: var(--black); /* Default background */
    transition: transform 0.3s ease;
    /* Removed the lazy loading classes that were causing issues */
}

.product-card:hover .product-image {
    transform: scale(1.05);
}

/* Product Overlay */
.product-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.9));
    padding: 30px 20px 20px;
    color: var(--white);
    transform: translateY(10px);
    opacity: 0;
    transition: all 0.3s ease;
}

.product-card:hover .product-overlay {
    transform: translateY(0);
    opacity: 1;
}

.product-title {
    font-size: 1.1rem;
    font-weight: 600;
    margin: 0 0 15px 0;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.8);
    line-height: 1.3;
}

/* Button */
.voir-produit-btn {
    background: var(--white);
    color: var(--black);
    border: none;
    padding: 12px 24px;
    border-radius: 6px;
    font-weight: 600;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.2s ease;
    width: 100%;
}

.voir-produit-btn:hover {
    background: var(--accent);
    transform: translateY(-2px);
}

/* Ad Card Styles */
.ad-card {
    border: 2px solid var(--light-gray);
}

.ad-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    padding: 15px;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.ad-card:hover .ad-overlay {
    opacity: 1;
}

.sponsored-badge {
    background: #fbbf24;
    color: var(--black);
    padding: 6px 12px;
    border-radius: 4px;
    font-size: 0.8rem;
    font-weight: 600;
}

.ad-cta {
    background: rgba(0, 0, 0, 0.8);
    color: var(--white);
    padding: 10px 20px;
    border-radius: 6px;
    font-weight: 600;
}

/* Updated Modal Styles */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.95);
    z-index: 1000;
    backdrop-filter: blur(10px);
    overflow-y: auto;
    padding: 20px 0;
}

.modal.show {
    display: block;
}

.modal-content {
    position: relative;
    background: linear-gradient(145deg, #0a0a0a, #1a1a1a);
    margin: auto;
    width: 90%;
    max-width: 800px;
    border-radius: 16px;
    color: var(--white);
    border: 1px solid var(--light-gray);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.8);
    /* Center vertically */
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0.9);
    opacity: 0;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    max-height: 90vh;
    overflow-y: auto;
}

.modal.show .modal-content {
    transform: translate(-50%, -50%) scale(1);
    opacity: 1;
}

.close-modal {
    position: absolute;
    right: 20px;
    top: 15px;
    font-size: 2rem;
    cursor: pointer;
    color: var(--white);
    z-index: 10;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
}

.close-modal:hover {
    color: var(--accent);
    background: rgba(255, 255, 255, 0.2);
    transform: rotate(90deg);
}

.modal-body {
    padding: 0;
}

/* Modal Product Layout */
.modal-product {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
    min-height: 500px;
}

.modal-image {
    height: 100%;
    min-height: 500px;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    background-color: var(--black);
    border-radius: 16px 0 0 16px;
}

.modal-info {
    padding: 40px 30px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.modal-info h2 {
    font-size: 1.8rem;
    font-weight: 700;
    margin: 0 0 25px 0;
    color: var(--white);
    line-height: 1.3;
    border-bottom: 2px solid var(--light-gray);
    padding-bottom: 15px;
}

.product-details {
    margin-bottom: 30px;
}

.product-details p {
    margin: 0 0 12px 0;
    font-size: 1rem;
    display: flex;
    align-items: center;
}

.product-details strong {
    color: var(--accent);
    min-width: 80px;
    margin-right: 10px;
    font-weight: 600;
}

.seller-link {
    display: inline-block;
    background: var(--white);
    color: var(--black);
    padding: 14px 28px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    text-align: center;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    margin-top: 10px;
}

.seller-link:hover {
    background: transparent;
    color: var(--white);
    border-color: var(--white);
    transform: translateY(-2px);
}

.no-seller {
    color: var(--light-gray);
    font-style: italic;
    text-align: center;
    padding: 20px;
    border: 1px dashed var(--light-gray);
    border-radius: 8px;
}

/* Mobile Optimization for Modal */
@media (max-width: 768px) {
    .modal {
        padding: 10px;
    }
    
    .modal-content {
        width: 95%;
        max-width: 95%;
        top: 50%;
        transform: translate(-50%, -50%) scale(0.95);
    }
    
    .modal-product {
        grid-template-columns: 1fr;
        min-height: auto;
    }
    
    .modal-image {
        min-height: 300px;
        border-radius: 16px 16px 0 0;
    }
    
    .modal-info {
        padding: 30px 20px;
    }
    
    .modal-info h2 {
        font-size: 1.4rem;
        margin-bottom: 20px;
    }
    
    .product-details p {
        font-size: 0.9rem;
    }
    
    .close-modal {
        right: 15px;
        top: 10px;
        width: 35px;
        height: 35px;
        font-size: 1.5rem;
    }
}

/* Small phones */
@media (max-width: 480px) {
    .modal-info {
        padding: 25px 15px;
    }
    
    .modal-info h2 {
        font-size: 1.2rem;
    }
    
    .seller-link {
        padding: 12px 20px;
        font-size: 0.9rem;
    }
}

/* Mobile Optimization - UPDATED */
@media (max-width: 768px) {
    .products-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
        padding: 15px;
    }
    
    .product-card {
        aspect-ratio: 3/4;
        border-radius: 8px;
    }
    
    .product-overlay {
        opacity: 1;
        transform: translateY(0);
        background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
        padding: 20px 15px 15px;
    }
    
    .product-title {
        font-size: 0.9rem;
        margin-bottom: 10px;
    }
    
    .voir-produit-btn {
        padding: 10px 15px;
        font-size: 0.8rem;
    }
}

/* Small phones */
@media (max-width: 480px) {
    .products-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
        padding: 10px;
    }
    
    .product-overlay {
        padding: 15px 10px 10px;
    }
}

/* === Ad Banner Styling === */
.ad-banner {
    grid-column: 1 / -1; /* ← THIS FIXES MERGING */
}
.ad-banner {
  flex: 0 0 100%;
  max-width: 100%;
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  background: linear-gradient(145deg, #111, #1b1b1b);
  box-shadow: 4px 6px 20px rgba(0, 0, 0, 0.45);
  transition: transform 0.25s ease, box-shadow 0.25s ease;

  /* Center ads nicely, in case of varying image sizes */
  display: flex;
  justify-content: center;
  align-items: center;
  background: #000; /* fallback for transparent PNGs */
}

.ad-banner:hover {
  transform: translateY(-4px);
  box-shadow: 4px 10px 25px rgba(0, 0, 0, 0.55);
}

/* Banner image: balanced look, full width, controlled height */
.ad-banner img {
  width: 100%;
  height: 260px; /* Adjust between 220px–280px depending on design */
  object-fit: cover;
  display: block;
  border-radius: 12px;
}

/* Optional overlay for polish */
.ad-banner::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.25);
  pointer-events: none;
}

/* Responsive tweaks */
@media (max-width: 900px) {
  .ad-banner {
    border-radius: 10px;
  }
}

@media (max-width: 600px) {
  .ad-banner {
    margin-top: 12px;
  }

  /* On phones, allow ads to resize naturally */
  .ad-banner img {
    height: auto;
    max-height: 200px;
    object-fit: contain;
  }
}


/*I'm looking for*/

/* Request Section Styles */
.request-section {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

/* Request Form Container */
.request-form-container {
    background: rgba(255, 255, 255, 0.06);
    border-radius: 12px;
    padding: 25px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.form-header {
    text-align: center;
    margin-bottom: 25px;
}

.form-header h3 {
    color: #fff;
    font-size: 1.4rem;
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.form-header p {
    color: #cfcfcf;
    font-size: 0.95rem;
}

/* Request Form */
.request-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-row {
    display: flex;
    gap: 20px;
}

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

.form-group.full-width {
    flex: 0 0 100%;
}

.form-group label {
    color: #fff;
    font-weight: 600;
    font-size: 0.95rem;
    display: flex;
    align-items: center;
    gap: 8px;
}

.form-group input,
.form-group textarea {
    padding: 12px 16px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
    font-size: 0.95rem;
    transition: all 0.3s ease;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: #aaa;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #ff6347;
    background: rgba(255, 255, 255, 0.15);
}

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

/* Form Actions */
.form-actions {
    display: flex;
    gap: 15px;
    justify-content: flex-end;
    margin-top: 10px;
}

.btn-secondary,
.btn-primary {
    padding: 12px 24px;
    border: none;
    border-radius: 8px;
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.2);
}

.btn-primary {
    background: linear-gradient(145deg, #ff6347, #e5533d);
    color: #fff;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(255, 99, 71, 0.3);
}

/* Public Requests Container */
.public-requests-container {
    background: rgba(255, 255, 255, 0.06);
    border-radius: 12px;
    padding: 25px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.section-header {
    margin-bottom: 20px;
}

.section-header h3 {
    color: #fff;
    font-size: 1.3rem;
    margin-bottom: 5px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.section-header p {
    color: #cfcfcf;
    font-size: 0.9rem;
}

/* Requests List */
.requests-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

/* Request Card */
.request-card {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    padding: 20px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    transition: all 0.3s ease;
}

.request-card:hover {
    background: rgba(255, 255, 255, 0.08);
    transform: translateY(-2px);
}

.request-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 15px;
}

.user-info {
    display: flex;
    align-items: center;
    gap: 12px;
}

.avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: linear-gradient(145deg, #ff6347, #e5533d);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-weight: 600;
    font-size: 0.9rem;
}

.user-details {
    display: flex;
    flex-direction: column;
}

.username {
    color: #fff;
    font-weight: 600;
    font-size: 1rem;
}

.location {
    color: #ff6347;
    font-size: 0.85rem;
    display: flex;
    align-items: center;
    gap: 4px;
}

.time {
    color: #aaa;
    font-size: 0.85rem;
}

.request-content {
    margin-bottom: 15px;
}

.request-text {
    color: #e0e0e0;
    font-size: 1rem;
    line-height: 1.5;
    margin: 0;
}

/* Request Footer Layout */
.request-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
}

.request-actions {
    display: flex;
    gap: 10px;
    align-items: center;
}

/* View Replies Button */
.btn-view-replies {
    padding: 8px 16px;
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 6px;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 6px;
}

.btn-view-replies:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-1px);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.reply-count {
    background: #ff6347;
    color: #fff;
    padding: 2px 6px;
    border-radius: 10px;
    font-size: 0.8rem;
    font-weight: 600;
    margin-left: 4px;
}

/* Update existing reply button for consistency */
.btn-reply {
    padding: 8px 16px;
    background: linear-gradient(145deg, #d7d7d7, #b0b7c0, #f0f0f0);
    color: #111;
    border: none;
    border-radius: 6px;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 6px;
}

.btn-reply:hover {
    transform: translateY(-1px);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

/* Responses count styling */
.responses-count {
    color: #aaa;
    font-size: 0.85rem;
    display: flex;
    align-items: center;
    gap: 5px;
}

/* Responsive Design for buttons */
@media (max-width: 768px) {
    .request-footer {
        flex-direction: column;
        gap: 15px;
        align-items: stretch;
    }
    
    .request-actions {
        justify-content: space-between;
        gap: 10px;
    }
    
    .btn-reply,
    .btn-view-replies {
        flex: 1;
        justify-content: center;
    }
    
    .responses-count {
        align-self: center;
    }
}

@media (max-width: 480px) {
    .request-actions {
        flex-direction: column;
        gap: 8px;
    }
    
    .btn-reply,
    .btn-view-replies {
        width: 100%;
    }
}
/* Modal Styles */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(5px);
}

.modal-content {
    background: #1e1e1e;
    margin: 5% auto;
    padding: 0;
    border-radius: 12px;
    width: 90%;
    max-width: 600px;
    max-height: 80vh;
    display: flex;
    flex-direction: column;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.replies-modal {
    max-width: 700px;
}

.modal-header {
    padding: 20px 25px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.modal-header h3 {
    color: #fff;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 10px;
}

.close-modal {
    color: #aaa;
    font-size: 24px;
    font-weight: bold;
    cursor: pointer;
    transition: color 0.3s ease;
}

.close-modal:hover {
    color: #fff;
}

.modal-body {
    padding: 25px;
    flex: 1;
    overflow-y: auto;
}

/* Replies List with Scroll */
.replies-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
    max-height: 400px;
    overflow-y: auto;
    padding-right: 10px;
}

/* Scrollbar Styling */
.replies-list::-webkit-scrollbar {
    width: 6px;
}

.replies-list::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 3px;
}

.replies-list::-webkit-scrollbar-thumb {
    background: #ff6347;
    border-radius: 3px;
}

.replies-list::-webkit-scrollbar-thumb:hover {
    background: #e5533d;
}

/* Reply Item */
.reply-item {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    padding: 15px;
    border-left: 3px solid #ff6347;
}

.reply-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 10px;
}

.reply-seller {
    color: #fff;
    font-weight: 600;
    font-size: 1rem;
}

.reply-price {
    color: #ff6347;
    font-weight: 600;
    background: rgba(255, 99, 71, 0.1);
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 0.9rem;
}

.reply-contact {
    color: #cfcfcf;
    font-size: 0.9rem;
    margin-bottom: 8px;
}

.reply-message {
    color: #e0e0e0;
    font-size: 0.9rem;
    line-height: 1.4;
    margin: 0;
}

.no-replies {
    text-align: center;
    color: #aaa;
    font-style: italic;
    padding: 40px 20px;
}

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

/* Responsive Modals */
@media (max-width: 768px) {
    .modal-content {
        margin: 10% auto;
        width: 95%;
    }
    
    .modal-body {
        padding: 20px;
    }
    
    .modal-actions {
        flex-direction: column;
    }
    
    .modal-actions button {
        width: 100%;
        justify-content: center;
    }
}




/* My Requests Section */
.my-requests-section {
    min-height: 300px;
}

/* Empty State */
.empty-state {
    text-align: center;
    padding: 60px 20px;
    color: #aaa;
}

.empty-state i {
    font-size: 3rem;
    margin-bottom: 15px;
    display: block;
}

.empty-state h3 {
    color: #fff;
    margin-bottom: 10px;
}

/* My Request Card */
.my-request-card {
    background: rgba(255, 255, 255, 0.06);
    border-radius: 10px;
    padding: 20px;
    margin-bottom: 15px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.request-main h4 {
    color: #fff;
    margin: 0 0 5px 0;
    font-size: 1.1rem;
}

.request-main p {
    color: #aaa;
    margin: 0;
    font-size: 0.9rem;
}

.request-actions {
    display: flex;
    gap: 10px;
    align-items: center;
}

.btn-view {
    padding: 8px 16px;
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 6px;
}

.btn-view:hover {
    background: rgba(255, 255, 255, 0.2);
}

.btn-delete {
    padding: 8px;
    background: rgba(239, 68, 68, 0.1);
    color: #ef4444;
    border: 1px solid rgba(239, 68, 68, 0.3);
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-delete:hover {
    background: rgba(239, 68, 68, 0.2);
}

/* Responsive */
@media (max-width: 768px) {
    .my-request-card {
        flex-direction: column;
        gap: 15px;
        align-items: flex-start;
    }
    
    .request-actions {
        align-self: stretch;
        justify-content: space-between;
    }
    
    .btn-view {
        flex: 1;
        justify-content: center;
    }
}
/*===================featured stores==========================*/
.featured-wrapper {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 30px;
  padding: 60px 40px;
  background: linear-gradient(135deg, 
    rgba(140, 140, 140, 0.1) 0%, 
    rgba(176, 176, 176, 0.15) 25%, 
    rgba(217, 217, 217, 0.1) 50%,
    rgba(140, 140, 140, 0.05) 100%);
  margin-bottom: 70px;
  position: relative;
  overflow: hidden;
}

/* Sophisticated background pattern */
.featured-wrapper::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: 
    radial-gradient(circle at 20% 80%, rgba(120, 119, 198, 0.1) 0%, transparent 50%),
    radial-gradient(circle at 80% 20%, rgba(255, 119, 198, 0.1) 0%, transparent 50%),
    radial-gradient(circle at 40% 40%, rgba(120, 219, 255, 0.05) 0%, transparent 50%);
  pointer-events: none;
}

.featured-product {
  position: relative;
  background: linear-gradient(145deg, #f0f0f0, #e0e0e0);
  border-radius: 20px;
  padding: 30px 25px;
  text-align: center;
  box-shadow: 
    12px 12px 24px rgba(0, 0, 0, 0.1),
    -8px -8px 16px rgba(255, 255, 255, 0.8),
    inset 1px 1px 0 rgba(255, 255, 255, 0.5);
  transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  border: 1px solid rgba(255, 255, 255, 0.3);
  backdrop-filter: blur(10px);
  overflow: hidden;
}

/* Elegant hover effect */
.featured-product:hover {
  transform: translateY(-12px) scale(1.02);
  box-shadow: 
    20px 20px 40px rgba(0, 0, 0, 0.15),
    -12px -12px 24px rgba(255, 255, 255, 0.9),
    0 10px 30px rgba(120, 119, 198, 0.2);
}

/* Subtle shine effect on hover */
.featured-product::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.4),
    transparent
  );
  transition: left 0.6s ease;
}

.featured-product:hover::before {
  left: 100%;
}

/* Store image with elegant frame */
.featured-product img {
  width: 120px;
  height: 120px;
  object-fit: contain;
  border-radius: 50%;
  margin: 0 auto 20px;
  background: linear-gradient(145deg, #ffffff, #f0f0f0);
  padding: 12px;
  box-shadow: 
    6px 6px 12px rgba(0, 0, 0, 0.1),
    -4px -4px 8px rgba(255, 255, 255, 0.8),
    inset 2px 2px 4px rgba(0, 0, 0, 0.05);
  border: 3px solid rgba(255, 255, 255, 0.8);
  transition: all 0.4s ease;
}

.featured-product:hover img {
  transform: scale(1.1) rotate(5deg);
  box-shadow: 
    8px 8px 20px rgba(0, 0, 0, 0.15),
    -6px -6px 12px rgba(255, 255, 255, 0.9);
}

/* Typography enhancements */
.featured-product h3 {
  font-size: 1.6rem;
  font-weight: 700;
  color: #2d3748;
  margin: 0 0 8px 0;
  background: linear-gradient(135deg, #2d3748, #4a5568);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1.2;
}

.featured-product h5 {
  font-size: 1rem;
  color: #718096;
  font-weight: 500;
  margin: 0 0 15px 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}

.featured-product h5::before {
  content: '📍';
  font-size: 0.9em;
}

/* Star rating styling */
.featured-product p {
  font-size: 1.4rem;
  margin: 0 0 25px 0;
  letter-spacing: 2px;
  background: linear-gradient(135deg, #ffd700, #ffed4e);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  filter: drop-shadow(0 2px 4px rgba(255, 215, 0, 0.3));
}

/* Sophisticated button */
.featured-product a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: 50px;
  font-size: 1rem;
  font-weight: 700;
  text-decoration: none;
  color: #2d3748;
  background: 
    linear-gradient(145deg, #c9c9c9, #a8a8a8),
    repeating-linear-gradient(
      45deg,
      transparent,
      transparent 2px,
      rgba(255,255,255,0.1) 2px,
      rgba(255,255,255,0.1) 4px
    );
  box-shadow: 
    4px 4px 12px rgba(0, 0, 0, 0.3),
    -4px -4px 12px rgba(255, 255, 255, 0.7),
    inset 1px 1px 2px rgba(255, 255, 255, 0.4),
    inset -1px -1px 2px rgba(0, 0, 0, 0.2);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.3);
  text-shadow: 0 1px 2px rgba(255, 255, 255, 0.8);
}

.featured-product a::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, 
    transparent, 
    rgba(255, 255, 255, 0.4), 
    transparent);
  transition: left 0.5s ease;
}

.featured-product a:hover::before {
  left: 100%;
}

.featured-product a:hover {
  background: 
    linear-gradient(145deg, #b8b8b8, #989898),
    repeating-linear-gradient(
      45deg,
      transparent,
      transparent 2px,
      rgba(255,255,255,0.15) 2px,
      rgba(255,255,255,0.15) 4px
    );
  transform: translateY(-2px);
  box-shadow: 
    6px 6px 16px rgba(0, 0, 0, 0.35),
    -6px -6px 16px rgba(255, 255, 255, 0.8),
    inset 1px 1px 2px rgba(255, 255, 255, 0.3),
    inset -1px -1px 2px rgba(0, 0, 0, 0.25);
}

.featured-product a:active {
  transform: translateY(0);
}

/* Responsive design */
@media (max-width: 1200px) {
  .featured-wrapper {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
    padding: 50px 30px;
  }
}

@media (max-width: 768px) {
  .featured-wrapper {
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 20px;
    padding: 40px 20px;
  }
  
  .featured-product {
    padding: 25px 20px;
  }
  
  .featured-product h3 {
    font-size: 1.4rem;
  }
  
  .featured-product img {
    width: 100px;
    height: 100px;
  }
}

@media (max-width: 480px) {
  .featured-wrapper {
    grid-template-columns: 1fr;
    gap: 20px;
    padding: 30px 15px;
  }
  
  .featured-product {
    padding: 20px;
    border-radius: 16px;
  }
  
  .featured-product h3 {
    font-size: 1.3rem;
  }
  
  .featured-product img {
    width: 90px;
    height: 90px;
  }
  
  .featured-product a {
    padding: 12px 24px;
    font-size: 0.95rem;
  }
}

/* Loading animation for when cards come into view */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.featured-product {
  animation: fadeInUp 0.6s ease-out;
}

/* Stagger the animation for each card */
.featured-product:nth-child(1) { animation-delay: 0.1s; }
.featured-product:nth-child(2) { animation-delay: 0.2s; }
.featured-product:nth-child(3) { animation-delay: 0.3s; }
.featured-product:nth-child(4) { animation-delay: 0.4s; }
.featured-product:nth-child(5) { animation-delay: 0.5s; }
.featured-product:nth-child(6) { animation-delay: 0.6s; }
/*===================common products==========================*/
.common-title {
  text-align: center;
  font-size: 2.2rem;
  margin: 40px 0 20px;
  background: linear-gradient(145deg, #333, #666);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  text-shadow: 2px 2px 4px rgba(0,0,0,0.1);
  font-weight: 700;
  padding: 0 20px;
}

.common-wrapper {
  width: 100%;
  padding: 40px 30px;
  background: linear-gradient(145deg, #e0e0e0, #cacaca);
  border-radius: 20px;
  margin: 20px auto 70px;
  max-width: 1200px;
  box-shadow: 
    8px 8px 16px rgba(0, 0, 0, 0.1),
    -8px -8px 16px rgba(255, 255, 255, 0.7);
}

.swiper-wrapper {
  padding: 30px 0;
}

.common-product {
  background: linear-gradient(145deg, #e8e8e8, #d1d1d1);
  border-radius: 16px;
  margin: 25px 20px;
  padding: 25px 20px;
  text-align: center;
  box-shadow: 
    6px 6px 12px rgba(0, 0, 0, 0.1),
    -6px -6px 12px rgba(255, 255, 255, 0.8);
  transition: all 0.3s ease;
  border: 1px solid rgba(255, 255, 255, 0.2);
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 15px;
}

.common-product:hover {
  transform: translateY(-5px);
  box-shadow: 
    8px 8px 20px rgba(0, 0, 0, 0.15),
    -8px -8px 20px rgba(255, 255, 255, 0.9);
}

/* Replace image with background image - keep same design */
.common-product-image {
    width: 140px;
    height: 140px;
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    border-radius: 12px;
    margin: 0 auto;
    background-color: white;
    padding: 15px;
    box-shadow: 
        inset 3px 3px 6px rgba(0, 0, 0, 0.1),
        inset -3px -3px 6px rgba(255, 255, 255, 0.7);
}

/* Update responsive sizes to match original */
@media (max-width: 768px) {
    .common-product-image {
        width: 120px;
        height: 120px;
        padding: 12px;
    }
}

@media (max-width: 480px) {
    .common-product-image {
        width: 110px;
        height: 110px;
        padding: 10px;
    }
}

@media (max-width: 360px) {
    .common-product-image {
        width: 100px;
        height: 100px;
        padding: 8px;
    }
}

.common-product h3 {
  font-size: 1.1rem;
  color: #333;
  font-weight: 600;
  margin: 0;
  line-height: 1.3;
  min-height: 2.6em;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  padding: 0 10px;
}

.views {
  color: #666;
  font-size: 0.9rem;
  font-weight: 500;
  margin: 0;
  padding: 8px 16px;
  background: linear-gradient(145deg, #d4d4d4, #bebebe);
  border-radius: 20px;
  display: inline-block;
  box-shadow: 
    inset 2px 2px 4px rgba(0, 0, 0, 0.1),
    inset -2px -2px 4px rgba(255, 255, 255, 0.7);
}

.common-product a {
  display: inline-block;
  padding: 12px 24px;
  background: linear-gradient(145deg, #7d7d7d, #9d9d9d);
  color: white;
  text-decoration: none;
  border-radius: 10px;
  font-weight: 600;
  font-size: 0.9rem;
  transition: all 0.3s ease;
  margin-top: 5px;
  box-shadow: 
    3px 3px 6px rgba(0, 0, 0, 0.2),
    -3px -3px 6px rgba(255, 255, 255, 0.1);
  width: 100%;
  max-width: 200px;
  margin-left: auto;
  margin-right: auto;
}

.common-product a:hover {
  background: linear-gradient(145deg, #6a6a6a, #8a8a8a);
  transform: translateY(-2px);
  box-shadow: 
    4px 4px 8px rgba(0, 0, 0, 0.25),
    -4px -4px 8px rgba(255, 255, 255, 0.1);
}

/* Swiper Pagination */
.swiper-pagination {
  position: relative;
  margin-top: 30px;
}

.swiper-pagination-bullet {
  width: 12px;
  height: 12px;
  background: linear-gradient(145deg, #7d7d7d, #c0c0c0);
  opacity: 0.6;
  border-radius: 50%;
  margin: 0 8px !important;
  box-shadow: 
    2px 2px 4px rgba(0, 0, 0, 0.2),
    -2px -2px 4px rgba(255, 255, 255, 0.4);
  transition: all 0.3s ease;
}

.swiper-pagination-bullet-active {
  opacity: 1;
  background: linear-gradient(145deg, #5e5e5e, #a0a0a0);
  transform: scale(1.3);
  box-shadow: 
    3px 3px 6px rgba(0, 0, 0, 0.3),
    -3px -3px 6px rgba(255, 255, 255, 0.5);
}

/* Responsive Design - MOBILE FIRST APPROACH */
@media (max-width: 768px) {
  .common-title {
    font-size: 1.8rem;
    margin: 30px 0 15px;
    padding: 0 15px;
  }
  
  .common-wrapper {
    padding: 30px 20px;
    border-radius: 16px;
    margin: 15px 10px;
  }
  
  .swiper-wrapper {
    padding: 20px 0;
  }
  
  .common-product {
    padding: 20px 15px;
    border-radius: 14px;
    gap: 12px;
  }
  
  .common-product img {
    width: 120px;
    height: 120px;
    padding: 12px;
  }
  
  .common-product h3 {
    font-size: 1rem;
    padding: 0 5px;
  }
  
  .common-product a {
    padding: 10px 20px;
    font-size: 0.85rem;
    max-width: 180px;
  }
}

@media (max-width: 480px) {
  .common-title {
    font-size: 1.6rem;
    padding: 0 10px;
  }
  
  .common-wrapper {
    padding: 25px 15px;
    border-radius: 14px;
    margin: 10px 5px;
  }
  
  .swiper-wrapper {
    padding: 15px 0;
  }
  
  .common-product {
    padding: 18px 12px;
    gap: 10px;
  }
  
  /* Even larger images on small mobile */
  .common-product img {
    width: 110px;
    height: 110px;
    padding: 10px;
  }
  
  .common-product h3 {
    font-size: 0.95rem;
    padding: 0;
  }
  
  .views {
    font-size: 0.85rem;
    padding: 6px 12px;
  }
  
  .common-product a {
    padding: 9px 18px;
    font-size: 0.85rem;
    max-width: 160px;
  }
  
  .swiper-pagination-bullet {
    width: 10px;
    height: 10px;
  }
}

/* Extra small devices (phones under 360px) */
@media (max-width: 360px) {
  .common-wrapper {
    padding: 20px 10px;
  }
  
  .common-product {
    padding: 15px 10px;
  }
  
  .common-product img {
    width: 100px;
    height: 100px;
    padding: 8px;
  }
}

/* Swiper Navigation Arrows (Optional) */
.swiper-button-next,
.swiper-button-prev {
  color: #666;
  background: linear-gradient(145deg, #e0e0e0, #cacaca);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  box-shadow: 
    3px 3px 6px rgba(0, 0, 0, 0.2),
    -3px -3px 6px rgba(255, 255, 255, 0.7);
  transition: all 0.3s ease;
}

.swiper-button-next:after,
.swiper-button-prev:after {
  font-size: 18px;
  font-weight: bold;
}

.swiper-button-next:hover,
.swiper-button-prev:hover {
  color: #333;
  transform: scale(1.1);
}

/* Hide navigation arrows on mobile */
@media (max-width: 768px) {
  .swiper-button-next,
  .swiper-button-prev {
    display: none;
  }
}

/*=======================CTA==========================*/
.cta-title{
  margin-top: 20px;
}
/* Metallic background for section */
.metallic-section {
  background: linear-gradient(145deg, #f4f4f4, #e0e0e0);
  box-shadow: inset 5px 5px 15px rgba(0,0,0,0.1),
              inset -5px -5px 15px rgba(255,255,255,0.7);
  border-radius: 12px;
}

/* Metallic button */
.metallic-btn {
  background: linear-gradient(145deg, #d1d5db, #f3f4f6);
  color: #111827;
  border: 1px solid #c4c4c4;
  box-shadow: 5px 5px 12px rgba(0,0,0,0.15),
              -5px -5px 12px rgba(255,255,255,0.8);
}
.metallic-btn:hover {
  background: linear-gradient(145deg, #cbd5e1, #e5e7eb);
}

/*=======================reviews==========================*/
.reviews-section {
  text-align: center;
  margin: 60px auto;
  max-width: 1200px;
}
.cta-title,
.featured-title,
.reviews-title,
.common-title {
  font-size: 2rem;
  text-align: center;
  margin-bottom: 30px;
  background: linear-gradient(145deg, #dcdcdc, #9c9c9c, #bfbfbf);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  font-weight: 700;
  letter-spacing: 1px;
}

.review-card {
  background: linear-gradient(160deg, #b5b5b5, #e0e0e0, #8f8f8f);
  border-radius: 12px;
  box-shadow: 6px 6px 18px rgba(0,0,0,0.25),
              -6px -6px 18px rgba(255,255,255,0.35);
  color: #333;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 24px;
  text-align: left;
  max-width: 360px;
  margin: auto;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.review-card:hover {
  transform: translateY(-6px);
  box-shadow: 8px 8px 22px rgba(0,0,0,0.35),
              -8px -8px 22px rgba(255,255,255,0.4);
}

.review-text {
  font-size: 0.95rem;
  font-style: italic;
  margin-bottom: 20px;
  line-height: 1.5;
}

.review-author {
  display: flex;
  align-items: center;
  gap: 12px;
}

.review-author img {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid #c0c0c0;
  box-shadow: 2px 2px 6px rgba(0,0,0,0.2);
}

.review-author h4 {
  margin: 0;
  font-size: 1rem;
  font-weight: 600;
}

.review-author span {
  font-size: 0.8rem;
  color: #555;
}
/*===================================Leave  Reviews Section==============================*/
.review-section {
  background: linear-gradient(145deg, #2c2c2c, #1a1a1a);
  padding: 80px 20px;
  color: #f0f0f0;
  text-align: center;
}
.review-wrapper {
  max-width: 600px;
  margin: 0 auto;
  background: rgba(255,255,255,0.05);
  border-radius: 12px;
  padding: 40px 25px;
  box-shadow: 5px 5px 15px #111, -5px -5px 15px #333;
}
/* Title */
.review-wrapper h2 {
  font-size: 2rem;
  margin-bottom: 10px;
  background: linear-gradient(90deg, #d1d1d1, #a8a8a8, #d1d1d1);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
.review-wrapper p {
  margin-bottom: 25px;
  font-size: 1rem;
  color: #ccc;
}
/* Form */
.review-form .form-group {
  margin-bottom: 18px;
}
.review-form input,
.review-form select,
.review-form textarea {
  width: 100%;
  padding: 12px 15px;
  border: none;
  border-radius: 8px;
  font-size: 0.95rem;
  color: #222;
  background: #fff;
  box-shadow: inset 2px 2px 6px rgba(0,0,0,0.2),
              inset -2px -2px 6px rgba(255,255,255,0.6);
  transition: box-shadow 0.3s ease;
}
.review-form input:focus,
.review-form select:focus,
.review-form textarea:focus {
  outline: none;
  box-shadow: inset 2px 2px 8px rgba(0,0,0,0.3),
              inset -2px -2px 8px rgba(255,255,255,0.7);
}
/* Submit button metallic */
.review-form button {
  width: 100%;
  padding: 14px;
  font-size: 1rem;
  font-weight: bold;
  border: none;
  border-radius: 10px;
  cursor: pointer;
  background: linear-gradient(145deg, #d1d1d1, #a8a8a8);
  color: #222;
  transition: all 0.3s ease;
}
.review-form button:hover {
  transform: translateY(-2px);
  box-shadow: inset 3px 3px 8px #7d7d7d,
              inset -3px -3px 8px #ffffff55;
}
/*notification badge*/
.notifications {
    background: #f97316;
    color: white;
    border-radius: 8px;
    padding: 1px 5px;
    font-size: 10px;
    font-weight: bold;
}