/* Index overrides: simplify UI and make banner responsive */

/* Responsive banner images */
.banner-ads-section .banner-content-wrapper {
  position: relative;
  overflow: hidden;
}

.banner-ads-section .banner-image {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover !important;
  object-position: center !important;
}

.banner-ads-section .banner-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.25);
}

/* Simplify like/add-to-cart buttons to single color */
.daily-specials-section .add-to-cart-btn,
.category-dishes-section .add-to-cart-btn,
.listings-section .add-to-cart-btn {
  background: #111111 !important;
  color: #ffffff !important;
  border: none !important;
  box-shadow: none !important;
}

.daily-specials-section .add-to-cart-btn:hover,
.category-dishes-section .add-to-cart-btn:hover,
.listings-section .add-to-cart-btn:hover {
  background: #000000 !important;
  transform: scale(1.05);
}

/* Ensure slider nav buttons remain visible on images */
.banner-ads-section .banner-nav-btn {
  
 
}

@media (max-width: 768px) {
  .banner-ads-section .banner-title {
    font-size: 1.25rem;
  }
  .banner-ads-section .banner-description {
    font-size: 0.95rem;
  }
}

/* New: container and spacing for banner and hero */
.banner-ads-section {
  padding-left: 3px; /* 3px gap on the left edge */
  padding-right: 3px; /* 3px gap on the right edge */
  margin-bottom: 1rem; /* extra space before hero */
}

/* Main page background - everything white */
body, html {
  background-color: white !important;
  background: white !important;
}

.container, .main-content, .content-wrapper {
  background-color: white !important;
  background: white !important;
}

/* Override any grey backgrounds from main_page.css */
.main-content, .content-section, .page-wrapper {
  background: white !important;
  background-color: white !important;
}

/* Override specific sections that might have grey backgrounds */
.section, .content-area, .main-section {
  background: white !important;
  background-color: white !important;
}

/* Override container elements */
.listings-slider-container, .category-slider-container, .sponsored-card-image-wrapper {
  background: white !important;
  background-color: white !important;
}

/* Override any wrapper elements */
.banner-content-wrapper, .basic-search-container, .view-more-container {
  background: white !important;
  background-color: white !important;
}

/* Banner section - completely transparent */
.banner-ads-section {
  background: none !important;
  background-color: transparent !important;
  box-shadow: none !important;
}

.banner-ads-section .banner-slider {
  width: 100% !important;
  margin: 0 auto !important;
  box-shadow: none !important;
  border: none !important;
  border-radius: 0 !important;
  background: none !important;
  background-color: transparent !important;
}

@media (max-width: 768px) {
  .banner-ads-section .banner-slider {
    width: 98%;
    height: 100%;
    max-width: none;
    margin-left: auto;
    margin-right: auto;
  }

  .banner-ads-section {
  padding-left: 3px; /* 3px gap on the left edge */
  padding-right: 3px; /* 3px gap on the right edge */
  height: 26vh; /* extra space before hero */
  margin-top: 1%;
  background-color: transparent !important;
}


}






.banner-ads-section .banner-content-wrapper {
  height: clamp(520px, 32vh, 850px);
  box-shadow: none !important;
  border: none !important;
  background: none !important;
  background-color: transparent !important;
}

.banner-ads-section .banner-overlay {
  background: transparent !important;
}

.banner-ads-section .banner-image {
  width: 100%;
  height: 100%;
  object-fit: cover !important;
  border: none !important;
  background: none !important;
  background-color: transparent !important;
}

/* Ensure visible space between banner and hero */
.hero {
  margin-top: rem !important;
}

/* Mobile: remove bottom space and keep tiny gap */
@media (max-width: 768px) {
  /* Increase header height on mobile */
  .header {
    height: 115px !important;
    min-height: 80px !important;
    padding: 1rem 0 !important;
  }
  
  .nav {
    height: 100% !important;
    align-items: center !important;
  }
  
  /* Center and adjust banner section */
  .banner-ads-section {
    margin-bottom: -3rem !important;
    margin-top: 0 !important;
    padding: 0 !important;
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
  }
  
  .banner-ads-section .banner-slider {
    width: 95% !important;
    margin: 0 auto !important;
    height: clamp(220px, 40vh, 420px) !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    border: none !important;
    background: none !important;
    background-color: transparent !important;
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
  }
  
  .banner-ads-section .banner-content-wrapper {
    height: 100% !important;
    overflow: hidden !important;
    background: transparent !important;
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    margin-top: 3rem !important;
  }
  
  .banner-ads-section .banner-overlay,
  .banner-ads-section .banner-text,
  .banner-ads-section .banner-navigation,
  .banner-ads-section .banner-indicators,
  .banner-ads-section .banner-nav-btn {
    display: none !important;
  }
  
  .banner-ads-section .banner-image {
    display: block !important;
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    object-position: center !important;
    background-color: transparent !important;
  }
  
  /* Move hero section up to reduce spacing */
  .hero {
    margin-top: -40rem !important;
    margin-bottom: 0 !important;
    padding-top: 0 !important;
    padding-right: 0 !important;
    padding-bottom: 0 !important;
    padding-left: 0 !important;
  }
}

