/* Colors */
:root {
  /*--primary-color: #29a1d8;*/
  /*--bg-color: #eef2ff;*/
  --primary-color: #5aaebe;
  --bg-color: #ddedff75;
  /*--bg-color: linear-gradient(140deg, #a7cdf0, #dbd1f8);*/
  --bg-color-gradient: radial-gradient(1200px 600px at 90% -10%, rgba(34,197,94,0.12), transparent 60%),
    radial-gradient(1200px 600px at -10% 110%, rgba(37,99,235,0.14), transparent 60%),
    #f8fafc;
  --shadow: 0px 0px 10px 0px rgba(0, 0, 0, 0.07);
}

/* Fonts */

@font-face {
  font-family: 'Poppins';
  src: url('/app/assets/pages/homepage/fonts/Poppins-Regular.ttf');
}cate

@font-face {
  font-family: 'PoppinsL';
  src: url('/app/assets/pages/homepage/fonts/Poppins-Light.ttf');
}

/* Reset and Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Poppins', sans-serif;
  line-height: 1.6;
  color: #333;
  background: var(--bg-color-gradient);
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

h2 {
  font-family: ui-sans-serif;
}
/* Header Styles */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 1rem 0;
  background: transparent;
  transition: all 0.3s ease;
}

.header.scrolled {
  background: rgba(255, 255, 255, 0.95);
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
}

.header-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo .logo-img {
  height: 50px;
  object-fit: contain;
  object-position: center;
}

/* Desktop Menu */
.desktop-menu {
  display: flex;
  gap: 2rem;
  align-items: center;
}

.nav-link {
  color: #333;
  text-decoration: none;
  font-weight: 500;
  font-size: 1rem;
  transition: color 0.3s ease;
  padding: 0.5rem 1rem;
  border-radius: 6px;
}

.nav-link:hover {
  color: var(--primary-color);
  background: rgba(41, 161, 216, 0.1);
}

/* Mobile Menu Button */
.menu-btn {
  display: none;
  align-items: center;
  gap: 0.5rem;
  cursor: pointer;
  font-weight: 400;
  color: #333;
}

.hamburger {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.hamburger span {
  width: 20px;
  height: 2px;
  background: #333;
  border-radius: 1px;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  transform-origin: center;
}

.menu-btn.active .hamburger span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.menu-btn.active .hamburger span:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}

.menu-btn.active .hamburger span:nth-child(3) {
  transform: rotate(-45deg) translate(7px, -6px);
}

/* Mobile Menu Overlay */
.mobile-menu-overlay {
  position: fixed;
  top: 80px;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.5);
  z-index: 1000;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.mobile-menu-overlay.active {
  opacity: 1;
  visibility: visible;
}

