@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap');@import url('https://googleapis.com');@import url('https://fonts.googleapis.com/css2?family=Open+Sans:wght@400;500;600;700&display=swap');

.seach-section {
  background-color: var(--primary-color) ;
}

.container-hero {
  overflow-y: auto;
}

.listings-hero {
  color: #000000;
}

.listings-hero-title {
  color: #000000;
}

.listings-hero-subtitle {
  color: #000000;
}

.highlight {
  color: #ffffff;

}

html, body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  background: #f7f8fa;
}

.results-container {
  padding: var(--section-pad);
  overflow-y: auto;
  scrollbar-width: thin;
  scrollbar-color: #adb5bd transparent;
  z-index: 1;
}

.results-section {
  background: #f7f8fa;
  padding: 32px 24px 60px;
  min-height: 100vh;
  scroll-snap-align: start;
}

.results-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 20px;
  max-width: 900px;
  margin: 0 auto;
}

.results-container h2{
  font-size: 1rem;
  color: black;
  text-align: left;
}

.hero-content {
  width: 100%;
  max-width: 800px;
  color: white;
  text-align: left;
  padding: 0px;
}

.hero-content h1 {
  font-family: 'Inter', sans-serif;
  font-size: 2rem;
  font-weight: 700;
  letter-spacing: 1px;
  margin: 0px;
  line-height: 1.1;
  text-align: left;
  color: white;
}

.hero-content p {
  font-family: 'Inter', sans-serif;
  font-size: 1.2rem;
  font-weight: 400;
  line-height: 1.7;
  max-width: 600px;
  margin: 0;
  text-align: left;
}

@media (min-width: 769px) {
  .results-section {
    padding: 48px 40px 80px;
  }

  .results-grid {
    max-width: 1280px;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 28px;
  }

  .hero-content {
    max-width: 1200px;
    margin: 0 auto;
  }

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

  .hero-content p {
    font-size: 1.25rem;
  }

  .results-container h2 {
    max-width: 1280px;
    font-size: 1.3rem;
  }

  
}
.city-dropdown-wrapper {
  position: absolute;
  top: 100%;
  left: 0;
  width: 100%;
  background-color: #ffffff;
  border-radius: 0 0 20px 20px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
  border: 1px solid #e2e8f0;
  border-top: none;
  z-index: 9999;
  overflow: hidden;
}

.city-suggestions-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.city-suggestion-item {
  top: 101%;
  padding: 14px 20px;
  cursor: pointer;
  font-size: var(--token-body);
  color: #334155;
  border-bottom: 1px solid #f1f5f9;
  text-align: left;
  transition: background-color 0.2s ease, color 0.2s ease;
  border-radius: 14px;
}

.city-suggestion-item:last-child {
  border-bottom: none;
}

.city-suggestion-item:hover {
  background-color: #f8fafc;
  color: #1D5EBA;
}
.search-container {
  position: relative;
  width: 100%;
  max-width: 400px;
}


.search-input {
  width: 100%;
  padding: 10px 15px;
  border: 1px solid #ccc;
  border-radius: 4px;
  font-size: 16px;
  box-sizing: border-box;
  outline: none;
  transition: border-color 0.3s;
}




.search-dropdown {
  position: absolute;
  top: 111%; 
  left: 0;
  width: 100%;
  background: #f2f5f9;
  border-top: none;
  border-radius: 0 0 15px 15px;
  max-height: 200px;
  overflow-y: auto;
  z-index: 1000;
  margin-top: 0px;
  padding: 0;
  list-style: none;
  box-shadow: 0 20px 40px 10px #000000b0;
}


.dropdown-item {
  text-align: left;
  padding: 19px 15px;
  cursor: pointer;
  transition: background 0.2s;
  border-bottom: 1px solid #f5f5f5;
  font-size: var(--token-body);
  color: #333;
}

.dropdown-item:last-child {
  border-bottom: none;
  text-align: left;
}

.dropdown-item:hover {
  background-color: #f0f5ff;
}




.no-results {
  padding: 10px 15px;
  color: #999;
  font-size: 14px;
  text-align: center;
}

.loading {
  padding: 10px 15px;
  color: #666;
  font-size: 14px;
  text-align: center;
}


.search-dropdown {
  scrollbar-width: thin;
  scrollbar-color: #ccc #f1f1f1;
  background-color: white;
  border-radius: 12px;
}


@media (max-width: 480px) {
  .search-container {
    max-width: 100%;
  }
  
  .search-input {
    font-size: 14px;
    padding: 8px 12px;
  }
  
  .dropdown-item {
    text-align: left;
    padding-top: 18px;
    padding-bottom: 18px;
    font-size: 16px;
  }
}/* Wrapper for arrows and slider */
.city-carousel-container {
  position: relative;
  display: flex;
  align-items: center;
  width: 100%;
  padding: 0 40px;
  box-sizing: border-box;
}

