
/* Root Variables */
:root {
  --text-dark: #252525;  /*nav-link*/
  --primary-color: #155cfb; /*nav-link active*/
  --font-primary: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --bg-light: rgba(43, 127, 255, 0.05);
}




.badge-pill {
  display: inline-flex;
  align-items: center;
  background-color: rgba(43, 127, 255, 0.1);
  padding: 6px 16px;
  border-radius: 50px;
  font-size: 14px;
  font-weight: 500;
  color: #155cfb;
}

.badge-pill img {
  width: 24px;
  height: 24px;
}

.hero-title {
  font-size: clamp(32px, 5vw, 60px);
  font-weight: 800;
  color: #0f1729;
  letter-spacing: -0.6px;
  line-height: 1.2;
  margin-bottom: 1.5rem;
}

.hero-title .text-primary {
  color: #155cfb !important;
}

.hero-subtitle {
  font-size: clamp(16px, 2vw, 20px);
  color: rgba(0, 0, 0, 0.5);
  margin-bottom: 2rem;
}

/* Search Form */
.search-form {
  width: 100%;
}

.search-input-wrapper {
  position: relative;
  width: 100%;
}

.search-icon {
  position: absolute;
  left: 20px;
  top: 50%;
  transform: translateY(-50%);
  width: 24px;
  height: 24px;
  pointer-events: none;
}

.search-input {
  height: 60px;
  padding-left: 56px;
  padding-right: 20px;
  border: 1.5px solid rgba(172, 70, 255, 0.1);
  border-radius: 10px;
  font-size: 16px;
  font-weight: 500;
  color: #252525;
}

.search-input::placeholder {
  color: #999999;
}

.search-input:focus {
  border-color: #155cfb;
  box-shadow: 0 0 0 0.2rem rgba(21, 93, 252, 0.1);
}

.btn-search {
  height: 60px;
  background-color: rgba(43, 127, 255, 0.1);
  color: #155cfb;
  font-size: 14px;
  font-weight: 600;
  border: none;
  border-radius: 10px;
  transition: all 0.3s ease;
}

.btn-search:hover {
  background-color: rgba(43, 127, 255, 0.2);
  color: #155cfb;
  transform: translateY(-2px);
}

/* ===========================
   Partners Section
   =========================== */
.partners-section {
  background-color: #ffffff;
  padding: 60px 0;
}

/* Category Tabs */
.category-tabs {
  flex-wrap: wrap;
}

.btn-category {
  padding: 16px 24px;
  border-radius: 10px;
  font-size: 16px;
  font-weight: 600;
  color: #252525;
  background-color: transparent;
  border: none;
  transition: all 0.3s ease;
  white-space: nowrap;
}

.btn-category:hover {
  background-color: rgba(21, 93, 252, 0.05);
  color: #155cfb;
}

.btn-category.active {
  background-color: rgba(21, 93, 252, 0.1);
  color: #155cfb;
}

/* Filter Buttons */
.btn-filter {
  display: flex;
  align-items: center;
  padding: 12px 20px;
  background-color: #ffffff;
  border: 1.5px solid #e7e7e7;
  border-radius: 10px;
  font-size: 16px;
  font-weight: 500;
  color: #999999;
  transition: all 0.3s ease;
  white-space: nowrap;
}

.btn-filter:hover {
  border-color: #155cfb;
  color: #155cfb;
}

.btn-filter img {
  width: 24px;
  height: 24px;
}

/* Partner Cards */
.partner-card {
  background-color: #ffffff;
  border: 1.2px solid #e2e8f0;
  border-radius: 19.2px;
  padding: 28px;
  height: 100%;
  display: flex;
  flex-direction: column;
  transition: all 0.3s ease;
  box-shadow: 0px 1.2px 2.4px -1.2px rgba(0, 0, 0, 0.1), 0px 1.2px 3.6px rgba(0, 0, 0, 0.1);
}

.partner-card:hover {
  transform: translateY(-4px);
  box-shadow: 0px 8px 24px rgba(0, 0, 0, 0.12);
  border-color: #155cfb;
}

.card-header-section {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
}

