* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: Arial, sans-serif;
}

body {
  background: #f7f7f7;
}


/* Sticky Header */
.navbar {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: #ffffff;
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 12px 20px;
  border-bottom: 1px solid #eee;
}
.logo {
  font-size: 30px;
  font-weight: 900;
  font-family: 'Baloo 2', cursive;
}

.logo .on {
  color: #e53935;
}

.logo .prize {
  color: #43a047;
}


/* Hero */
.hero {
  height: 85vh;
  background-image: url("./src/background.jpg");
  background-size: cover;
  background-position: center;
}

/* Dark overlay */
.hero-overlay {
  height: 100%;
  background: rgba(0, 0, 0, 0.45);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 20px;
}

.hero-overlay h2 {
  color: #fff;
  font-size: 2.5rem;
  margin-bottom: 20px;
}
/* ================= LOCATION BAR ================= */

.location-bar {
  display: flex;
  align-items: center;
  gap: 6px;
  background: #fff;
  border-radius: 30px;
  padding: 6px 10px;
  max-width: 680px;
  margin: 20px auto;
  box-shadow: 0 4px 20px rgba(0,0,0,0.15);
}

/* location icon */
.location-icon {
  font-size: 16px;
}

/* input */
#locationInput {
  flex: 1;
  border: none;
  outline: none;
  font-size: 14px;
  padding: 8px;
  min-width: 0;
}

/* detect button */
#detectLocationBtn {
  background: #ff3d3d;
  color: #fff;
  border: none;
  border-radius: 20px;
  padding: 7px 14px;
  font-size: 13px;
  cursor: pointer;
  white-space: nowrap;
}

#detectLocationBtn:hover {
  background: #e63232;
}

/* dropdown wrapper */
.city-select {
  position: relative;
  width: 34px;
  height: 34px;
}

/* dropdown */
#cityDropdown {
  appearance: none;
  -webkit-appearance: none;
  width: 100%;
  height: 100%;
  border: none;
  background: transparent;
  cursor: pointer;
  z-index: 2;
  position: relative;
}

/* dropdown arrow */
.city-select::after {
  content: "▾";
  position: absolute;
  right: 6px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 14px;
  color: #333;
  pointer-events: none;
}

/* status text */
.location-status {
  text-align: center;
  font-size: 14px;
  margin-top: 10px;
}

.location-status.success {
  color: #f4b400;
}

.location-status.error {
  color: #ff3d3d;
}

/* ================= MOBILE RESPONSIVE ================= */

@media (max-width: 600px) {
  .location-bar {
    max-width: 90%;
    padding: 6px;
  }

  #locationInput {
    font-size: 13px;
  }

  #detectLocationBtn {
    padding: 6px 10px;
    font-size: 12px;
  }
}


/* Search bar */
.hero-search input {
  width: 100%;
  max-width: 420px;
  padding: 14px 18px;
  font-size: 16px;
  border-radius: 30px;
  border: none;
  outline: none;
}
@media (max-width: 768px) {
  .hero {
    height: 70vh;
  }

  .hero-overlay h2 {
    font-size: 1.8rem;
  }
}
/* section diveder  */
.section-label {
  display: flex;
  align-items: center;
  margin: 24px 0;
}

.section-label::before,
.section-label::after {
  content: "";
  flex: 1;
  height: 1px;
  background: #e5e5e5;
}

.section-label span {
  padding: 0 12px;
  font-size: 14px;
  font-weight: 600;
  color: #555;
}

/* Categories */
.categories {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 15px;
  padding: 20px;
}

.card {
  background: white;
  border-radius: 10px;
  overflow: hidden;
  text-align: center;
}

.card img {
  width: 100%;
  height: 120px;
  object-fit: cover;
}

.card p {
  padding: 10px;
  font-weight: bold;
}

/* Comparison Section */
.comparison {
  background: #fbd19c;
  padding: 40px 20px;
  text-align: center;
}