/* Horizontal slider container */
.city-cards-track {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  overflow-x: auto;
  scroll-behavior: smooth;
  gap: 16px;
  flex: 1;
  padding: 10px 0;
  scroll-snap-type: x mandatory;
  scrollbar-width: thin;
}

/* Scrollbar styling */
.city-cards-track::-webkit-scrollbar {
  height: 6px;
}

.city-cards-track::-webkit-scrollbar-track {
  background: #f1f1f1;
  border-radius: 10px;
}

.city-cards-track::-webkit-scrollbar-thumb {
  background: #888;
  border-radius: 10px;
}

/* Cards inside track */
.city-cards-track .city-keyword-card {
  flex-shrink: 0;
  width: calc(25% - 12px);
  min-width: calc(25% - 12px);
  scroll-snap-align: start;
  cursor: pointer;
  border-radius: 70px;
  overflow: hidden;
  transition: transform 0.2s ease;
  display: flex;
}

.city-cards-track .city-keyword-card:hover {
  transform: scale(1.03);
}

/* Arrow buttons */
.city-carousel-arrow {
  display: none;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0, 0, 0, 0.6);
  color: white;
  border: none;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  cursor: pointer;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  font-weight: bold;
  transition: all 0.2s ease;
}

.city-carousel-arrow:hover {
  background: rgba(0, 0, 0, 0.8);
  transform: translateY(-50%) scale(1.05);
}

.city-carousel-prev {
  left: 0;
}

.city-carousel-next {
  right: 0;
}

/* Your existing card styles */
.city-keyword-card {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  cursor: pointer;
}

.city-keyword-card img {
  width: 65px;
  height: 65px;
  border-radius: 50%;
  object-fit: cover;
  display: block;
}

.city-keyword-card h3 {
  bottom: 0;
  left: 0;
  right: 0;
  margin: 0;
  padding: 12px;
  color: rgb(0, 0, 0);
  font-size: 16px;
  text-align: center;
  z-index: 2;
}

/* SINGLE BREAKPOINT: Show 2 cards on mobile, 4 on desktop */
@media (max-width: 768px) {
  .city-carousel-container {
    padding: 0px;
  }
  
  .city-cards-track .city-keyword-card {
    width: calc(10% - 8px);
    display: flex;
    border: solid 1px #0000001a;
    border-radius: 70px;
    background-color: #0000001a;
  }
  
  .city-carousel-arrow {
    display: none;
    width: 12px;
    height: 12px;
    font-size: 20px;
    padding: 12px;
  }
  
  .city-keyword-card h3 {
    font-size: 14px;
    padding: 8px;
  }
}


.landmark-info {
  text-align: left;
  color: rgb(0, 0, 0);
  border-radius: 2px;
  width: fit-content;
  padding: 3px;
  font-size: 12px;
}


.icon-list {
  color: #333333;
  text-align: left;
  margin-top: 5px;
  margin-bottom: 5px;
  font-size: 15px;
  background-color: #e5e5e52b;
  border-radius: 2px;
  font-weight: 500;
}


.offer-icon {
  display: inline-flex;
  align-items: center;
  gap: 0px;
  margin-right: 3px;
}


.offer-icon svg {
  margin-right: 6px;
}


.price-wrapper {
  text-align: left;
  padding: 0px;
  display: flex;
  flex-direction: column;
  color: #000000;
}


.current-price {
  font: black;
}


.offer-badge {
  color: rgb(255, 255, 255);
  background-color: #3b6be3;
  border-radius: 2px;
  width: fit-content;
  padding: 3px;
}


.current-price {
  margin: 0px;
  font-size: 17px;
  color: rgb(0, 0, 0);
  padding: 0px;
  border-radius: 3px;
}


.price-tag p {
  text-align: left;
  padding: 0px;
  margin: 0px;
  font-size: 12px;
  font-weight: 400;
}


.business-name p {
  text-align: left;
  padding: 0px;
  margin: 0px;
  font-size: 12px;
  font-weight: 400;
}


.result-card {
  padding: var(--card-pad);
}


.result-card.mobile-view {
  display: flex;
  flex-direction: row;
  background: white;
  margin-bottom: 8px; 
  border-radius: 8px; 
  overflow: hidden;
  box-shadow: 0 1px 11px rgba(0, 0, 0, 0.08); 
  transition: all 0.15s ease;
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
  box-shadow: 0 2px 6px rgb(8 6 13 / 30%);
  margin-bottom: 25px;
  padding-top: 15px;
  padding-bottom: 15px;
}


.result-card.mobile-view:active {
  transform: scale(0.97);
  opacity: 0.85;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
}


