/* =============================================================
   BAZAAR – Global Stylesheet
   Single source of truth for all pages
============================================================= */

/* ===== RESET & BASE ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: "Inter Tight", sans-serif;
  color: #1a1a1a;
  background: #F8F7F5;
  line-height: 1.6;
}

h1, h2, h3, h4, h5, h6, p {
  font-family: 'Inter Tight', sans-serif !important;
}

h4 {
  font-size: 18px;
  margin-bottom: 0.5rem;
}

a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; }
ul { list-style: none; padding: 0; margin: 0; }


/* =============================================================
   HEADER
============================================================= */
.header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 30px;
  background: #fff;
  border-radius: 999px;
  z-index: 100;
  overflow: hidden;
  margin: 16px;
}

.header .logo {
  height: 22px;
  object-fit: contain;
  display: block;
}

.header .nav-whatsapp {
  display: flex;
  align-items: center;
  gap: 8px;
  border-radius: 8px;
  padding: 8px 16px;
  cursor: pointer;
  transition: background 0.2s;
}

.header .nav-whatsapp:hover {
  background: #f0faf8;
}

.header .nav-whatsapp img {
  width: 24px;
  height: 24px;
  display: block;
}

.header .nav-whatsapp a {
  font-size: 15px;
  font-weight: 400;
  color: #111;
}


/* =============================================================
   HERO
============================================================= */
.hero {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 2rem;
  background-image: linear-gradient(to top, rgba(0, 0, 0, 0.8), rgba(0, 0, 0, 0)), url('./assets/Hero backround.png') !important;
  background-repeat: no-repeat;
  background-position: center center;
  background-size: cover;
  color: white;
  border-radius: 20px;
  background-color: #fff;
  margin: 16px;
}

.hero-content {
  flex: 1;
  color: #fff;
}

.hero-content .hero-tagline {
  font-size: 20px;
  color: #fff;
  margin-bottom: 18px;
}

.hero-content h1 {
  font-size: 55px;
  font-weight: bold;
  line-height: 1.15;
  color: #ffffff;
  margin-bottom: 20px;
}

.hero-content .hero-desc {
  font-size: 16px;
  width: 550px;
}


/* =============================================================
   SIGNUP FORM CARD
============================================================= */
.signup-card {
  background: #fff;
  padding: 1rem;
  border-radius: 12px;
  width: 420px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  transition: box-shadow 0.2s ease-in-out;
}

.signup-card.highlight {
  box-shadow: 0 0 0 3px #00b89a, 0 10px 48px rgba(0, 184, 154, 0.25);
}

.form-card-header h3 {
  color: #111;
  font-weight: 600;
  font-size: 28px;
  text-align: center;
  margin-bottom: 1rem;
}

#signupForm {
  display: flex;
  flex-direction: column;
  gap: 0;
}

#signupForm label {
  font-size: 13px;
  font-weight: 500;
  color: #2d2d2d;
  margin-bottom: 6px;
  margin-top: 12px;
  display: block;
}

#signupForm label:first-of-type {
  margin-top: 0;
}

#signupForm input {
  width: 100%;
  border: 1px solid #dcdcdc;
  border-radius: 8px;
  padding: 8px 14px;
  font-size: 12px;
  font-family: inherit;
  color: #333;
  background: #F9F9F9;
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
}

#signupForm input::placeholder { color: #b0b0b0; }

#signupForm input:focus {
  border-color: #00b89a;
  box-shadow: 0 0 0 3px rgba(0, 184, 154, 0.12);
}

.form-error {
  color: red;
  font-size: 0.75em;
  display: none;
  margin-top: -8px;
  margin-bottom: 4px;
}

#submitBtn {
  margin-top: 20px;
  width: 100%;
  background: #00b89a;
  color: #fff;
  font-weight: 700;
  font-size: 15px;
  padding: 13px 10px;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  font-family: inherit;
  transition: background 0.2s, opacity 0.2s;
  letter-spacing: 0.2px;
}

#submitBtn:hover:not(:disabled) { background: #009e83; }

#submitBtn:disabled {
  background: #aaa;
  cursor: not-allowed;
  opacity: 0.75;
}


/* =============================================================
   FOR SELLERS & FOR BUYERS
============================================================= */
.for-sellers,
.for-buyers {
  padding: 2rem;
  background-color: #fff;
  display: flex;
  gap: 100px;
  border-radius: 20px;
  justify-content: center;
  align-items: center;
  margin: 16px;
}

.sellers-image img,
.buyers-image img {
  height: 500px;
  object-fit: cover;
  border-radius: 16px;
  display: block;
}

.sellers-content {
  flex: 1;
}

.sellers-content h1,
.buyers-content h1 {
  font-size: clamp(26px, 2.8vw, 36px);
  font-weight: 800;
  color: #111;
  margin-bottom: 8px;
}

.sellers-content > p,
.buyers-content > p {
  font-size: 15px;
  color: #666;
  margin-bottom: 32px;
}