/* Mobile Dropdown Menu */
.mobile-menu {
  position: fixed;
  top: 80px;
  left: 0;
  right: 0;
  background: white;
  border-top: 1px solid lightgray;
  padding: 1rem;
  z-index: 1001;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-20px);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.mobile-menu.active {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.mobile-nav-link {
  display: block;
  color: #333;
  text-decoration: none;
  font-weight: 500;
  font-size: 1rem;
  padding: 1rem;
  border-radius: 8px;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  opacity: 0;
  transform: translateY(10px);
  animation: slideInUp 0.3s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

.mobile-nav-link:nth-child(1) {
  animation-delay: 0.1s;
}

.mobile-nav-link:nth-child(2) {
  animation-delay: 0.2s;
}

.mobile-nav-link:hover {
  background: rgba(41, 161, 216, 0.1);
  color: var(--primary-color);
  transform: translateY(-2px);
}

@keyframes slideInUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Hero Section */
.hero {
  background:var(--bg-color-gradient);
  color: #333;
  padding: 100px 0 60px;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -75%;
  left: 7%;
  right: 0;
  bottom: 0;
  background: url('/app/assets/pages/homepage/images/arrows1-01.svg');
  background-size: 104%;
  background-repeat: no-repeat;
  pointer-events: none;
}

.hero .container {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 4rem;
  align-items: center;
}

.hero-content {
  text-align: left;
}

.hero-content h2 {
  font-size: 3.5rem;
  font-weight: 500;
  margin-bottom: 1.5rem;
  line-height: 1.1;
  color: #333;
  font-family: 'Poppins';
}

.hero-content h2 .highlight {
  color: var(--primary-color);
}

.hero-subtitle {
  font-size: 1.1rem;
  margin-bottom: 2.5rem;
  line-height: 1.6;
  color: #666;
}

.search-box-large {
  display: flex;
  max-width: 450px;
  background: white;
  border: 1px solid #e2e8f0;
  border-radius: 40px;
  overflow: hidden;
  margin-bottom: 1rem;
  z-index: 1;
  position: relative;
}

.search-box-large input {
  flex: 1;
  border: none;
  padding: 1rem 1.5rem;
  font-size: 1rem;
  outline: none;
  color: #666;
}

.search-box-large input::placeholder {
  color: #9ca3af;
  font-family: 'Poppins';
}

.search-btn-large {
  background: white;
  color: #9ca3af;
  border: none;
  padding: 1rem 1.5rem;
  cursor: pointer;
  font-size: 1rem;
  transition: background-color 0.3s ease;
}

.search-tags {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
  max-width: 450px;
}

.search-tags span {
  color: var(--primary-color);
  font-size: 0.9rem;
  font-weight: 400;
}

.hero-illustration {
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
}

.hero-image {
  max-width: 100%;
  height: auto;
  object-fit: contain;
}

/* Categories Section */

.categories-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  justify-content: space-between;
  max-width: 1200px;
  margin: 3rem auto 0 auto;
}

.categories-grid a {
    text-decoration: none;
    color: initial;
}

.category-card {
  text-align: center;
  cursor: pointer;
}

.category-card:hover .category-img {
  transform: scale(1.1);
}

.category-icon {
  margin-bottom: 1rem;
  display: flex;
  justify-content: center;
  align-items: center;
}

.category-img {
  width: 70px;
  height: 70px;
  object-fit: contain;
  transition: transform 0.5s ease;
}

.category-card h3 {
  font-size: 1.1rem;
  font-weight: 400;
  color: #333;
}

/* Features Section */
.features {
  padding: 80px 0;
  background: white;
}

.features-content h2 {
  text-align: center;
  font-size: 2.5rem;
  font-weight: 600;
  color: #333;
  margin-bottom: 1rem;
}

.features-content h3 {
  font-weight: 500;
  text-align: center;
  margin-bottom: 2rem;
  color: #146c92;
}

.features-grid {
  display: flex;
  justify-content: center;
  align-items: flex-end;
  flex-wrap: wrap;
}

.feature-item {
  text-align: center;
  padding: 2rem;
}

.feature-icon:hover {
  box-shadow: var(--shadow);
}

.feature-icon {
  margin-bottom: 1.5rem;
  display: flex;
  justify-content: center;
  align-items: center;
  background: var(--bg-color);
  border-radius: 30px;
  aspect-ratio: 1 / 1;
}

.feature-img {
  width: 90%;
  object-fit: contain;
  aspect-ratio: 1 / 1;
}

.feature-item h3 {
  font-size: 1.3rem;
  color: #333;
  line-height: 1.4;
  margin-bottom: 0;
}

/* Buyer Guides Section */
.buyer-guides {
  padding: 80px 0;
}

.buyer-guides h2 {
  text-align: center;
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 3rem;
  color: #333;
}

.guides-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
}

.guide-card {
  background: white;
  padding: 2rem;
  border-radius: 30px;
  text-align: start;
  transition: box-shadow 0.5s ease;
}

.guide-card:hover {
  box-shadow: var(--shadow);
}

.guide-card:hover .guide-img {
  transform: scale(1.1);
}

.guide-image {
  margin-bottom: 2rem;
  display: flex;
  justify-content: center;
  align-items: center;
}

.guide-img {
  aspect-ratio: 1 / 1;
  width: 50%;
  object-fit: contain;
  transition: transform 0.5s ease;
}

.guide-card h3 {
  font-size: 1.2rem;
  font-weight: 600;
  margin-bottom: 1rem;
  color: #333;
}

.guide-link {
  color: #2563eb;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s ease;
}

.guide-link:hover {
  color: #1d4ed8;
}

/* How it Works & Our Promise Sections */
.how-it-works {
  position: relative;
}

.how-it-works::before {
  content: '';
  position: absolute;
  top: 10%;
  left: 5%;
  right: 0;
  bottom: 0;
  background: url(/app/assets/pages/homepage/images/arrows-vectors-02.svg);
  background-size: 40%;
  background-repeat: no-repeat;
  pointer-events: none;
  opacity: 0.1;
}