.result-card-text-container {
  padding: 6px 10px;
  display: flex;
  flex-direction: column;
  gap: 2px; 
  width: 60%; 
  flex: 2;
}


.result-card-header {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  text-align: left;
  text-transform: capitalize;
  margin-bottom: 0px;
  margin-top: 0px;
  padding-top: 0px;
  padding-bottom: px;
}


.result-card-title {
  margin: 0;
  font-size: 15px; 
  line-height: 1.3; 
  font-weight: 600;
  color: #1a1a1a;
  font-family: 'Inter', sans-serif;
}


.result-card-image--media-container {
  display: flex;
  overflow: hidden;
  padding: 2px;
  height: 14rem; 
  width: 14rem; 
  aspect-ratio: 1 / 1;
}


.result-card-media {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  border-radius: 8px; 
}


.image-badge {
  position: absolute;
  top: 6px; /* ← REDUCED from 10px */
  left: 6px; /* ← REDUCED from 10px */
  padding: 2px 8px; /* ← REDUCED padding */
  background: rgba(0, 0, 0, 0.7);
  color: white;
  font-size: 10px; /* ← REDUCED from 13px */
  font-weight: 400;
  white-space: nowrap;
  z-index: 5;
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 4px;
  border-radius: 12px;
}


.image-dark-overlay {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(to bottom, rgb(0 0 0 / 24%), rgba(0, 0, 0, 0.05));
  border-radius: 9px;
  pointer-events: none;
  z-index: 2;
}


.image-stack {
  display: none;
  position: absolute;
  bottom: 5px;
  left: 6px;
  align-items: center;
}


.stack-image {
  position: absolute;
  bottom: 0px;
  width: 30px; /* ← REDUCED */
  height: 30px; /* ← REDUCED */
  object-fit: cover;
  border-radius: 20%;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
  transition: transform 0.2s ease;
  border: solid 1px white;
}


.stack-count {
  position: absolute;
  left: 45px;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.7);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: 600;
  border: 2px solid white;
}


/* ==============================================
   MAP PREVIEW
   ============================================== */


.map-preview-square {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 60px; /* ← REDUCED from 100px */
  height: 60px; /* ← REDUCED from 100px */
  aspect-ratio: 1 / 1;
  border-radius: 6px;
  margin-top: 0px;
  margin-left: 4px;
  margin-right: 4px;
  overflow: hidden;
  cursor: pointer;
  border: 1px solid #eee;
  background-size: cover;
  background-position: center;
  transition: transform 0.2s ease, box-shadow 0.2s ease, filter 0.2s ease;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.15);
}


.map-preview-square:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  filter: brightness(0.95);
}


.map-label {
  color: #004aad;
  padding: 0px;
  border-radius: 50px;
  font-size: 9px; /* ← REDUCED */
  font-weight: 500;
  pointer-events: none;
}


.price-label {
  color: #ffffff;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  display: block;
  background-color: #1576fc;
  margin-bottom: 4px;
  border-radius: 2px;
}


/* ==============================================
   BUTTONS
   ============================================== */


.action-btn {
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0px;
  border-radius: 24px;
}


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


.been-btn {
  color: #333;
  font-size: 12px; /* ← REDUCED */
}


.been-btn:active {
  transform: scale(0.95);
}


.result-card-actions {
  display: none;
  justify-content: space-between;
  align-items: left;
  margin-top: -4px;
  margin-bottom: -4px;
}


.actions-left {
  display: flex;
  gap: 4px;
  padding-top: 0px;
  padding-bottom: 0px;
}


/* ==============================================
   PROVIDER INFO
   ============================================== */


.provider-info {
  display: none;
  align-items: center;
  gap: 5px;
}


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


.provider-details {
  color: black;
  display: flex;
  flex-direction: column;
  gap: 1px;
  text-align: left;
}


.icon-list h4{
    font-size: 15px;
    font-weight: 700;
  }


.provider-name {
  margin: 0;
  font-weight: 600;
  font-size: 12px;
  color: black;
  margin-bottom: -8px;
  text-align: left;
}


.provider-role {
  margin: 0;
  font-size: 10px;
  color: #666;
}


/* ==============================================
   PRICE & DESCRIPTION
   ============================================== */


.price-warning p {
  color: red;
  font-weight: 600;
  font-size: 10px; /* ← REDUCED */
  text-align: left;
}


.price-tag {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 8px;
}


.compare-price {
  text-decoration: line-through;
  color: #ff0000;
  font-size: 12px; /* ← REDUCED */
}


.price-tag p:first-child {
  font-size: 12px; /* ← REDUCED */
  font-weight: 400;
  color: #1C1C1C;
}