.comparison h2 {
  font-size: 26px;
}

.subtitle {
  margin: 10px 0 30px;
}

.table-wrapper {
  overflow-x: auto;
}

table {
  width: 100%;
  background: white;
  border-radius: 12px;
  border-collapse: collapse;
}

th, td {
  padding: 14px;
  border-bottom: 1px solid #eee;
}

th {
  background: #f5f5f5;
}

td:nth-child(2) {
  font-weight: bold;
  color: #2ecc71;
}

/* App Section */
.app-section {
  text-align: center;
  padding: 48px 20px;
  background: #f9fafb;
  border-radius: 24px;
  margin: 40px 16px;
  position: relative;
}

.app-section h2 {
  font-size: 24px;
  margin-bottom: 8px;
}

.app-section p {
  font-size: 15px;
  color: #555;
  margin-bottom: 24px;
}

/* Store buttons */
.store-buttons {
  display: flex;
  justify-content: center;
  gap: 16px;
}

.store-buttons img {
  height: 48px;
}

/* Disabled look */
.store-buttons.disabled {
  opacity: 0.4;
  pointer-events: none;
  filter: grayscale(100%);
}

/* Coming soon badge */
.coming-soon-badge {
  position: absolute;
  top: 16px;
  right: 16px;
  background: #ff9800;
  color: #fff;
  font-size: 12px;
  font-weight: 600;
  padding: 6px 12px;
  border-radius: 999px;
}


/* Footer */
.footer {
  background: black;
  color: white;
  padding: 30px 20px;
  margin-top: auto;
}


.footer ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 13px;
}

.footer li {
  margin-bottom: 10px;
    cursor: pointer;
  opacity: 0.9;
}

.footer p {
  margin-top: 12px;
  font-size: 12px;
  opacity: 0.8;
}
.food-carousel {
  width: 100%;
  overflow: hidden;
  background: #fff;
  padding: 16px 0;
}
.footer a {
  color: #ffffff;
  text-decoration: none;
  font-size: 14px;
}

.footer a:hover {
  text-decoration: underline;
  opacity: 0.85;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.footer-links a {
  color: #fff;
  font-size: 14px;
  text-decoration: none;
  opacity: 0.9;
}

.footer-links a:hover {
  opacity: 1;
  text-decoration: underline;
}

/* === Swiggy-style dropdown === */
/* ===== Available in ===== */
.footer-cities {
  max-width: 1100px;
  margin: auto;
  text-align: center;
}

.footer-cities h4 {
  font-size: 16px;
  margin-bottom: 16px;
  opacity: 0.9;
}

/* City grid (desktop) */
.city-columns {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px 40px;
  font-size: 14px;
  opacity: 0.85;
  margin-bottom: 20px;
}

.city-columns span {
  text-align: left;
}

/* ===== Dropdown ===== */
.cities-dropdown {
  position: relative;
  width: fit-content;
  margin: 0 auto 30px;
}

.dropdown-btn {
  background: #fff;
  color: #333;
  border: 1px solid #ddd;
  border-radius: 6px;
  padding: 6px 14px;
  font-size: 13px;
  cursor: pointer;
  display: flex;
  gap: 6px;
  align-items: center;
}

.dropdown-menu {
  position: absolute;
  bottom: 42px;
  left: 50%;
  transform: translateX(-50%);
  width: 200px;
  background: #fff;
  color: #000;
  border-radius: 6px;
  box-shadow: 0 6px 18px rgba(0,0,0,0.25);
  display: none;
  max-height: 180px;   /* ✅ compact */
  overflow-y: auto;
  z-index: 99;
}

.dropdown-menu.show {
  display: block;
}

.dropdown-menu li {
  padding: 8px 12px;
  font-size: 13px;
  border-bottom: 1px solid #eee;
}

/* Scrollbar */
.dropdown-menu::-webkit-scrollbar {
  width: 4px;
}
.dropdown-menu::-webkit-scrollbar-thumb {
  background: #ccc;
  border-radius: 10px;
}
.copyright {
  font-size: 12px;
  opacity: 0.8;
  margin-top: 12px;
}

/* ===== Mobile ===== */
@media (max-width: 768px) {
  .city-columns {
    grid-template-columns: repeat(2, 1fr);
    text-align: center;
  }

  .dropdown-menu {
    width: 180px;
  }
}

/* =========================
   STATIC PAGES (Footer)
   ========================= */


/* =========================
   STATIC PAGES (LEGAL PAGES)
   About | Privacy | Terms |
   Refund | Shipping
   ========================= */

/* Page wrapper */
.static-page {
    padding: 32px 16px 60px;
  flex: 1;
  background: #f7f7f7;
}

/* Content card */
.static-container {
  max-width: 900px;
  margin: auto;
  background: #ffffff;
  padding: 32px;
  border-radius: 20px;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.08);
}