/* Sponsored Cards Section */
.sponsored-cards-section {
  margin: 2rem 0;
  padding: 2rem 0;
}

.sponsored-cards-section .section-title {
  color: #000;
  font-size: 1.8rem;
  margin-bottom: 2rem;
  text-align: center;
  font-weight: 600;
}

.sponsored-cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
  width: 100%;
  justify-content: center;
  place-items: center;
}

/* Ensure consistent card sizing across different screen sizes */
@supports (aspect-ratio: 5/4) {
  .sponsored-cards-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* Enhanced responsive behavior */
@media (max-width: 1200px) {
  .sponsored-cards-grid {
    max-width: 1000px;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 1rem;
  }
}

@media (max-width: 900px) {
  .sponsored-cards-grid {
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 0.75rem;
    padding: 0 1rem;
  }
}

@media (max-width: 600px) {
  .sponsored-cards-grid {
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 0.75rem;
    padding: 0 0.75rem;
  }
}

.sponsored-card {
  background: transparent;
  border-radius: 10px;
  overflow: hidden;

  transition: all 0.3s ease;
  position: relative;
  display: flex;
  flex-direction: column;
  aspect-ratio: 5/4;
  min-height: 280px;
  width: 100%;
  max-width: 350px;
  margin: 0 auto;
}

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

.sponsored-card-link {
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: inherit;
  width: 100%;
  height: 100%;
  position: relative;
}

.sponsored-card-image-wrapper {
  position: relative;
  width: 100%;
  flex: 1;
  overflow: hidden;
  background: transparent;
}

.sponsored-card-image {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  transition: transform 0.3s ease;
  display: block;
  background: transparent;
}

/* Ensure images load properly and handle different aspect ratios */
.sponsored-card-image[src=""],
.sponsored-card-image:not([src]),
.sponsored-card-image[src="#"] {
  background: transparent;
  display: flex;
  align-items: center;
  justify-content: center;
}

.sponsored-card-image[src=""]:after,
.sponsored-card-image:not([src]):after,
.sponsored-card-image[src="#"]:after {
  content: "📷";
  font-size: 3rem;
  color: rgba(255,255,255,0.7);
}

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

.sponsored-card-content {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 1rem;
  background: transparent;
}

.sponsored-card-title {
  font-size: 1.1rem;
  font-weight: 600;
  margin: 0;
  color: #000;
  text-align: center;
  line-height: 1.4;
  text-shadow: none;
}

/* Dark theme tweak: reduce contrast of white cards */
body {
  /* keep as is; cards have their own background */
}

/* Responsive Design */
@media (max-width: 768px) {
  .box-ads-nav-btn {
    width: 35px;
    height: 35px;
    font-size: 16px;
  }
  
  .box-ads-indicators {
    bottom: 10px;
  }
  
  .box-ads-indicator {
    width: 8px;
    height: 8px;
  }
}

@media (max-width: 480px) {
  .box-ads-nav-btn {
    width: 30px;
    height: 30px;
    font-size: 14px;
  }
  
  .box-ads-indicators {
    bottom: 8px;
  }
  
  .box-ads-indicator {
    width: 6px;
    height: 6px;
  }
}

/* Form Boxes Section */
.form-boxes-section {
  padding: 4rem 0;
  background: white !important;
  margin-top: 2rem;
}

.form-boxes-section .section-title {
  text-align: center;
  font-size: 2.5rem;
  font-weight: 700;
  color: #2c3e50;
  margin-bottom: 3rem;
  position: relative;
}

.form-boxes-section .section-title::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background: linear-gradient(90deg, #ff6b6b, #4ecdc4);
  border-radius: 2px;
}

.form-boxes-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

.form-box {
  background: #fff;
  border-radius: 15px;
  padding: 2rem;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
  border: 1px solid #e9ecef;
  position: relative;
  overflow: hidden;
}

.form-box::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, #ff6b6b, #4ecdc4);
}

.form-box:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.form-box-header {
  text-align: center;
  margin-bottom: 2rem;
}

.form-box-icon {
  font-size: 3rem;
  margin-bottom: 1rem;
  display: block;
}

.form-box-title {
  font-size: 1.5rem;
  font-weight: 600;
  color: #2c3e50;
  margin-bottom: 0.5rem;
}