.price-tag .compare-price {
  text-decoration: line-through;
  color: #ff0000;
  font-size: 11px; /* ← REDUCED */
  font-weight: 400;
  align-items: center;
}


.whatsapp-message-btn {
  display: inline;
  color: #0071c2;
  padding-top: 4px;
  padding-bottom: 4px;
  padding-right: 8px;
  padding-left: 8px;
  border-radius: 4px;
  text-decoration: none;
  font-size: 16px; 
  font-weight: normal;
  width: fit-content;
}


.result-card-description {
  margin: 0;
  font-size: 11px; 
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2; 
  overflow: hidden;
  text-align: left;
  color: #666; 
}


.result-card-description.expanded {
  -webkit-line-clamp: unset;
  display: block;
}


.toggle-text {
  position: absolute;
  right: 0;
  bottom: 0;
  text-align: left;
  font-size: 11px; /* ← REDUCED */
  background: white;
  padding-left: 8px;
  cursor: pointer;
  color: #004aad;
}


.limited-time-offer {
  color: #fff;
  text-align: center;
  background-color: #008234;
  border-radius: 2px;
  padding-top: 0px;
  padding-bottom: 0px;
  padding-right: 4px;
  padding-left: 4px;
  font-size: 10px; /* ← REDUCED */
  font-weight: normal;
  display: inline-block;
  margin-top: 4px; /* ← REDUCED */
}


.availability-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #1a7a3a;
  font-size: 12px; /* ← REDUCED */
  font-weight: 600;
  padding: 4px 10px; /* ← REDUCED */
  border-radius: 16px;
  margin-bottom: 6px; /* ← REDUCED */
}


.availability-badge .dot {
  width: 6px;
  height: 6px;
  background: #22c55e;
  border-radius: 50%;
  display: inline-block;
  animation: pulse-dot 1.5s infinite;
}


.recently-added {
  text-align: left;
  font-family: sans-serif;
  color: #333;
  padding-left: 4px;
  padding-bottom: 5px;
}


.recently-added .badge {
  font-weight: bold;
  color: #0070f3;
}


@keyframes pulse-dot {
  0%,
  100% {
    opacity: 1;
    transform: scale(1);
  }
  50% {
    opacity: 0.5;
    transform: scale(0.8);
  }
}


@media (max-width: 768px) {
  .icon-list h4{
    font-size: 15px;
    font-weight: 700;
    margin-top: 11px;
    margin-bottom: 9px;
  }

  .result-card {
    margin: auto;
    border-radius: 8px;
    display: flex;
    flex-direction: row;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.06);
  }

  .result-card-text-container {
    width: 100%;
    padding-left: 8px;
    padding-right: 8px;
    padding-top: 4px;
    padding-bottom: 4px;
  }

  .result-card-image--media-container {
    height: 12 rem; 
    width: 10 rem;
  }

  .result-card-title {
    font-size: 16px;
    font-weight: 700;
    line-height: 1.3;
    font-family: 'Inter', sans-serif;
  }

  .result-card-description {
    font-size: 11px;
    -webkit-line-clamp: 2;
    color: #666;
  }

  .take-me-btn,
  .been-btn {
    padding: 4px 8px;
    font-size: 12px;
    font-weight: 500;
    color: rgb(0, 0, 0);
    background-color: black;
  }

  .map-preview-square {
    width: 50px; 
    height: 50px;
    margin-left: 4px;
    margin-right: 4px;
    border-radius: 4px;
  }

  .map-label {
    font-size: 8px;
    padding: 0px;
  }

  .image-badge {
    font-size: 8px;
    padding: 1px 6px;
    top: 4px;
    left: 4px;
  }

  .whatsapp-message-btn {
    font-size: 14px;
  }

  .price-tag p:first-child {
    font-size: 11px;
  }

  .price-tag .compare-price {
    font-size: 10px;
  }
}


@media (min-width: 769px) {
  .result-card {
    display: flex;
    flex-direction: row;
    background: #fff;
    border: 1px solid #e8e8e8;
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,.06);
    transition: all .25s ease;
    margin-right: 80px;
  }

  .result-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 30px rgba(0,0,0,.12);
  }

  .result-card-image--media-container {
    width: 14rem;
    height: 14rem;
  }

  .result-card-text-container {
    padding: 14px;
    gap: 8px;
  }

  .result-card-title {
    font-size: 18px;
    font-weight: 700;
  }

  .result-card-description {
    font-size: 14px;
    color: #666;
  }

  .price-wrapper {
    margin-top: auto;
    padding-top: 10px;
    border-top: 1px solid #f1f1f1;
  }
}.icon-list{
  color: #333333;
  text-align: left;
  margin-top: 5px;
  margin-bottom: 5px;
  font-size: 13px;
  background-color: #e5e5e52b;
  border-radius: 2px;
}