.how-it-works {
  padding: 80px 0;
  background: white;
}

.our-promise {
  padding: 80px 0 120px 0;
  position: relative;
  overflow: hidden;
  min-height: 690px;
}

.our-promise::before {
  content: '';
  position: absolute;
  top: 0;
  left: -20%;
  width: 50%;
  height: 100%;
  transform: scaleX(-1);
  background: url(/app/assets/pages/homepage/images/arrows1-01.svg);
  background-size: contain;
  background-repeat: no-repeat;
  pointer-events: none;
  z-index: 1;
}

.our-promise::after {
  content: '';
  position: absolute;
  top: 40%;
  right: 5%;
  width: 280px;
  height: 150px;
  background: url('/app/assets/pages/homepage/images/back.png');
  background-size: contain;
  background-repeat: no-repeat;
  opacity: 0.1;
  pointer-events: none;
  z-index: 1;
}

.our-promise-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  position: relative;
  z-index: 2;
}

.how-it-works h2,
.our-promise h2 {
  text-align: center;
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 3rem;
  color: #333;
}

.our-promise-text h2 {
  text-align: left;
  margin-bottom: 2rem;
}

.our-promise-text p {
  font-size: 1.1rem;
  line-height: 1.8;
  margin-bottom: 2rem;
  color: #666;
}

.our-promise-images {
  position: relative;
  height: 400px;
}

.image-stack {
  position: relative;
  height: 100%;
}

.promise-img {
  position: absolute;
  border-radius: 40px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
}

.promise-img:hover {
  transform: translateY(-5px);
}

.promise-img-1 {
  top: 0;
  right: 0;
  width: 280px;
  height: 240px;
  object-fit: cover;
  z-index: 2;
}

.promise-img-2 {
  top: 180px;
  right: 140px;
  width: 280px;
  height: 180px;
  object-fit: cover;
  z-index: 3;
}

.promise-img-3 {
  top: 300px;
  right: 0;
  width: 280px;
  height: 240px;
  object-fit: cover;
  z-index: 1;
}

.content-block {
  margin: 0 auto;
  text-align: start;
}

.content-block p {
  font-size: 1.1rem;
  line-height: 1.8;
  margin-bottom: 1.5rem;
  color: #666;
}

.read-more-btn {
  display: inline-block;
  background: var(--primary-color);
  color: white;
  padding: 10px 30px;
  border-radius: 25px;
  text-decoration: none;
  font-weight: 500;
  transition: background-color 0.3s ease;
}

/*  Grow Together block */

.bc-grow-hero {
  --bc-bg: #0f172a;            /* slate-900 */
  --bc-text: #0b1220;          /* deep navy text on light */
  --bc-text-invert: #ffffff;
  --bc-muted: #475569;         /* slate-600 */
  --bc-accent: #2563eb;        /* blue-600 */
  --bc-accent-2: #22c55e;      /* green-500 */
  --bc-surface: #ffffff;

  background:var(--bg-color-gradient);
  color: var(--bc-text);
  padding: clamp(2.5rem, 4vw + 1rem, 5rem) 1rem;
}

.bc-grow-wrap {
  max-width: 1150px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: clamp(1.5rem, 3vw, 3rem);
  align-items: center;
}

.bc-grow-copy h2 {
  font-size: clamp(2rem, 2.5vw + 1rem, 3rem);
  line-height: 1.1;
  margin: 0 0 0.75rem;
  letter-spacing: -0.02em;
}

.bc-grow-lead {
  font-size: clamp(1.1rem, 0.9vw + 1rem, 1.35rem);
  margin: 0 0 0.5rem;
  color: var(--bc-text);
  font-weight: 600;
}

.bc-grow-sub {
  font-size: clamp(1rem, 0.6vw + 0.8rem, 1.125rem);
  color: var(--bc-muted);
  margin: 0 0 1.25rem;
  max-width: 56ch;
}