/* Headings */
.static-container h1 {
  font-size: 28px;
  font-weight: 700;
  margin-bottom: 16px;
  color: #111;
}

.static-container h2,
.static-container h3 {
  font-size: 18px;
  margin-top: 28px;
  margin-bottom: 10px;
  color: #222;
}

/* Text */
.static-container p {
  font-size: 14px;
  line-height: 1.7;
  color: #444;
  margin-bottom: 16px;
}

/* Lists */
.static-container ul {
  padding-left: 18px;
  margin-bottom: 16px;
}

.static-container li {
  font-size: 14px;
  line-height: 1.6;
  color: #444;
  margin-bottom: 8px;
}

/* Links */
.static-container a {
  color: #e53935;
  text-decoration: none;
}

.static-container a:hover {
  text-decoration: underline;
}

/* =========================
   MOBILE OPTIMIZATION
   ========================= */
@media (max-width: 600px) {

  .static-page {
    padding: 70px 12px 50px;
  }

  .static-container {
    padding: 20px;
    border-radius: 14px;
  }

  .static-container h1 {
    font-size: 22px;
  }

  .static-container h2,
  .static-container h3 {
    font-size: 16px;
  }

  .static-container p,
  .static-container li {
    font-size: 13.5px;
  }
}

/* Track */
.carousel-track {
  display: flex;
  gap: 16px;
  width: max-content;
  animation: scroll-left 22s linear infinite;
}

/* Images */
.carousel-track img {
  width: 220px;
  height: 140px;
  object-fit: cover;
  border-radius: 16px;
  box-shadow: 0 6px 16px rgba(0,0,0,0.1);
}
.highlight {
  background-color: #fff176; /* soft yellow */
  padding: 2px 4px;
  border-radius: 4px;
  animation: flash 1.2s ease-in-out;
}