.card{
  padding: 5px;
}

.checklist-item {
  display: flex;
  align-items: center;
  gap: 8px;
}

.check-icon {
  width: 18px;
  height: 18px;
  color: #555;
  flex-shrink: 0;
}

.checklist-item svg {
  width: 1em;
  height: 1em;
  flex-shrink: 0;
  margin-top: 2px;
}



.checklist{
  padding: 5px;
  margin: 0px;
  color: #555;
}

.checklist-itinerary{
  padding: 5px;
  margin: 0px;
  color: #555;
}

.modal-header-warning{
  color: #000;
  font-weight: 600;
  margin-top: 5px;
  margin-bottom: 10px;
}

.modal-header-itinerary{
  color: #000;
  font-weight: 600;
  margin-top: 5px;
  margin-bottom: 10px;
  font-size: 23px;
}

/* FULL SCREEN OVERLAY */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.75);
  backdrop-filter: blur(6px);

  display: flex;
  justify-content: center;
  align-items: center;

  z-index: 9999;
}

/* MODAL BOX */
.modal-content {
  width: 90%;
  max-width: 750px;
  background: #fff;
  padding: 0px;
  position: relative;
  border-radius: 11px;

  box-shadow: 0 10px 40px rgba(0,0,0,0.3);
  animation: fadeIn 0.2s ease-in-out;
  max-height: 90vh;         
  overflow-y: auto;         
  overflow-x: hidden;
}

/* CLOSE BUTTON */
.modal-close {
  position: absolute;
  top: 10px;
  right: 12px;
  background-color: #00000078;
  font-size: 22px;
  border: none;
  cursor: pointer;
  color: #ffffff;
  width: 38px !important;
  height: 38px !important;
  border-radius: 50% !important;
  padding: 0 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
}

@media (max-width: 768px) {
  .modal-close {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    border-radius: 50%;
    background-color: #00000078;
    font-size: 22px;
    top: 10px;
    right: 12px;
  }
}


/* TITLE */
.modal-title {
  font-size: 22px;
  margin-bottom: 5px;
  padding: 30px;
  color: #000;
}

/* DESCRIPTION */
.modal-description {
  font-size: 15px;
  color: #555;
  margin-bottom: 15px;
  padding: 14px;
}

/* CAROUSEL */
.carousel {
  position: relative;
  width: 100%;
  height: 380px;

  display: flex;
  align-items: center;
  justify-content: center;

  margin-bottom: 10px;
}

/* IMAGE */
.carousel-image {
  width: 100%;
  height: 416px;
  object-fit: cover;
  border-radius: 12px;
}

/* ARROWS */
.carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);

  width: 42px;
  height: 42px;

  /* This ensures the arrow is perfectly centered in the circle */
  display: flex;
  align-items: center;
  justify-content: center;

  border: none;
  border-radius: 50%;
  background: rgba(0,0,0,0.5);
  color: white;

  font-size: 26px;
  cursor: pointer;
  
  /* Prevents text-selection blue boxes when clicking fast */
  user-select: none;
  /* Fixes slight alignment issues common with text-based arrows */
  line-height: 0;
}


.carousel-btn.left {
  left: 10px;
}

.carousel-btn.right {
  right: 10px;
}

/* DOTS */
.dots {
  display: flex;
  justify-content: center;
  gap: 6px;
  margin: 25px;
}

.dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #ccc;
  cursor: pointer;
}

.dot.active {
  background: #000;
}

/* ANIMATION */
@keyframes fadeIn {
  from {
    transform: scale(0.95);
    opacity: 0;
  }
  to {
    transform: scale(1);
    opacity: 1;
  }
}


.header-container {
  padding: var(--section-pad);
  margin: 0 auto;
  width: 100%;
  box-sizing: border-box;
}


/* The form needs to be a flex row on desktop */


form {
  display: flex;
  flex-direction: row; /* Changed from column to row */
  align-items: center;
  gap: 12px;
  border-radius: var(--border-rad);
  width: 100%;
  max-width: 100%;
  background-color: var(--primary-color);
  box-sizing: border-box;
}


.search-container {
  display: flex;
  flex-direction: row;
  flex: 1; 
  min-width: 0;
  box-sizing: border-box;
  gap: 8px;
  background-color: white;
  border-radius: 12px 12px 0px 0px;
  padding: 12px;
  border: solid 0.6rem #FFA500;
}


.city-wrapper {
  display: flex;
  flex-direction: row;
  position: relative;
  background-color: var(--bg);
  padding: 6px;
  flex: 1; 
  max-width: 172px;
  border-radius: 14px;
}


.city-wrapper:hover{
  border-radius: 13px 13px 0px 3px;
}