.partner-icon {
  width: 57.6px;
  height: 57.6px;
  border-radius: 14.4px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.partner-icon.bg-blue {
  background-color: rgba(43, 127, 255, 0.1);
}

.partner-icon.bg-purple {
  background-color: rgba(97, 95, 255, 0.1);
}

.partner-icon.bg-green {
  background-color: rgba(0, 188, 125, 0.1);
}

.partner-icon img {
  width: 28.8px;
  height: 28.8px;
}

.rating {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 14px;
  font-weight: 500;
  color: #155cfb;
}

.rating img {
  width: 16px;
  height: 16px;
}

.card-body-section {
  flex: 1;
  margin-bottom: 20px;
}

.partner-name {
  font-size: 24px;
  font-weight: 700;
  color: #0f1729;
  margin-bottom: 12px;
  line-height: 1.4;
}

.partner-description {
  font-size: 16.8px;
  color: rgba(0, 0, 0, 0.5);
  margin-bottom: 20px;
  line-height: 1.5;
}

.badges {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.badge-tag {
  display: inline-block;
  padding: 4px 20px;
  background-color: #f9fafb;
  border-radius: 5px;
  font-size: 14px;
  color: rgba(0, 0, 0, 0.5);
  white-space: nowrap;
}

.card-footer-section {
  padding-top: 20px;
  border-top: 1px solid #e2e8f0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}

.location {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 14px;
  font-weight: 500;
  color: rgba(0, 0, 0, 0.5);
}

.location img {
  width: 20px;
  height: 20px;
}

.view-profile {
  font-size: 14px;
  font-weight: 500;
  color: #155cfb;
  text-decoration: none;
  transition: all 0.3s ease;
}

.view-profile:hover {
  text-decoration: underline;
  color: #0d47c9;
}

/* Load More Button */
.btn-load-more {
  padding: 16px 48px;
  background-color: #f9fafb;
  color: #6d6d6d;
  font-size: 14px;
  font-weight: 500;
  border: none;
  border-radius: 10px;
  transition: all 0.3s ease;
}

.btn-load-more:hover {
  background-color: #e7e7e7;
  transform: translateY(-2px);
}

/* ===========================
   CTA Section
   =========================== */
.cta-section {
  background-color: #3c64dd;
  padding: 80px 0;
}

.cta-title {
  font-size: clamp(32px, 4vw, 48px);
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 1rem;
}

.cta-subtitle {
  font-size: clamp(16px, 2vw, 20px);
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 2rem;
}

.btn-cta-secondary {
  padding: 16px 32px;
  background-color: #f9fafb;
  color: #3c64dd;
  font-size: 18px;
  font-weight: 600;
  border: 1px solid #ffffff;
  border-radius: 10px;
  text-decoration: none;
  transition: all 0.3s ease;
  display: inline-block;
}

.btn-cta-secondary:hover {
  background-color: #ffffff;
  color: #3c64dd;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.btn-cta-primary {
  padding: 16px 32px;
  background-color: #3c64dd;
  color: #f8fafc;
  font-size: 18px;
  font-weight: 600;
  border: 1px solid #ffffff;
  border-radius: 10px;
  text-decoration: none;
  transition: all 0.3s ease;
  display: inline-block;
}

.btn-cta-primary:hover {
  background-color: #2d4fb8;
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

/* ===========================
   Responsive Adjustments
   =========================== */
@media (max-width: 991.98px) {
  .hero-section {
    padding: 60px 0;
  }

  .partners-section {
    padding: 40px 0;
  }

  .cta-section {
    padding: 60px 0;
  }

  .category-tabs {
    overflow-x: auto;
    flex-wrap: nowrap;
    -webkit-overflow-scrolling: touch;
  }

  .btn-category {
    flex-shrink: 0;
  }
}

@media (max-width: 767.98px) {
  .navbar-nav {
    padding-top: 1rem;
  }

  .navbar-nav .nav-link {
    padding: 10px 16px;
  }

  .hero-section {
    padding: 40px 0;
  }

  .search-input,
  .btn-search {
    height: 50px;
  }

  .partner-card {
    padding: 20px;
  }

  .partner-name {
    font-size: 20px;
  }

  .partner-description {
    font-size: 14px;
  }

  .card-footer-section {
    flex-direction: column;
    align-items: flex-start;
  }

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

  .footer-legal {
    flex-direction: column;
    gap: 0.5rem;
  }
}

@media (max-width: 575.98px) {
  .badge-pill {
    font-size: 12px;
    padding: 4px 12px;
  }

  .badge-pill img {
    width: 20px;
    height: 20px;
  }

  .btn-filter {
    font-size: 14px;
    padding: 10px 16px;
  }
}

/* ===========================
   Utility Classes
   =========================== */
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border-width: 0;
}