@keyframes flash {
  0%   { background-color: #fff176; }
  50%  { background-color: #ffe082; }
  100% { background-color: #fff176; }
}

.search-message {
  position: fixed;
  top: 70px; /* below sticky header */
  left: 50%;
  transform: translateX(-50%);
  background: #111;
  color: #fff;
  padding: 10px 18px;
  border-radius: 20px;
  font-size: 14px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease, transform 0.3s ease;
  z-index: 999;
}

.search-message.show {
  opacity: 1;
  transform: translateX(-50%) translateY(10px);
}

@keyframes scroll-left {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

/* Hover pause (desktop only) */
/* Media Queries */
@media (hover: hover) {
  .food-carousel:hover .carousel-track {
    animation-play-state: paused;
  }
}

/* Tablet */
@media (max-width: 1024px) {
  .carousel-track img {
    width: 180px;
    height: 120px;
  }
}

/* Mobile */
@media (max-width: 600px) {
  .carousel-track {
    gap: 12px;
    animation-duration: 18s;
  }

  .carousel-track img {
    width: 140px;
    height: 95px;
    border-radius: 12px;
  }
}


@media (min-width: 768px) {
  .categories {
    grid-template-columns: repeat(4, 1fr);
  }
}

@media (min-width: 1024px) {
  .categories {
    grid-template-columns: repeat(6, 1fr);
  }
}
@media (max-width: 768px) {
  .navbar {
    flex-direction: column;
    align-items: stretch;
  }

  .nav-search {
    max-width: 100%;
  }
}
/* =============================
   RESPONSIVE TABLE – MOBILE
   ============================= */
@media (max-width: 768px) {

  .comparison {
    padding: 10px;
  }

  .table-wrapper {
    overflow-x: hidden; /* NO SCROLL */
  }

  .comparison table {
    width: 100%;
    table-layout: fixed; /* Force columns to fit */
  }

  .comparison th,
  .comparison td {
    padding: 8px 6px;
    font-size: 13px;
    word-wrap: break-word;
  }

  .comparison th {
    font-size: 13px;
    font-weight: 600;
  }

  .comparison td:first-child {
    width: 45%; /* Feature column */
  }

  .comparison td:not(:first-child),
  .comparison th:not(:first-child) {
    width: 27.5%; /* Other columns */
    text-align: center;
  }

  /* Make icons smaller */
  .comparison td {
    line-height: 1.3;
  }
}
/* ===== Layout ===== */
.partner-wrapper {
  display: flex;
  min-height:fit-content;
}

/* ===== LEFT SIDE ===== */
.partner-left {
  flex: 1;
  position: relative;
  background: url("./src/background.jpg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  height:max-content;
   
}

.partner-left .overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.65);
}

.left-content {
  position: relative;
  z-index: 1;
  color: #fff;
  padding: 80px;
}

.badge {
  font-size: 13px;
  letter-spacing: 1px;
  opacity: 0.85;
}

.left-content h1 {
  margin-top: 16px;
  font-size: 42px;
  font-weight: 700;
  line-height: 1.2;
}

.left-content .desc {
  margin-top: 14px;
  font-size: 15px;
  opacity: 0.85;
  max-width: 420px;
}


/* ===== MOBILE ===== */
@media (max-width: 768px) {
  .partner-wrapper {
    flex-direction: column;
  }

  .partner-left {
    height:auto;
  }

  .left-content {
    padding: 40px 24px;
  }

  .left-content h1 {
    font-size: 26px;
  }

}
.partner-options {
  padding: 80px 8%;
  background: #f9f9f9;
}

.partner-container {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 40px;
}

.partner-card {
  background: #ffffff;
  padding: 40px;
  border-radius: 14px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.partner-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.12);
}

.partner-card h3 {
  font-size: 26px;
  margin-bottom: 15px;
  color: #222;
}

.partner-card p {
  font-size: 15px;
  line-height: 1.6;
  color: #555;
  margin-bottom: 25px;
}

.partner-btn {
  display: inline-block;
  padding: 12px 26px;
  background: #fc8019; /* Swiggy-like orange */
  color: #fff;
  border-radius: 6px;
  font-weight: 600;
  text-decoration: none;
  transition: background 0.3s ease;
}

.partner-btn:hover {
  background: #e86c0f;
}

/* Mobile responsive */
@media (max-width: 768px) {
  .partner-container {
    grid-template-columns: 1fr;
  }
}
.partner-rules-section {
  padding: 70px 8%;
  background: #f9f9f9;
  font-family: 'Poppins', sans-serif;
}

.rules-box {
  max-width: 900px;
  margin: auto;
  background: #fff;
  padding: 50px;
  border-radius: 14px;
  box-shadow: 0 12px 30px rgba(0,0,0,0.08);
}

.rules-box h2 {
  font-size: 28px;
  margin-bottom: 16px;
  color: #222;
}

.rules-box h3 {
  font-size: 20px;
  margin: 30px 0 10px;
  color: #333;
}

.rules-box p {
  font-size: 15px;
  color: #555;
  line-height: 1.7;
}

.rules-box ul {
  margin-top: 12px;
  padding-left: 20px;
}

.rules-box ul li {
  font-size: 15px;
  margin-bottom: 10px;
  color: #444;
}

.highlight {
  background: #fff4ea;
  border-left: 6px solid #fc8019;
  padding: 20px;
  margin-bottom: 30px;
  border-radius: 6px;
}

.highlight strong {
  color: #fc8019;
}

.not-required li {
  color: #c0392b;
}

.action-area {
  margin-top: 40px;
  text-align: center;
}

.action-btn {
  display: inline-block;
  background: #fc8019;
  color: #fff;
  padding: 14px 34px;
  font-weight: 600;
  border-radius: 8px;
  text-decoration: none;
  transition: 0.3s;
}

.action-btn:hover {
  background: #e96b10;
}

@media (max-width: 768px) {
  .rules-box {
    padding: 30px;
  }
}
.careers-section {
  padding: 80px 8%;
  background: #f9f9f9;
  font-family: 'Poppins', sans-serif;
}

.careers-intro {
  text-align: center;
  margin-bottom: 60px;
}

.careers-intro h1 {
  font-size: 40px;
  color: #222;
}

.careers-intro p {
  font-size: 16px;
  color: #555;
  max-width: 700px;
  margin: 15px auto 0;
}
.careers-block {
  margin-bottom: 70px;
}

.careers-block h2 {
  font-size: 28px;
  margin-bottom: 30px;
  color: #222;
}

.section-title {
  font-size: 28px;
  margin-bottom: 30px;
  color: #222;
}
/* Cities */
.cities-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(130px, 1fr));
  gap: 14px;
  margin-top: 20px;
}