.search-input-container {
  background-color: var(--bg);
  border-radius: var(--border-radius);
  z-index: 10000;
  position: relative;
  display: flex;
  flex: 1; /* Takes available space */
  min-width: 0;
}


.search-input {
  flex: 1;
  font-size: var(--token-body);
  font-weight: 500;
  color: #1e293b;
  background: transparent;
  border: none;
  outline: none;
  padding: 24px 20px;
  font-family: 'Open Sans', sans-serif;
  min-width: 0;
  width: 100%;
  box-sizing: border-box;
}


.city-input {
  font-size: var(--token-body);
  width: 100%;
  max-width: 100%;
  opacity: 1;
  font-weight: 400;
  color: #1e293b;
  background: transparent;
  border: none;
  outline: none;
  padding: 0px;
  font-family: 'Open Sans', sans-serif;
  min-width: 0;
  box-sizing: border-box;
}


.city-input-wrapper {
  position: relative;
  display: flex;
  align-items: center;
  flex: 1;
  min-width: 0;
  transition: background-color 0.2s ease;
  border-radius: var(--bar-radius);
  width: 100%;
  box-sizing: border-box;
}


/* Button wrapper - fixed width, no stretching */


.search-button-wrapper {
  display: flex;
  align-items: center;
  padding: 0px;
  flex-shrink: 0; /* Prevents button from shrinking */
}


.search-text-button {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  background-color: #004aad;
  color: #ffffff;
  border: none;
  border-radius: 22px;
  padding: 18px 40px;
  font-size: 24px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.3s ease;
  white-space: nowrap;
  flex-shrink: 0; /* Prevents button from shrinking */
}


/* Other existing styles remain the same */


.city-input {
  font-size: var(--token-body);
}


.sub-headline {
  font-size: var(--token-body);
  text-align: left;
  color: #ffffff;
}


.header-bar {
  display: flex;
  flex-direction: row;
  max-width: 100%;
  gap: 10px;
}


.logo-bar {
  background-color: var(--primary-color);
  padding-left: 12px;
  padding-top: 12px;
}


.main-headline {
  font-size: 1.5rem;
  margin-top: 0px;
  margin-bottom: 0px;
  text-align: left;
  letter-spacing: 1px;
  color: rgb(255, 255, 255);
  padding: 24px 0px;
}


.header-bar img {
  height: 41px;
  padding: 0px;
  width: auto;
  display: block;
}


.city-container {
  display: flex;
  flex-direction: column;
  margin: auto;
  margin-right: 0px;
}


.search-icon-wrapper {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  color: #64748b;
  flex-shrink: 0;
  padding-left: 4px;
}


.search-icon {
  width: 18px;
  height: 18px;
}


.city-icon-wrapper {
  background-color: var(--primary-color);
  position: relative;
  display: inline-flex;
  cursor: pointer;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  flex-shrink: 0;
  overflow: visible !important;
  padding: 5px;
  border-radius: 5px;
  margin: 4px;
}


.city-icon-wrapper svg {
  width: 12px;
  height: 12px;
}


form:focus-within {
  border-color: #1D5EBA;
  box-shadow: 0 12px 30px rgba(29, 94, 186, 0.2);
}


::placeholder {
  font-size: 24px;
  color: #94a3b8;
}


.query-suggestions,
.city-suggestions {
  margin-top: 12px;
  border-radius: 20px;
}


ul li {
  padding: 16px 24px;
  font-size: 18px;
}


.city-suggestion:hover,
.search-suggestion:hover {
  background-color: #f5f9ff;
}


.clear-city-button {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  width: 24px;
  height: 24px;
  border: none;
  background: none;
  color: #64748b;
  font-size: 18px;
  cursor: pointer;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  z-index: 1;
  background-color: transparent;
  transition: all 0.2s ease;
}


.search-icon-button {
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: var(--primary-color);
  color: #ffffff;
  border: none;
  border-radius: 25%;
  width: 56px;
  height: 56px;
  cursor: pointer;
  transition: all 0.3s ease;
  flex-shrink: 0;
}


.search-icon-button svg {
  width: 24px;
  height: 24px;
}


/* Tablet Styles */


@media (min-width: 768px) and (max-width: 1024px) {
  form {
    flex-direction: row;
    border-radius: 24px;
    background-color: var(--bg-color);
    gap: 8px;
  }

  .search-input-container,
  .city-input-wrapper {
    background-color: #f2f5f9;
    border-radius: var(--bar-radius);
    flex: 1;
    min-width: 0;
  }

  .search-input,
  .city-input {
    padding: 12px 16px;
    white-space: nowrap;
    min-width: 0;
  }

  .search-text-button {
    font-size: 20px;
    padding: 12px 24px;
    border-radius: 14px;
  }

  .search-icon-button {
    width: 48px;
    height: 48px;
    border-radius: 25%;
    flex-shrink: 0;
  }

  ::placeholder {
    font-size: 15px;
  }

  ul li {
    font-size: 14px;
    padding: 12px 14px;
  }

  .clear-city-button {
    right: 10px;
    width: 18px;
    height: 18px;
    font-size: 16px;
    background-color: white;
  }
}