.bc-grow-btn {
  display: inline-block;
  margin-top: 0.5rem;
  padding: 0.9rem 1.2rem;
  font-weight: 700;
  text-decoration: none;
  color: var(--bc-text-invert);
  background: linear-gradient(90deg, var(--bc-accent), var(--bc-accent-2));
  border-radius: 999px;
  box-shadow: 0 10px 20px rgba(37,99,235,0.25);
  transition: transform .15s ease, box-shadow .2s ease, filter .2s ease;
}
.bc-grow-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 14px 26px rgba(37,99,235,0.28);
  filter: saturate(1.05);
}
.bc-grow-btn:focus-visible {
  outline: 3px solid color-mix(in oklab, var(--bc-accent) 60%, white);
  outline-offset: 3px;
}

.bc-grow-highlights {
  display: flex;
  gap: .75rem 1rem;
  flex-wrap: wrap;
  list-style: none;
  padding: 0;
  margin: 1rem 0 0;
}
.bc-grow-highlights li {
  font-size: 0.95rem;
  background: var(--bc-surface);
  border: 1px solid rgba(15,23,42,.06);
  padding: .5rem .75rem;
  border-radius: 999px;
}

.bc-grow-art {
  position: relative;
  isolation: isolate;
}
.bc-grow-svg {
  width: 100%;
  height: auto;
  display: block;
  filter: drop-shadow(0 20px 30px rgba(2,6,23,0.15));
  border-radius: 1rem;
}

/* Footer */
.footer {
  background: white;
  color: black;
  padding: 60px 0 30px;
}

.footer-top img {
  width: 300px;
  margin-bottom: 2rem;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
  margin-bottom: 3rem;
}

.footer-section h4 {
  font-size: 1.1rem;
  font-weight: 400;
  margin-bottom: 1rem;
  color: var(--primary-color);
}

.footer-section ul {
  list-style: none;
}

.footer-section ul li {
  margin-bottom: 0.5rem;
}

.footer-section ul li a {
  text-decoration: none;
  transition: color 0.3s ease;
  color: black;
}

.footer-section ul li a:hover {
  color: var(--primary-color);
}

.footer-bottom {
  border-top: 1px solid #374151;
  padding-top: 2rem;
  text-align: center;
}

.footer-bottom p {
  font-size: 0.9rem;
  line-height: 1.6;
  margin-bottom: 1rem;
  text-align: start;
}

.copyright {
  font-size: 0.8rem;
  margin-bottom: 1rem;
}


/* Responsive Design */
@media only screen and (max-width: 768px) {
  /* Header Mobile Styles */
  .desktop-menu {
    display: none;
  }

  .menu-btn {
    display: flex;
  }

  .nav {
    position: relative;
  }

  .hero .container {
    grid-template-columns: 1fr;
    gap: 2rem;
    text-align: center;
  }

  .hero-content {
    text-align: center;
  }

  .hero-content h2 {
    font-size: 2.5rem;
  }

  .hero-subtitle {
    font-size: 1rem;
  }

  .search-box-large {
    margin: 0 auto 1rem;
  }

  .search-tags {
    justify-content: center;
  }

  .hero-image {
    max-height: 300px;
  }

  .categories-grid {
    gap: 1rem;
    justify-content: center;
  }

  .category-card {
    flex: 0 0 calc(50% - 0.5rem);
    min-width: 150px;
  }

  .features-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .guides-grid {
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  }

  .our-promise {
    min-height: 1200px;
  }

  .our-promise-content {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .our-promise-text h2 {
    text-align: center;
  }

  .our-promise-images {
    order: 1;
  }

  .promise-img-2 {
    right: 60px;
  }

  .bc-grow-wrap {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .bc-grow-art { 
      order: -1;
      height: auto;
    }
    
  .bc-grow-art img{
      width:100%;
  }

  .footer-content {
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  }
}

@media only screen and (max-width: 480px) {
  .container {
    padding: 0 15px;
  }

  .hero {
    padding: 100px 0 60px;
  }

  .hero-content h2 {
    font-size: 1.8rem;
  }

  .categories-grid {
    gap: 1rem;
    justify-content: center;
  }

  .category-card {
    flex: 0 0 100%;
    min-width: auto;
  }

  .features-grid {
    grid-template-columns: 1fr;
  }

  .guides-grid {
    grid-template-columns: 1fr;
  }
}

/* Animations */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.category-card,
.feature-item,
.guide-card {
  animation: fadeInUp 0.6s ease-out;
}

/* Smooth scrolling */
html {
  scroll-behavior: smooth;
}

/* Focus styles for accessibility */
button:focus,
input:focus,
a:focus {
  outline: 2px solid #2563eb;
  outline-offset: 2px;
}