.city-box {
  background: #fff;
  padding: 12px 10px;
  text-align: center;
  border-radius: 10px;
  font-size: 14px;
  box-shadow: 0 4px 14px rgba(0,0,0,0.06);
  cursor: pointer;
  transition: 0.2s ease;
}

.city-box:hover {
  background: #fc8019;
  color: #fff;
}

.more-cities {
  font-weight: 600;
  color: #fc8019;
  background: #fff7f0;
}


/* Accordion container */
.job-accordion {
  max-width: 900px;
  margin: auto;
}

/* Job card */
.job-item {
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 12px 30px rgba(0,0,0,0.08);
  margin-bottom: 20px;
  overflow: hidden;
}

/* Summary (clickable) */
.job-summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 25px 30px;
  cursor: pointer;
}

.job-summary h3 {
  font-size: 20px;
  margin-bottom: 5px;
}

.job-summary p {
  font-size: 14px;
  color: #555;
}

.job-summary span {
  font-size: 13px;
  color: #fc8019;
  font-weight: 600;
}
/* view button  */
.view-btn {
  background: transparent;
  border: none;
  color: #fc8019;
  font-weight: 600;
  font-size: 14px;
  cursor: pointer;
}

.view-btn:hover {
  text-decoration: underline;
}

/* Change text when open */
.job-item.active .view-btn {
  content: "Hide details";
}

/* Details (hidden by default) */
.job-details {
  display: none;
  padding: 0 30px 30px;
  border-top: 1px solid #eee;
}

.job-details h4 {
  margin-top: 20px;
  font-size: 16px;
  color: #333;
}

.job-details ul {
  margin-top: 10px;
  padding-left: 18px;
}

.job-details ul li {
  font-size: 14px;
  margin-bottom: 8px;
  color: #555;
}

/* Apply button */
.apply-btn {
  display: inline-block;
  margin-top: 25px;
  padding: 12px 30px;
  background: #fc8019;
  color: #fff;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
}

.apply-btn:hover {
  background: #e96b10;
}

/* Active state */
.job-item.active .job-details {
  display: block;
}

.job-item.active .arrow {
  transform: rotate(180deg);
}

/* Mobile */
@media (max-width: 768px) {
  .job-summary {
    padding: 20px;
  }

  .job-details {
    padding: 0 20px 25px;
  }
}