.for-buyers .buyers-content {
  flex: 1;
  max-width: 640px;
}


/* =============================================================
   FEATURE LIST (points inside For Sellers / For Buyers)
============================================================= */
.feature-list {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.feature-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}

.feature-item > img {
  width: 40px;
  height: 40px;
  flex-shrink: 0;
  background: #F8F7F5;
  border-radius: 999px;
  padding: 8px;
  object-fit: contain;
}

.feature-item h4 {
  font-size: 16px;
  color: #111;
  margin-bottom: 4px;
}

.feature-item p {
  font-size: 14px;
  color: #666;
  line-height: 1.6;
}


/* =============================================================
   WHY CHOOSE BAZAAR
============================================================= */
.why-bazaar {
  background: #F8F7F5;
  padding: 80px 60px;
  text-align: center;
}

.why-bazaar h1 {
  font-size: 48px;
  font-weight: 800;
  color: #111;
  margin-bottom: 10px;
}

.why-bazaar > p {
  font-size: 15px;
  color: #666;
  margin-bottom: 48px;
}

.feature-cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  max-width: 1160px;
  margin: 0 auto;
}

.feature-card {
  background: #fff;
  border: 1.5px solid #e4e4e4;
  border-radius: 14px;
  padding: 32px 20px 28px;
  text-align: center;
  transition: box-shadow 0.2s, transform 0.2s;
}

.feature-card:hover {
  box-shadow: 0 8px 28px rgba(0, 184, 154, 0.13);
  transform: translateY(-2px);
}

.feature-card img {
  width: 44px;
  height: 44px;
  margin: 0 auto 16px;
  object-fit: contain;
}

.feature-card h4 {
  font-size: 15px;
  font-weight: 700;
  color: #111;
  margin-bottom: 10px;
}

.feature-card p {
  font-size: 13px;
  color: #666;
  line-height: 1.65;
}


/* =============================================================
   CTA SECTION
============================================================= */
.cta-section {
  background-color: #39BB9D;
  border-radius: 20px;
  background-image: url('./assets/cta bg.png');
  background-repeat: no-repeat;
  background-position: center center;
  background-size: cover;
  margin: 16px;
}

.cta-inner {
  padding: 50px 60px;
  text-align: center;
}

.cta-content h1 {
  font-size: clamp(22px, 3.2vw, 38px);
  font-weight: 800;
  color: #fff;
  margin-bottom: 12px;
}

.cta-content p {
  font-size: 22px;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.88);
}


/* =============================================================
   FOOTER – TOP BAR (white)
============================================================= */
.footer {
  background: #ffffff;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 20px;
  padding: 24px 60px;
}

.footer-logo {
  height: 32px;
  object-fit: contain;
  display: block;
}

.footer-links {
  display: flex;
  align-items: center;
  gap: 32px;
  flex-wrap: wrap;
}

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

.footer-contact-item img {
  width: 24px;
  height: 24px;
  flex-shrink: 0;
}

.footer-contact-item a {
  font-size: 14px;
  font-weight: 500;
  color: #333;
  transition: color 0.2s;
}