/* Mobile Styles */


@media (max-width: 480px) {
  form {
    flex-direction: column; /* Stack on mobile */
    padding-top: 0px;
    padding-bottom: 4px;
    gap: 4px;
    border-radius: 4px;
    max-width: 100%;
  }

  .search-input,
  .city-input {
    padding: 0px;
  }

  .search-icon-button {
    width: 46px;
    height: 46px;
    border-radius: 25%;
  }

  .search-text-button {
    font-size: 20px;
    padding: 12px;
    border-radius: 12px;
    width: 100%; /* Full width on mobile */
  }

  .search-input-container,
  .city-input-wrapper {
    border-radius: 20px 20px 0 0;
    padding: 10px;
  }

  ::placeholder {
    font-size: 14px;
  }

  .clear-city-button {
    right: 8px;
    width: 16px;
    height: 16px;
    font-size: 14px;
  }
}


/* Desktop Styles */


@media (min-width: 1025px) {
  .city-wrapper{
    margin-right: 100px;
  }

  .header-container {
    display: flex;
    flex-direction: column;
    width: 100%;
    margin: 0 auto;
    position: relative;
    padding-top: 32px;
    padding-bottom: 105px;
  }

  form {
    flex-direction: row; 
    border-radius: 24px;
    background-color: var(--primary-color);
    gap: 12px;
    box-sizing: border-box;
  }

  .search-container {
    border: solid 0.6rem #FFA500;
    flex: 1;
    max-width: 700px;
    border-radius: 14px;
    position: absolute;
    top: 76%;
  }

 

  .search-input-container,
  .city-input-wrapper {
    background-color: #f2f5f9;
    border-radius: var(--bar-radius);
    flex: 1;
    min-width: 0;
  }

  .search-input,
  .city-input {
    padding: 8px 8px;
    white-space: nowrap;
    min-width: 0;
  }

  .search-text-button {
    font-size: 20px;
    padding: 14px 32px;
    border-radius: 14px;
  }

  .search-icon-button {
    width: 48px;
    height: 48px;
    border-radius: 25%;
    flex-shrink: 0;
  }

  ::placeholder {
    font-size: 16px;
  }

  ul li {
    font-size: 14px;
    padding: 12px 14px;
  }

  .clear-city-button {
    right: 10px;
    width: 18px;
    height: 18px;
    font-size: 16px;
    background-color: white;
  }

  .city-input-wrapper {
    position: relative;
    bottom: auto;
  }
}

.counter {
  font-size: 16px;
  padding: 5px 10px;
  border-radius: 5px;
  color: var(--accent);
  background: var(--accent-bg);
  border: 2px solid transparent;
  transition: border-color 0.3s;
  margin-bottom: 24px;

  &:hover {
    border-color: var(--accent-border);
  }
  &:focus-visible {
    outline: 2px solid var(--accent);
    outline-offset: 2px;
  }
}

.hero {
  position: relative;

  .base,
  .framework,
  .vite {
    inset-inline: 0;
    margin: 0 auto;
  }

  .base {
    width: 170px;
    position: relative;
    z-index: 0;
  }

  .framework,
  .vite {
    position: absolute;
  }

  .framework {
    z-index: 1;
    top: 34px;
    height: 28px;
    transform: perspective(2000px) rotateZ(300deg) rotateX(44deg) rotateY(39deg)
      scale(1.4);
  }

  .vite {
    z-index: 0;
    top: 107px;
    height: 26px;
    width: auto;
    transform: perspective(2000px) rotateZ(300deg) rotateX(40deg) rotateY(39deg)
      scale(0.8);
  }
}

#center {
  display: flex;
  flex-direction: column;
  gap: 25px;
  place-content: center;
  place-items: center;
  flex-grow: 1;

  @media (max-width: 1024px) {
    padding: 32px 20px 24px;
    gap: 18px;
  }
}

#next-steps {
  display: flex;
  border-top: 1px solid var(--border);
  text-align: left;

  & > div {
    flex: 1 1 0;
    padding: 32px;
    @media (max-width: 1024px) {
      padding: 24px 20px;
    }
  }

  .icon {
    margin-bottom: 16px;
    width: 22px;
    height: 22px;
  }

  @media (max-width: 1024px) {
    flex-direction: column;
    text-align: center;
  }
}