.form-box-subtitle {
  color: #6c757d;
  font-size: 0.95rem;
  line-height: 1.4;
}

.form-box-form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.form-group {
  position: relative;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 0.875rem 1rem;
  border: 2px solid #e9ecef;
  border-radius: 8px;
  font-size: 0.95rem;
  transition: all 0.3s ease;
  background: #fff;
  font-family: inherit;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: #4ecdc4;
  box-shadow: 0 0 0 3px rgba(78, 205, 196, 0.1);
}

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

.checkbox-group {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.checkbox-label {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  cursor: pointer;
  font-size: 0.9rem;
  color: #6c757d;
}

.checkbox-label input[type="checkbox"] {
  width: auto;
  margin: 0;
}

.checkmark {
  position: relative;
  display: inline-block;
  width: 18px;
  height: 18px;
  border: 2px solid #e9ecef;
  border-radius: 4px;
  transition: all 0.3s ease;
}

.checkbox-label input[type="checkbox"]:checked + .checkmark {
  background: #4ecdc4;
  border-color: #4ecdc4;
}

.checkbox-label input[type="checkbox"]:checked + .checkmark::after {
  content: '✓';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: white;
  font-size: 12px;
  font-weight: bold;
}

.form-submit-btn {
  background: linear-gradient(135deg, #ff6b6b 0%, #4ecdc4 100%);
  color: white;
  border: none;
  padding: 1rem 2rem;
  border-radius: 8px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  margin-top: 0.5rem;
}

.form-submit-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(255, 107, 107, 0.3);
}

.form-submit-btn:active {
  transform: translateY(0);
}

/* Individual Form Box Styling */
.contact-box::before {
  background: linear-gradient(90deg, #3498db, #2980b9);
}



/* Responsive Design for Form Boxes */
@media (max-width: 768px) {
  .form-boxes-section {
    padding: 3rem 0;
  }
  
  .form-boxes-section .section-title {
    font-size: 2rem;
    margin-bottom: 2rem;
  }
  
  .form-boxes-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  
  .form-box {
    padding: 1.5rem;
  }
  
  .form-box-icon {
    font-size: 2.5rem;
  }
  
  .form-box-title {
    font-size: 1.3rem;
  }
}

/* Responsive Design for Sponsored Cards */
@media (max-width: 768px) {
  .sponsored-cards-section {
    padding: 1.5rem 0;
  }
  
  .sponsored-cards-section .section-title {
    font-size: 1.6rem;
    margin-bottom: 1.5rem;
  }
  
  .sponsored-cards-grid {
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 0.75rem;
    padding: 0 0.5rem;
  }
  
  .sponsored-card {
    aspect-ratio: 5/4;
    min-height: 240px;
  }
  
  .sponsored-card-content {
    padding: 0.75rem;
  }
  
  .sponsored-card-title {
    font-size: 1rem;
  }
}

@media (max-width: 480px) {
  .sponsored-cards-section {
    padding: 2rem 0.5rem;
    position: relative;
  }
  
  .sponsored-cards-grid {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    gap: 1rem;
    padding: 0 1rem;
    scrollbar-width: none;
    -ms-overflow-style: none;
  }
  
  .sponsored-cards-grid::-webkit-scrollbar {
    display: none;
  }
  
  .sponsored-card {
    aspect-ratio: 5/4;
    min-height: 220px;
    min-width: 220px;
    max-width: 300px;
    flex-shrink: 0;
    scroll-snap-align: center;
    width: 100%;
    margin: 0 auto;
  }
  
  /* Mobile slider navigation */
  .mobile-slider-nav {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 1rem;
  }
  
  .mobile-slider-btn {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(0,0,0,0.3);
    border: none;
    cursor: pointer;
    transition: background 0.3s ease;
  }
  
  .mobile-slider-btn.active {
    background: #ff6b35;
  }
}
  
  .sponsored-card-title {
    font-size: 0.95rem;
  }
  
  .form-boxes-section {
    padding: 2rem 0;
  }
  
  .form-box {
    padding: 1.25rem;
  }
  
  .form-group input,
  .form-group select,
  .form-group textarea {
    padding: 0.75rem;
    font-size: 0.9rem;
  }
  
  .form-submit-btn {
    padding: 0.875rem 1.5rem;
    font-size: 0.95rem;
  }

/* Browsed Categories Overrides */
.category-card {
  flex: 0 0 calc(25% - 1.2rem) !important; /* Change from 20% to 25% for 4 per row */
  color: #000 !important; /* Make text black */
}

.category-card h3,
.category-card .category-name {
  color: #000 !important; /* Ensure category names are black */
}

/* Filter Section Text Color Overrides */
.filter-section {
  color: #000 !important; /* Make all filter section text black */
}

.filter-header h3 {
  color: #000 !important; /* Filter section title */
}

.filter-header p {
  color: #000 !important; /* Filter section description */
}

.filter-label {
  color: #000 !important; /* Filter labels */
}

.filter-select,
.filter-input {
  color: #000 !important; /* Filter input and select text */
}

.filter-select option {
  color: #000 !important; /* Filter dropdown options */
}

.btn-reset {
  color: #000 !important; /* Reset button text */
}

.btn-search {
  color: #fff !important; /* Keep search button text white for contrast */
}

/* Geolocation Detection Styles */
.location-input-group {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.detect-location-btn {
  background: linear-gradient(135deg, #3498db, #2980b9);
  color: white;
  border: none;
  padding: 0.6rem 1rem;
  border-radius: 8px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-size: 0.85rem;
  box-shadow: 0 2px 8px rgba(52, 152, 219, 0.3);
}

.detect-location-btn:hover {
  background: linear-gradient(135deg, #2980b9, #1f5f8b);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(52, 152, 219, 0.4);
}

.detect-location-btn:disabled {
  background: #bdc3c7;
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}

.detect-location-btn .location-icon {
  font-size: 1rem;
}

.detected-location-info {
  background: #e8f5e8;
  border: 1px solid #27ae60;
  border-radius: 8px;
  padding: 0.75rem;
  margin-top: 0.5rem;
  animation: slideDown 0.3s ease;
}

.location-status {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.25rem;
}

.status-icon {
  color: #27ae60;
  font-size: 0.9rem;
}

.status-text {
  color: #2c3e50;
  font-weight: 500;
  font-size: 0.85rem;
}

.location-details {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.9rem;
}

.detected-country {
  color: #2c3e50;
  font-weight: 600;
}

.location-separator {
  color: #7f8c8d;
}

.detected-city {
  color: #34495e;
  font-weight: 500;
}

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

/* Loading state for detect button */
.detect-location-btn.loading {
  background: #95a5a6;
  cursor: wait;
}

.detect-location-btn.loading .location-text::after {
  content: "...";
  animation: dots 1.5s infinite;
}

@keyframes dots {
  0%, 20% { content: ""; }
  40% { content: "."; }
  60% { content: ".."; }
  80%, 100% { content: "..."; }
}

/* Error state */
.detected-location-info.error {
  background: #fdf2f2;
  border-color: #e74c3c;
}

.detected-location-info.error .status-icon {
  color: #e74c3c;
}

.detected-location-info.error .status-text {
  color: #c0392b;
}

/* Mobile responsive */
@media (max-width: 768px) {
  .location-input-group {
    gap: 0.75rem;
  }
  
  .detect-location-btn {
    padding: 0.75rem 1rem;
    font-size: 0.9rem;
  }
  
  .detected-location-info {
    padding: 1rem;
  }
  
  .location-details {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.25rem;
  }
  
  .location-separator {
    display: none;
  }
}

/* Footer Black Background */
.footer {
  background-color: #000000 !important;
  background: #000000 !important;
  color: #ffffff !important;
}

.footer * {
  color: #ffffff !important;
}

/* Ensure all footer containers have black background */
.footer .container {
  background-color: #000000 !important;
  background: #000000 !important;
}

.footer .footer-content {
  background-color: #000000 !important;
  background: #000000 !important;
}

.footer .footer-section {
  background-color: #000000 !important;
  background: #000000 !important;
}

.footer .footer-info {
  background-color: #000000 !important;
  background: #000000 !important;
}

.footer .footer-brand {
  background-color: #000000 !important;
  background: #000000 !important;
}

.footer .footer-links {
  background-color: #000000 !important;
  background: #000000 !important;
}

.footer .footer-column {
  background-color: #000000 !important;
  background: #000000 !important;
}

/* Quick links styling */
.footer .quick-links {
  background-color: #000000 !important;
  background: #000000 !important;
}

.footer .quick-link-card {
  background-color: #1a1a1a !important;
  background: #1a1a1a !important;
  border: 1px solid #333333 !important;
  color: #ffffff !important;
}

.footer .quick-link-card:hover {
  background-color: #2a2a2a !important;
  background: #2a2a2a !important;
}

.footer .quick-link-card h4 {
  color: #ffffff !important;
}

.footer .quick-link-card p {
  color: #cccccc !important;
}

.footer .quick-link-icon {
  background-color: transparent !important;
}

.footer .quick-link-content {
  background-color: transparent !important;
}

/* Brand and text styling */
.footer .footer-brand h2 {
  color: #ffffff !important;
}

.footer .footer-brand p {
  color: #cccccc !important;
}

.footer .footer-column h4 {
  color: #ffffff !important;
}

.footer .footer-column ul {
  background-color: transparent !important;
}

.footer .footer-column li {
  background-color: transparent !important;
}

.footer .footer-column a {
  color: #cccccc !important;
  transition: color 0.3s ease;
  background-color: transparent !important;
}

.footer .footer-column a:hover {
  color: #ffffff !important;
}

.footer .footer-bottom {
  background-color: #000000 !important;
  background: #000000 !important;
  border-top: 1px solid #333333;
}

.footer .footer-bottom-content {
  background-color: #000000 !important;
  background: #000000 !important;
}

.footer .footer-bottom p {
  color: #cccccc !important;
}

.footer .social-links {
  background-color: transparent !important;
}

.footer .social-link {
  color: #cccccc !important;
  transition: color 0.3s ease;
  background-color: transparent !important;
}

.footer .social-link:hover {
  color: #ffffff !important;
}


@media (max-height: 368px) {
  /* Increase header height on mobile */
  .header {
    height: 80px !important;
    min-height: 80px !important;
    padding: 1rem 0 !important;
  }
  
  .nav {
    height: 100% !important;
    align-items: center !important;
  }
  
  /* Center and adjust banner section */
  .banner-ads-section {
    margin-bottom: -4rem !important;
    margin-top: 0 !important;
    padding: 0 !important;
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
  }
  
  .banner-ads-section .banner-slider {
    width: 95% !important;
    margin: 0 auto !important;
    height: clamp(220px, 40vh, 420px) !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    border: none !important;
    background: none !important;
    background-color: transparent !important;
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
  }
  
  .banner-ads-section .banner-content-wrapper {
    height: 100% !important;
    overflow: hidden !important;
    background: transparent !important;
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
  }
  
  .banner-ads-section .banner-overlay,
  .banner-ads-section .banner-text,
  .banner-ads-section .banner-navigation,
  .banner-ads-section .banner-indicators,
  .banner-ads-section .banner-nav-btn {
    display: none !important;
  }
  
  .banner-ads-section .banner-image {
    display: block !important;
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    object-position: center !important;
    background-color: transparent !important;
  }
  
  /* Move hero section up to reduce spacing */
  .hero {
    margin-top: -12rem !important;
    margin-bottom: 0 !important;
    padding-top: 0 !important;
    padding-right: 0 !important;
    padding-bottom: 0 !important;
    padding-left: 0 !important;
  }
}

/* Final overrides: ensure banner images are not cropped */
.banner-ads-section .banner-image {
  object-fit: contain !important;
  object-position: center !important;
}

@media (max-width: 768px) {
  .banner-ads-section .banner-image {
    object-fit: contain !important;
    object-position: center !important;
  }
}

@media (max-height: 368px) {
  .banner-ads-section .banner-image {
    object-fit: contain !important;
    object-position: center !important;
  }
}

.hero {
  margin-top: 0 !important;
  margin-bottom: 0.75rem !important;
}

@media (max-width: 768px) {
  .banner-ads-section {
    margin-bottom: 0.5rem !important;
  }
  .hero {
    margin-top: 0 !important;
    margin-bottom: 0.5rem !important;
  }
}

/* Sponsored Cards Section */
.sponsored-cards-section {
  margin: 2rem 0;
  padding: 2rem 0;
}

.sponsored-cards-section .section-title {
  color: #000;
  font-size: 1.8rem;
  margin-bottom: 2rem;
  text-align: center;
  font-weight: 600;
}

.sponsored-cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
  width: 100%;
  justify-content: center;
  place-items: center;
}

/* Ensure consistent card sizing across different screen sizes */
@supports (aspect-ratio: 5/4) {
  .sponsored-cards-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* Enhanced responsive behavior */
@media (max-width: 1200px) {
  .sponsored-cards-grid {
    max-width: 1000px;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 1rem;
  }
}

@media (max-width: 900px) {
  .sponsored-cards-grid {
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 0.75rem;
    padding: 0 1rem;
  }
}

@media (max-width: 600px) {
  .sponsored-cards-grid {
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 0.75rem;
    padding: 0 0.75rem;
  }
}

.sponsored-card {
  background: transparent;
  border-radius: 10px;
  overflow: hidden;

  transition: all 0.3s ease;
  position: relative;
  display: flex;
  flex-direction: column;
  aspect-ratio: 5/4;
  min-height: 280px;
  width: 100%;
  max-width: 350px;
  margin: 0 auto;
}

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

.sponsored-card-link {
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: inherit;
  width: 100%;
  height: 100%;
  position: relative;
}

.sponsored-card-image-wrapper {
  position: relative;
  width: 100%;
  flex: 1;
  overflow: hidden;
  background: transparent;
}

.sponsored-card-image {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  transition: transform 0.3s ease;
  display: block;
  background: transparent;
}

/* Ensure images load properly and handle different aspect ratios */
.sponsored-card-image[src=""],
.sponsored-card-image:not([src]),
.sponsored-card-image[src="#"] {
  background: transparent;
  display: flex;
  align-items: center;
  justify-content: center;
}

.sponsored-card-image[src=""]:after,
.sponsored-card-image:not([src]):after,
.sponsored-card-image[src="#"]:after {
  content: "📷";
  font-size: 3rem;
  color: rgba(255,255,255,0.7);
}

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

.sponsored-card-content {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 1rem;
  background: transparent;
}

.sponsored-card-title {
  font-size: 1.1rem;
  font-weight: 600;
  margin: 0;
  color: #000;
  text-align: center;
  line-height: 1.4;
  text-shadow: none;
}

/* Dark theme tweak: reduce contrast of white cards */
body {
  /* keep as is; cards have their own background */
}

/* Responsive Design */
@media (max-width: 768px) {
  .box-ads-nav-btn {
    width: 35px;
    height: 35px;
    font-size: 16px;
  }
  
  .box-ads-indicators {
    bottom: 10px;
  }
  
  .box-ads-indicator {
    width: 8px;
    height: 8px;
  }
}

@media (max-width: 480px) {
  .box-ads-nav-btn {
    width: 30px;
    height: 30px;
    font-size: 14px;
  }
  
  .box-ads-indicators {
    bottom: 8px;
  }
  
  .box-ads-indicator {
    width: 6px;
    height: 6px;
  }
}

/* Form Boxes Section */
.form-boxes-section {
  padding: 4rem 0;
  background: white !important;
  margin-top: 2rem;
}

.form-boxes-section .section-title {
  text-align: center;
  font-size: 2.5rem;
  font-weight: 700;
  color: #2c3e50;
  margin-bottom: 3rem;
  position: relative;
}

.form-boxes-section .section-title::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background: linear-gradient(90deg, #ff6b6b, #4ecdc4);
  border-radius: 2px;
}

.form-boxes-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

.form-box {
  background: #fff;
  border-radius: 15px;
  padding: 2rem;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
  border: 1px solid #e9ecef;
  position: relative;
  overflow: hidden;
}

.form-box::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, #ff6b6b, #4ecdc4);
}

.form-box:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.form-box-header {
  text-align: center;
  margin-bottom: 2rem;
}

.form-box-icon {
  font-size: 3rem;
  margin-bottom: 1rem;
  display: block;
}

.form-box-title {
  font-size: 1.5rem;
  font-weight: 600;
  color: #2c3e50;
  margin-bottom: 0.5rem;
}

.form-box-subtitle {
  color: #6c757d;
  font-size: 0.95rem;
  line-height: 1.4;
}

.form-box-form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.form-group {
  position: relative;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 0.875rem 1rem;
  border: 2px solid #e9ecef;
  border-radius: 8px;
  font-size: 0.95rem;
  transition: all 0.3s ease;
  background: #fff;
  font-family: inherit;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: #4ecdc4;
  box-shadow: 0 0 0 3px rgba(78, 205, 196, 0.1);
}

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

.checkbox-group {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.checkbox-label {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  cursor: pointer;
  font-size: 0.9rem;
  color: #6c757d;
}

.checkbox-label input[type="checkbox"] {
  width: auto;
  margin: 0;
}

.checkmark {
  position: relative;
  display: inline-block;
  width: 18px;
  height: 18px;
  border: 2px solid #e9ecef;
  border-radius: 4px;
  transition: all 0.3s ease;
}

.checkbox-label input[type="checkbox"]:checked + .checkmark {
  background: #4ecdc4;
  border-color: #4ecdc4;
}

.checkbox-label input[type="checkbox"]:checked + .checkmark::after {
  content: '✓';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: white;
  font-size: 12px;
  font-weight: bold;
}

.form-submit-btn {
  background: linear-gradient(135deg, #ff6b6b 0%, #4ecdc4 100%);
  color: white;
  border: none;
  padding: 1rem 2rem;
  border-radius: 8px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  margin-top: 0.5rem;
}

.form-submit-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(255, 107, 107, 0.3);
}

.form-submit-btn:active {
  transform: translateY(0);
}

/* Individual Form Box Styling */
.contact-box::before {
  background: linear-gradient(90deg, #3498db, #2980b9);
}



/* Responsive Design for Form Boxes */
@media (max-width: 768px) {
  .form-boxes-section {
    padding: 3rem 0;
  }
  
  .form-boxes-section .section-title {
    font-size: 2rem;
    margin-bottom: 2rem;
  }
  
  .form-boxes-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  
  .form-box {
    padding: 1.5rem;
  }
  
  .form-box-icon {
    font-size: 2.5rem;
  }
  
  .form-box-title {
    font-size: 1.3rem;
  }
}

/* Responsive Design for Sponsored Cards */
@media (max-width: 768px) {
  .sponsored-cards-section {
    padding: 1.5rem 0;
  }
  
  .sponsored-cards-section .section-title {
    font-size: 1.6rem;
    margin-bottom: 1.5rem;
  }
  
  .sponsored-cards-grid {
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 0.75rem;
    padding: 0 0.5rem;
  }
  
  .sponsored-card {
    aspect-ratio: 5/4;
    min-height: 240px;
  }
  
  .sponsored-card-content {
    padding: 0.75rem;
  }
  
  .sponsored-card-title {
    font-size: 1rem;
  }
}

@media (max-width: 480px) {
  .sponsored-cards-section {
    padding: 2rem 0.5rem;
    position: relative;
  }
  
  .sponsored-cards-grid {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    gap: 1rem;
    padding: 0 1rem;
    scrollbar-width: none;
    -ms-overflow-style: none;
  }
  
  .sponsored-cards-grid::-webkit-scrollbar {
    display: none;
  }
  
  .sponsored-card {
    aspect-ratio: 5/4;
    min-height: 220px;
    min-width: 220px;
    max-width: 300px;
    flex-shrink: 0;
    scroll-snap-align: center;
    width: 100%;
    margin: 0 auto;
  }
  
  /* Mobile slider navigation */
  .mobile-slider-nav {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 1rem;
  }
  
  .mobile-slider-btn {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(0,0,0,0.3);
    border: none;
    cursor: pointer;
    transition: background 0.3s ease;
  }
  
  .mobile-slider-btn.active {
    background: #ff6b35;
  }
}
  
  .sponsored-card-title {
    font-size: 0.95rem;
  }
  
  .form-boxes-section {
    padding: 2rem 0;
  }
  
  .form-box {
    padding: 1.25rem;
  }
  
  .form-group input,
  .form-group select,
  .form-group textarea {
    padding: 0.75rem;
    font-size: 0.9rem;
  }
  
  .form-submit-btn {
    padding: 0.875rem 1.5rem;
    font-size: 0.95rem;
  }

/* Browsed Categories Overrides */
.category-card {
  flex: 0 0 calc(25% - 1.2rem) !important; /* Change from 20% to 25% for 4 per row */
  color: #000 !important; /* Make text black */
}

.category-card h3,
.category-card .category-name {
  color: #000 !important; /* Ensure category names are black */
}

/* Filter Section Text Color Overrides */
.filter-section {
  color: #000 !important; /* Make all filter section text black */
}

.filter-header h3 {
  color: #000 !important; /* Filter section title */
}

.filter-header p {
  color: #000 !important; /* Filter section description */
}

.filter-label {
  color: #000 !important; /* Filter labels */
}

.filter-select,
.filter-input {
  color: #000 !important; /* Filter input and select text */
}

.filter-select option {
  color: #000 !important; /* Filter dropdown options */
}

.btn-reset {
  color: #000 !important; /* Reset button text */
}

.btn-search {
  color: #fff !important; /* Keep search button text white for contrast */
}

/* Geolocation Detection Styles */
.location-input-group {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.detect-location-btn {
  background: linear-gradient(135deg, #3498db, #2980b9);
  color: white;
  border: none;
  padding: 0.6rem 1rem;
  border-radius: 8px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-size: 0.85rem;
  box-shadow: 0 2px 8px rgba(52, 152, 219, 0.3);
}

.detect-location-btn:hover {
  background: linear-gradient(135deg, #2980b9, #1f5f8b);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(52, 152, 219, 0.4);
}

.detect-location-btn:disabled {
  background: #bdc3c7;
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}

.detect-location-btn .location-icon {
  font-size: 1rem;
}

.detected-location-info {
  background: #e8f5e8;
  border: 1px solid #27ae60;
  border-radius: 8px;
  padding: 0.75rem;
  margin-top: 0.5rem;
  animation: slideDown 0.3s ease;
}

.location-status {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.25rem;
}

.status-icon {
  color: #27ae60;
  font-size: 0.9rem;
}

.status-text {
  color: #2c3e50;
  font-weight: 500;
  font-size: 0.85rem;
}

.location-details {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.9rem;
}

.detected-country {
  color: #2c3e50;
  font-weight: 600;
}

.location-separator {
  color: #7f8c8d;
}

.detected-city {
  color: #34495e;
  font-weight: 500;
}

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

/* Loading state for detect button */
.detect-location-btn.loading {
  background: #95a5a6;
  cursor: wait;
}

.detect-location-btn.loading .location-text::after {
  content: "...";
  animation: dots 1.5s infinite;
}

@keyframes dots {
  0%, 20% { content: ""; }
  40% { content: "."; }
  60% { content: ".."; }
  80%, 100% { content: "..."; }
}

/* Error state */
.detected-location-info.error {
  background: #fdf2f2;
  border-color: #e74c3c;
}

.detected-location-info.error .status-icon {
  color: #e74c3c;
}

.detected-location-info.error .status-text {
  color: #c0392b;
}

/* Mobile responsive */
@media (max-width: 768px) {
  .location-input-group {
    gap: 0.75rem;
  }
  
  .detect-location-btn {
    padding: 0.75rem 1rem;
    font-size: 0.9rem;
  }
  
  .detected-location-info {
    padding: 1rem;
  }
  
  .location-details {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.25rem;
  }
  
  .location-separator {
    display: none;
  }
}

/* Footer Black Background */
.footer {
  background-color: #000000 !important;
  background: #000000 !important;
  color: #ffffff !important;
}

.footer * {
  color: #ffffff !important;
}

/* Ensure all footer containers have black background */
.footer .container {
  background-color: #000000 !important;
  background: #000000 !important;
}

.footer .footer-content {
  background-color: #000000 !important;
  background: #000000 !important;
}

.footer .footer-section {
  background-color: #000000 !important;
  background: #000000 !important;
}

.footer .footer-info {
  background-color: #000000 !important;
  background: #000000 !important;
}

.footer .footer-brand {
  background-color: #000000 !important;
  background: #000000 !important;
}

.footer .footer-links {
  background-color: #000000 !important;
  background: #000000 !important;
}

.footer .footer-column {
  background-color: #000000 !important;
  background: #000000 !important;
}

/* Quick links styling */
.footer .quick-links {
  background-color: #000000 !important;
  background: #000000 !important;
}

.footer .quick-link-card {
  background-color: #1a1a1a !important;
  background: #1a1a1a !important;
  border: 1px solid #333333 !important;
  color: #ffffff !important;
}

.footer .quick-link-card:hover {
  background-color: #2a2a2a !important;
  background: #2a2a2a !important;
}

.footer .quick-link-card h4 {
  color: #ffffff !important;
}

.footer .quick-link-card p {
  color: #cccccc !important;
}

.footer .quick-link-icon {
  background-color: transparent !important;
}

.footer .quick-link-content {
  background-color: transparent !important;
}

/* Brand and text styling */
.footer .footer-brand h2 {
  color: #ffffff !important;
}

.footer .footer-brand p {
  color: #cccccc !important;
}

.footer .footer-column h4 {
  color: #ffffff !important;
}

.footer .footer-column ul {
  background-color: transparent !important;
}

.footer .footer-column li {
  background-color: transparent !important;
}

.footer .footer-column a {
  color: #cccccc !important;
  transition: color 0.3s ease;
  background-color: transparent !important;
}

.footer .footer-column a:hover {
  color: #ffffff !important;
}

.footer .footer-bottom {
  background-color: #000000 !important;
  background: #000000 !important;
  border-top: 1px solid #333333;
}

.footer .footer-bottom-content {
  background-color: #000000 !important;
  background: #000000 !important;
}

.footer .footer-bottom p {
  color: #cccccc !important;
}

.footer .social-links {
  background-color: transparent !important;
}

.footer .social-link {
  color: #cccccc !important;
  transition: color 0.3s ease;
  background-color: transparent !important;
}

.footer .social-link:hover {
  color: #ffffff !important;
}


@media (max-height: 368px) {
  /* Increase header height on mobile */
  .header {
    height: 80px !important;
    min-height: 80px !important;
    padding: 1rem 0 !important;
  }
  
  .nav {
    height: 100% !important;
    align-items: center !important;
  }
  
  /* Center and adjust banner section */
  .banner-ads-section {
    margin-bottom: -1rem !important;
    margin-top: 0 !important;
    padding: 0 !important;
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
  }
}

/* Desktop spacing: add a bit more gap between banner and hero */
@media (min-width: 769px) {
  .banner-ads-section {
    margin-bottom: 1rem !important;
  }
}

/* Top bar cleanup: remove border and box-shadow */
.header,
.nav,
.top-bar,
.navbar {
  border: none !important;
  box-shadow: none !important;
}

/* Top bar: add subtle bottom border (not banner) */
.header,
.top-bar,
.navbar {
  border-bottom: 1px solid rgba(0, 0, 0, 0.12) !important;
  box-shadow: none !important;
}