.footer-contact-item a:hover { color: #00b89a; }

.btn-cta {
  display: inline-block;
  background: #00b89a;
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  padding: 12px 22px;
  border-radius: 8px;
  white-space: nowrap;
  transition: background 0.2s;
  font-family: inherit;
  cursor: pointer;
  border: none;
}

.btn-cta:hover { background: #009e83; }


/* =============================================================
   FOOTER – DARK BOTTOM
============================================================= */
.footer-dark {
  background: #111111;
  color: #999;
  padding: 0;
}

.footer-dark .container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 60px;
}

.footer__wrap {
  padding: 48px 0 0;
}

.row {
  display: flex;
  flex-wrap: wrap;
  gap: 48px;
}

.gy-5 { row-gap: 32px; }

.col-6 { flex: 1; min-width: 200px; }

.footer__menu h6,
.footer__address-box h6 {
  font-size: 15px;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 18px;
}

.footer__menu ul {
  list-style: none;
  padding: 0;
}

.footer__menu ul li {
  margin-bottom: 12px;
}

.footer__menu ul li a {
  font-size: 14px;
  color: #888;
  transition: color 0.2s;
}

.footer__menu ul li a:hover { color: #00b89a; }

.footer__address-box p {
  font-size: 13px;
  color: #888;
  line-height: 1.7;
  margin-bottom: 10px;
}

.footer__address-box p strong { color: #bbb; }

.footer__bottom {
  padding: 20px 0 24px;
  border-top: 1px solid #2a2a2a;
  margin-top: 8px;
}

.footer__bottom p {
  font-size: 13px;
  color: #555;
  text-align: center;
}


/* =============================================================
   INNER PAGES – Shared layout (Contact, Policy, Terms, Refund)
============================================================= */
.page-content {
  max-width: 860px;
  margin: 40px auto;
  padding: 0 24px 60px;
}

.page-title {
  font-size: 38px;
  font-weight: 800;
  color: #111;
  margin-bottom: 40px;
}

.page-intro {
  font-size: 15px;
  color: #555;
  line-height: 1.8;
  margin-bottom: 40px;
  border-left: 3px solid #00b89a;
  padding-left: 16px;
}

.policy-section {
  margin-bottom: 36px;
}

.policy-section h2 {
  font-size: 20px;
  font-weight: 700;
  color: #111;
  margin-bottom: 14px;
  padding-bottom: 8px;
  border-bottom: 1px solid #eee;
}

.policy-section p {
  font-size: 14px;
  color: #444;
  line-height: 1.85;
  margin-bottom: 10px;
}

.policy-section ul {
  list-style: disc;
  padding-left: 20px;
  margin-bottom: 10px;
}

.policy-section ul li {
  font-size: 14px;
  color: #444;
  line-height: 1.85;
  margin-bottom: 6px;
}

.policy-section ul li strong { color: #111; }


/* =============================================================
   CONTACT PAGE
============================================================= */
.contact-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.contact-card {
  background: #fff;
  border: 1.5px solid #e4e4e4;
  border-radius: 16px;
  padding: 28px 24px;
  transition: box-shadow 0.2s;
}

.contact-card:hover {
  box-shadow: 0 6px 24px rgba(0, 184, 154, 0.12);
}

.contact-label {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: #00b89a;
  margin-bottom: 12px;
}

.contact-card p {
  font-size: 14px;
  color: #555;
  line-height: 1.7;
}

.contact-card a {
  font-size: 15px;
  font-weight: 600;
  color: #00b89a;
}

.contact-card a:hover { text-decoration: underline; }


/* =============================================================
   THANK YOU PAGE
============================================================= */
.thankyou-hero {
  min-height: 560px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 20px;
  margin: 16px;
  overflow: hidden;
  background-image: url('./assets/thankyou-background.jpg');
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  background-color: #2b1a0e;
}

.thankyou-body {
  text-align: center;
  padding: 40px 24px;
  max-width: 640px;
}

.thankyou-label {
  font-size: 28px;
  font-weight: 700;
  color: #00b89a;
  margin-bottom: 20px;
  display: block;
}

.thankyou-heading {
  font-size: clamp(30px, 4.5vw, 52px);
  font-weight: 800;
  color: #ffffff;
  line-height: 1.2;
  margin-bottom: 28px;
}

.thankyou-emoji {
  font-size: 52px;
  display: block;
  margin-bottom: 24px;
  line-height: 1;
}

.thankyou-redirect {
  font-size: 17px;
  color: rgba(255, 255, 255, 0.85);
  font-weight: 400;
}

.thankyou-redirect span {
  font-weight: 700;
  color: #fff;
}


/* =============================================================
   RESPONSIVE
============================================================= */
@media (max-width: 1024px) {
  .header       { padding: 14px 32px; }
  .hero         { padding: 48px 32px; gap: 32px; }
  .for-sellers,
  .for-buyers   { padding: 56px 32px; gap: 40px; }
  .why-bazaar   { padding: 64px 32px; }
  .cta-inner    { padding: 56px 32px; }
  .footer       { padding: 20px 32px; }
  .footer-dark .container { padding: 0 32px; }
  .feature-cards { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .header { padding: 4px 20px; }

  .hero {
    flex-direction: column;
    padding: 20px;
    text-align: left;
    background-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0)), url('./assets/Hero backround.png') !important;
  }

  .hero-content { max-width: 100%; }

  .hero-content .hero-tagline { font-size: 17px; }

  .hero-content .hero-desc { display: none; }

  .signup-card { width: 100%; max-width: 480px; text-align: left; }

  .for-sellers,
  .for-buyers {
    flex-direction: column;
    padding: 20px;
    gap: 32px;
  }

  .for-buyers { flex-direction: column-reverse; }

  .sellers-image img,
  .buyers-image img { height: auto; }

  .why-bazaar  { padding: 20px; }
  .why-bazaar h1 { font-size: 32px; }
  .feature-cards { grid-template-columns: repeat(2, 1fr); }

  .cta-inner { padding: 20px; }

  .footer {
    flex-direction: column;
    align-items: center;
    padding: 20px;
    gap: 24px;
  }

  .btn-cta { width: 100%; text-align: center; }

  .footer-dark .container { padding: 0 20px; }
  .row { flex-direction: column; gap: 32px; }

  .contact-grid { grid-template-columns: 1fr; }
  .thankyou-hero { min-height: 420px; margin: 12px; }
}

@media (max-width: 480px) {
  .feature-cards { grid-template-columns: 1fr; }
  .hero-content h1 { font-size: 32px; }
  .cta-content h1 { font-size: 24px; font-weight: 600; }
  .footer-links { flex-direction: row; align-items: center; }
  .page-title { font-size: 28px; }
  .thankyou-heading { font-size: 28px; }
}