#docs {
  border-right: 1px solid var(--border);

  @media (max-width: 1024px) {
    border-right: none;
    border-bottom: 1px solid var(--border);
  }
}

#next-steps ul {
  list-style: none;
  padding: 0;
  display: flex;
  gap: 8px;
  margin: 32px 0 0;

  .logo {
    height: 18px;
  }

  a {
    color: var(--text-h);
    font-size: 16px;
    border-radius: 6px;
    background: var(--social-bg);
    display: flex;
    padding: 6px 12px;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    transition: box-shadow 0.3s;

    &:hover {
      box-shadow: var(--shadow);
    }
    .button-icon {
      height: 18px;
      width: 18px;
    }
  }

  @media (max-width: 1024px) {
    margin-top: 20px;
    flex-wrap: wrap;
    justify-content: center;

    li {
      flex: 1 1 calc(50% - 8px);
    }

    a {
      width: 100%;
      justify-content: center;
      box-sizing: border-box;
    }
  }
}

#spacer {
  height: 88px;
  border-top: 1px solid var(--border);
  @media (max-width: 1024px) {
    height: 48px;
  }
}

.ticks {
  position: relative;
  width: 100%;

  &::before,
  &::after {
    content: '';
    position: absolute;
    top: -4.5px;
    border: 5px solid transparent;
  }

  &::before {
    left: 0;
    border-left-color: var(--border);
  }
  &::after {
    right: 0;
    border-right-color: var(--border);
  }
}

:root { 
  /* --- 1. GLOBAL TOKENS (Light Theme Locked) --- */
  --text: #6b6375; 
  --text-h: #08060d; 
  --bg: #fff;  
  --primary-color : #0071C2  ; 
  --border: #e5e4e7; 
  --code-bg: #f4f3ec; 
  --accent: #aa3bff; 
  --accent-bg: rgba(170, 59, 255, 0.1); 
  --accent-border: rgba(170, 59, 255, 0.5); 
  --social-bg: rgba(244, 243, 236, 0.5); 
  --shadow: rgba(0, 0, 0, 0.1) 0 10px 15px -3px, rgba(0, 0, 0, 0.05) 0 4px 6px -2px; 
  --sans: system-ui, 'Segoe UI', Roboto, sans-serif; 
  --heading: system-ui, 'Segoe UI', Roboto, sans-serif; 
  --mono: ui-monospace, Consolas, monospace;

  /* --- 2. BUNDLED SPACING TOKENS (Desktop) --- */
  --section-pad: 40px;
  --section-mar: 0 auto 32px auto; 
  --card-pad: 24px; 
  --card-mar: 0 0 16px 0; 
  
  /* FIXED: Use consistent border radius variables */
  --border-radius: 16px;  /* Used for containers */
  --border-rad: 16px;     /* Used for form */
  --bar-radius: 12px;     /* Used for input bars - single value for all corners */

  /* --- 3. BUNDLED TYPOGRAPHY TOKENS (Desktop) --- */
  --token-title: 500 56px/120% var(--heading); 
  --token-headline: 500 24px/118% var(--heading); 
  --token-body: 400 15px/145% var(--sans); 
  --title-mar: 32px 0; 
  --headline-mar: 0 0 8px; 
}

/* --- AUTOMATIC MOBILE OVERRIDES (768px and down) --- */
@media (max-width: 768px) { 
  :root { 
    --section-pad: 5px;
    --seach-section: 10px; 
    --section-mar: 0 auto 20px auto; 
    --card-pad: 1px;
    --border-rad: 16px; 
    --border-radius: 16px;
    --bar-radius: 12px;  /* Fixed: single value */
    --bg-col: white;
    
    --token-title: 500 36px/120% var(--heading); 
    --token-headline: 500 20px/118% var(--heading); 
    --token-body: 400 14px/145% var(--sans); 
    --title-mar: 20px 0; 
  } 
}


@media (min-width: 1025px) {
  :root { 
    --card-pad: 20px;
    --section-pad: 20px 180px ;
    --token-title: 500 90px/120% var(--heading); 
    --token-body: 400 16px/145% var(--sans); 
    --seach-section: 20px 80px;
  }
}


/* --- Global Base Layout System --- */
html, body { 
  margin: 0; 
  padding: 0; 
  width: 100%; 
  max-width: 100%; 
  box-sizing: border-box; 
  font: var(--token-body); 
  letter-spacing: 0.18px; 
  color-scheme: light;
  color: var(--text); 
  background: var(--bg); 
  text-rendering: optimizeLegibility; 
  -webkit-font-smoothing: antialiased; 
}

#root { 
  width: 100%; 
  margin: 0; 
  text-align: center; 
  min-height: 100svh; 
  display: flex; 
  flex-direction: column; 
}

p { 
  margin: 0; 
}


