/* ============================================================
   Homepage Redesign — Open Air Hubs
   Matches design mockups: Hero carousel, Feature Icons, How It Works,
   Services, Professionals, Token System, Trust & Safety, Bottom CTA
   ============================================================ */

:root {
  --oah-blue: #3b7dd8;
  --oah-blue-dark: #2d6bc4;
  --oah-blue-banner: #1a6e9b;
  --oah-dark: #1a1a2e;
  --oah-gray: #6b7280;
  --oah-light-bg: #e6e7e8;
  --oah-green: #28a745;
}

/* --- Hero Section --- */
.oah-hero {
  position: relative;
  overflow: hidden;
}
.oah-hero-slide {
  position: relative;
  min-height: 480px;
  overflow: hidden;
  background-color: var(--oah-blue-banner);
}
.oah-hero-slide::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 68%;
  height: 100%;
  background-image: var(--slide-bg);
  background-size: cover;
  background-position: center;
  z-index: 0;
}
.oah-hero-slide::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 45%;
  height: 100%;
  background: var(--oah-blue-banner);
  border-top-right-radius: 30% 50%;
  border-bottom-right-radius: 30% 50%;
  z-index: 0;
}
.oah-hero-slide .row {
  position: relative;
  z-index: 1;
  min-height: 480px;
  align-items: center;
}
.oah-hero-slide .hero-text-panel {
  padding: 84px;
  color: #fff;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.oah-hero-slide .hero-text-panel h1 {
  font-size: 2.8rem;
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 18px;
  color: #fff;
  font-family: Helvetica, Arial, sans-serif;
}
.oah-hero-slide .hero-text-panel p {
  font-size: 1.8rem;
  line-height: 1.5;
  opacity: 0.95;
  margin-bottom: 0;
  color: #fff;
}
.oah-hero-slide .btn-hero-cta {
  background: linear-gradient(to right, #3ea8f3, #0173be);
  border: none;
  color: #fff;
  padding: 12px 28px;
  border-radius: 30px;
  font-weight: 600;
  display: inline-block;
  width: fit-content;
}
.oah-hero-slide .btn-hero-cta:hover {
  background: linear-gradient(to right, #0173be, #3ea8f3);
  color: #fff;
}
.btn-hero-cta {
  background: var(--oah-blue);
  color: #fff;
  padding: 12px 28px;
  border-radius: 30px;
  font-weight: 600;
  font-size: 0.95rem;
  border: 2px solid #fff;
  display: inline-block;
  transition:
    background 0.2s,
    transform 0.15s;
}
.btn-hero-cta:hover {
  background: #fff;
  color: var(--oah-blue);
  text-decoration: none;
  transform: translateY(-1px);
}

/* Carousel arrows */
.oah-hero .carousel-control-prev,
.oah-hero .carousel-control-next {
  width: 44px;
  height: 44px;
  top: 50%;
  transform: translateY(-50%);
  opacity: 1;
  z-index: 5;
}
.oah-hero .carousel-control-prev {
  left: 12px;
}
.oah-hero .carousel-control-next {
  right: 12px;
}
.hero-arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: rgba(255, 255, 255, 0.85);
  border-radius: 50%;
  color: #333;
  font-size: 1rem;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
  transition: background 0.2s;
}
.hero-arrow:hover {
  background: #fff;
}

/* --- Feature Icons --- */
.oah-feature-icons {
  padding: 8px 0;
  background: #fff;
  border-bottom: 1px solid #eee;
}
.feature-icon-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  padding: 16px 8px;
}
.feature-icon-img {
  width: 100px;
  height: 100px;
  object-fit: contain;
}
.feature-icon-circle {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  border: 2.5px solid var(--oah-blue);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  color: var(--oah-blue);
  background: #fff;
  transition:
    background 0.2s,
    color 0.2s;
}
.feature-icon-item:hover .feature-icon-circle {
  background: var(--oah-blue);
  color: #fff;
}
.feature-icon-item span {
  font-size: 1.4rem;
  font-weight: 500;
  color: var(--oah-dark);
  text-align: center;
  line-height: 1.3;
}

/* --- How It Works --- */
.oah-how-it-works {
  background: #fff;
}
.oah-hiw-header {
  background: #444;
  padding: 12px 0;
}
.oah-hiw-header h2 {
  color: #fff;
  font-size: 2.8rem;
  font-weight: 800;
  margin: 0;
  text-align: center;
}
.oah-hiw-steps {
  padding: 26px 0px;
  background: var(--oah-light-bg);
}
.oah-step-card {
  text-align: center;
  padding: 20px 12px;
}
.step-icon-img {
  width: 100px;
  height: 100px;
  object-fit: contain;
  display: block;
  margin-bottom: 14px;
}
.oah-step-card .step-icon {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  color: #666;
  background: #e8e8e8;
  margin-bottom: 14px;
}
.oah-step-card h5 {
  font-weight: 1000;
  color: var(--oah-dark);
  margin-bottom: 4px;
  font-size: 2rem;
}
.oah-step-card h6 {
  font-weight: 800;
  color: var(--oah-dark);
  margin-bottom: 8px;
  font-size: 1.6rem;
}
.oah-step-card p {
  color: var(--oah-gray);
  font-size: 1.2rem;
  margin: 0;
  line-height: 1.4;
}
.oah-hiw-cta-wrapper {
  position: relative;
  z-index: 2;
  text-align: center;
  height: 0;
}
.oah-hiw-cta-wrapper .oah-hiw-btn {
  position: relative;
  top: -24px;
}
.oah-hiw-btn {
  background: linear-gradient(to right, #3ea8f3, #0173be);
  border: none;
  color: #fff;
  padding: 12px 28px;
  border-radius: 30px;
  font-weight: 600;
}
.oah-hiw-btn:hover {
  background: linear-gradient(to right, #0173be, #3ea8f3);
  color: #fff;
}

/* --- Services Section --- */
.oah-services {
  padding-bottom: 0;
  background: #fff;
}
.oah-services-banner {
  position: relative;
  width: 100%;
  height: 452px;
  overflow: visible;
  margin-bottom: 0;
}
.oah-services-banner img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.oah-services .section-title {
  position: absolute;
  top: 20px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--oah-blue);
  margin: 0;
  z-index: 2;
}
.oah-services-cards {
  display: flex;
  width: 100%;
  gap: 8px;
  position: relative;
}
.oah-service-card {
  position: relative;
  flex: 1;
  overflow: hidden;
  height: 894px;
  display: block;
  border-radius: 0;
}
.oah-service-card .service-card-img {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transition: transform 0.3s;
}
.oah-service-card:hover .service-card-img {
  transform: scale(1.05);
}
.oah-service-card .service-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 0.75) 0%,
    rgba(0, 0, 0, 0.3) 40%,
    rgba(0, 0, 0, 0) 60%
  );
}
.oah-service-card .service-card-content {
  position: absolute;
  top: 80px;
  left: 0;
  right: 0;
  padding: 40px 24px;
  color: #fff;
  text-align: center;
}
.oah-service-card .service-card-content h4 {
  font-size: 1.6rem;
  font-weight: 800;
  margin-bottom: 8px;
  color: #fff;
}
.oah-service-card .service-card-content p {
  font-size: 1.2rem;
  margin-bottom: 46px;
  color: #fff;
}
.btn-service {
  background: #fff;
  color: var(--oah-dark);
  padding: 12px 28px;
  border-radius: 30px;
  font-weight: 700;
  font-size: 0.9rem;
  border: none;
  display: inline-block;
  transition: background 0.2s;
}
.btn-service:hover {
  background: var(--oah-blue);
  color: #fff;
  text-decoration: none;
}

/* --- Professionals Section --- */
.oah-professionals {
  padding: 0;
  overflow: hidden;
  position: relative;
  background-color: var(--oah-blue-banner);
}
.oah-professionals::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 68%;
  height: 100%;
  background-image: var(--section-bg);
  background-size: cover;
  background-position: center;
  z-index: 0;
}
.oah-professionals::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 45%;
  height: 100%;
  background: var(--oah-blue-banner);
  border-top-right-radius: 30% 50%;
  border-bottom-right-radius: 30% 50%;
  z-index: 0;
}
.oah-professionals .row {
  position: relative;
  z-index: 1;
  min-height: 420px;
  align-items: center;
}
.oah-professionals .col-md-5:last-child {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px 15px;
}
.oah-professionals .professionals-content-box {
  padding: 84px;
  color: #fff;
  display: flex;
  flex-direction: column;
  justify-content: center;
  z-index: 1;
}
.oah-professionals h3,
.oah-professionals h2 {
  font-size: 2.8rem;
  font-weight: 800;
  margin-bottom: 8px;
  color: #fff;
  font-family: Helvetica, Arial, sans-serif;
}
.oah-professionals p {
  font-size: 1.8rem;
  line-height: 1.4;
  margin-bottom: 0;
  color: #fff;
  opacity: 0.95;
}
.oah-professionals .professionals-img {
  width: 100%;
  max-width: 320px;
}
.oah-professionals .btn-hero-cta {
  background: linear-gradient(to right, #3ea8f3, #0173be);
  border: none;
  color: #fff;
  padding: 12px 28px;
  border-radius: 30px;
  font-weight: 600;
  display: inline-block;
  width: fit-content;
}
.oah-professionals .btn-hero-cta:hover {
  background: linear-gradient(to right, #0173be, #3ea8f3);
  color: #fff;
}
.btn-sm-cta {
  padding: 10px 24px;
  font-size: 0.9rem;
}

/* --- Token System --- */
.oah-token-system {
  min-height: 350px;
  padding: 0;
  background: #fed15c;
  overflow: hidden;
  position: relative;
}
.oah-token-system::after {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 45%;
  height: 100%;
  background: var(--oah-blue-banner);
  border-top-left-radius: 30% 50%;
  border-bottom-left-radius: 30% 50%;
  z-index: 0;
}
.oah-token-system .container {
  position: relative;
  z-index: 1;
}
.oah-token-system .row {
  align-items: stretch;
}
.oah-token-system .img {
  display: flex;
  align-items: center;
  justify-content: center;
  /* padding: 30px 15px; */
}
.oah-token-system .token-img {
  max-height: 300px;
  width: auto;
  object-fit: contain;
}
.oah-token-system .text {
  display: flex;
  align-items: center;
}
.oah-token-system .token-content-box {
  padding: 84px;
  color: #fff;
  display: flex;
  flex-direction: column;
  justify-content: center;
  z-index: 1;
}
.oah-token-system h2 {
  font-size: 2.8rem;
  font-weight: 800;
  margin-bottom: 8px;
  color: #fff;
  font-family: Helvetica, Arial, sans-serif;
}
.oah-token-system p {
  font-size: 1.8rem;
  line-height: 1.4;
  margin-bottom: 0;
  color: #fff;
  opacity: 0.95;
}
.oah-token-system .btn-hero-cta {
  background: linear-gradient(to right, #3ea8f3, #0173be);
  border: none;
  color: #fff;
  padding: 12px 28px;
  border-radius: 30px;
  font-weight: 600;
  display: inline-block;
  width: fit-content;
}
.oah-token-system .btn-hero-cta:hover {
  background: linear-gradient(to right, #0173be, #3ea8f3);
  color: #fff;
}

/* --- Trust & Safety --- */
.oah-trust-safety {
  padding: 70px 0;
  background: var(--oah-light-bg);
}
.oah-trust-safety h2 {
  font-size: 2.5rem;
  font-weight: 700;
  color: #414042;
  margin-bottom: 20px;
  font-family: Helvetica, Arial, sans-serif;
}
.oah-trust-safety p {
  color: #4d4c4f;
  font-size: 1.8rem;
  line-height: 1.4;
  margin-bottom: 14px;
}
.oah-trust-safety .trust-logo {
  /* max-width: 260px; */
  width: 100%;
}

/* --- Bottom CTA --- */
.oah-bottom-cta {
  padding: 50px 0;
  background: linear-gradient(to right, #3ea8f3, #0173be);
  color: #fff;
}
.oah-bottom-cta h2 {
  font-size: 2.2rem;
  font-weight: 800;
  margin-bottom: 20px;
  color: #fff;
}
.btn-bottom-cta {
  background: #fff;
  color: #1a1a2e;
  padding: 12px 32px;
  border-radius: 30px;
  font-weight: 800;
  font-size: 1.2rem;
  border: none;
  display: inline-block;
  transition:
    background 0.2s,
    transform 0.15s;
}
.btn-bottom-cta:hover {
  background: #f0f0f0;
  color: #1a1a2e;
  text-decoration: none;
  transform: translateY(-1px);
}

/* --- Navbar overrides (Sign Up dropdown) --- */
.nav-signup-dropdown {
  position: relative;
}
.nav-signup-dropdown .signup-dropdown-menu {
  position: absolute;
  top: 100%;
  right: 0;
  background: var(--oah-blue);
  border-radius: 8px;
  padding: 8px 0;
  min-width: 160px;
  display: none;
  z-index: 100;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
}
.nav-signup-dropdown:hover .signup-dropdown-menu,
.nav-signup-dropdown.show .signup-dropdown-menu {
  display: block;
}
.signup-dropdown-menu a {
  display: block;
  padding: 8px 18px;
  color: #fff;
  font-size: 0.85rem;
  font-weight: 500;
}
.signup-dropdown-menu a:hover {
  background: rgba(255, 255, 255, 0.15);
  text-decoration: none;
}

/* --- Responsive --- */
@media (max-width: 767.98px) {
  .header-navbar-rht {
    display: none !important;
  }
  .nav-search-item {
    display: none !important;
  }
  .oah-professionals > .row,
  .oah-token-system > .row {
    margin-left: 0;
    margin-right: 0;
  }
  .oah-hero-slide {
    min-height: auto;
    display: flex;
    flex-direction: column;
    overflow: visible;
  }
  .oah-hero-slide::before {
    position: relative;
    width: 100%;
    height: 220px;
    order: 2;
    top: auto;
    right: auto;
    background-size: cover;
    background-position: center;
  }
  .oah-hero-slide::after {
    width: 100%;
    height: 100%;
    border-top-right-radius: 0;
    border-bottom-right-radius: 0;
    position: absolute;
  }
  .oah-hero-slide .row {
    min-height: auto;
    order: 1;
  }
  .oah-hero-slide .hero-text-panel {
    padding: 40px 24px;
  }
  .oah-hero-slide .hero-text-panel h1 {
    font-size: 1.6rem;
  }
  .oah-hero-slide .hero-text-panel p {
    font-size: 1rem;
  }
  .feature-icon-circle {
    width: 56px;
    height: 56px;
    font-size: 1.2rem;
  }
  .feature-icon-item span {
    font-size: 0.75rem;
  }
  .oah-services-banner {
    height: 180px;
  }
  .oah-services-cards {
    gap: 0px;
    flex-direction: column;
  }
  .oah-service-card {
    height: 320px;
    width: 100%;
    flex: none;
  }
  .oah-professionals,
  .oah-trust-safety {
    text-align: center;
  }
  .oah-trust-safety .trust-logo {
    display: none;
  }
  .oah-professionals {
    height: auto;
    display: flex;
    flex-direction: column;
    overflow: visible;
  }
  .oah-professionals::before {
    position: relative;
    width: 100%;
    height: 220px;
    order: 2;
    top: auto;
    right: auto;
    background-size: cover;
    background-position: center;
  }
  .oah-professionals::after {
    width: 100%;
    border-top-right-radius: 0;
    border-bottom-right-radius: 0;
    position: absolute;
    top: 0;
    left: 0;
  }
  .oah-professionals .row {
    min-height: auto;
    order: 1;
    position: relative;
    z-index: 1;
  }
  .oah-professionals .professionals-content-box {
    padding: 30px 24px;
  }
  .oah-professionals h3,
  .oah-professionals h2 {
    font-size: 1.6rem;
  }
  .oah-professionals p {
    font-size: 1rem;
  }
  .oah-professionals img {
    margin-top: 24px;
  }
  .oah-professionals .col-md-5:last-child {
    padding: 0px;
  }
  .oah-token-system {
    min-height: auto;
    text-align: center;
    overflow: visible;
  }
  .oah-token-system::after {
    width: 100%;
    border-top-left-radius: 0;
    border-bottom-left-radius: 0;
    top: 0;
    height: auto;
    bottom: 0;
  }
  .oah-token-system .row {
    min-height: auto;
    flex-direction: column-reverse;
    position: relative;
    z-index: 1;
  }
  .oah-token-system .img {
    background: var(--oah-light-bg);
    padding: 0px;
    flex: 0 0 100%;
    max-width: 100%;
  }
  .oah-token-system .token-img {
    max-height: none !important;
    width: 100%;
  }
  .oah-token-system .token-content-box {
    padding: 30px 24px;
  }
  .oah-token-system h2 {
    font-size: 1.6rem;
  }
  .oah-token-system p {
    font-size: 1rem;
  }
  .oah-token-system .token-img {
    max-height: 200px;
  }
}

@media (min-width: 768px) and (max-width: 1023.98px) {
  .oah-hero-slide {
    min-height: 380px;
  }
  .oah-hero-slide .row {
    min-height: 380px;
  }
  .oah-hero-slide .hero-text-panel {
    padding: 48px;
  }
  .oah-hero-slide .hero-text-panel h1 {
    font-size: 2.2rem;
  }
  .oah-hero-slide .hero-text-panel p {
    font-size: 1.4rem;
  }
  .oah-professionals .professionals-content-box {
    padding: 48px;
  }
  .oah-professionals h3,
  .oah-professionals h2 {
    font-size: 2.2rem;
  }
  .oah-professionals p {
    font-size: 1.4rem;
  }
  .oah-token-system .token-content-box {
    padding: 48px;
  }
  .oah-token-system h2 {
    font-size: 2.2rem;
  }
  .oah-token-system p {
    font-size: 1.4rem;
  }
}

/* --- Nav underline closer to text + gradient --- */
.main-nav > li > a::after {
  bottom: 18px;
  background: linear-gradient(to right, #3ea8f3, #0173be);
}
.main-nav > li.nav-signup-dropdown > a::after {
  display: none;
}
@media (max-width: 991.98px) {
  .main-nav > li > a::after {
    display: none;
  }
}

/* --- Nav signup buttons (kept for backwards compat) --- */
.main-nav > li > a.nav-signup-btn {
  padding: 6px 16px !important;
  border-radius: 20px !important;
  font-weight: 600 !important;
  font-size: 0.8rem !important;
  margin-left: 6px !important;
  border: 1.5px solid transparent !important;
  transition: all 0.2s !important;
  line-height: 1.4 !important;
  display: inline-flex !important;
  align-items: center !important;
  white-space: nowrap !important;
}
.main-nav > li > a.nav-signup-consultant {
  background: var(--oah-blue) !important;
  color: #fff !important;
}
.main-nav > li > a.nav-signup-consultant:hover {
  background: var(--oah-blue-dark) !important;
}
.main-nav > li > a.nav-signup-client {
  background: transparent !important;
  color: var(--oah-blue) !important;
  border-color: var(--oah-blue) !important;
}
.main-nav > li > a.nav-signup-client:hover {
  background: var(--oah-blue) !important;
  color: #fff !important;
}

/* --- Login button override --- */
.header-navbar-rht li > a.header-login {
  background-color: transparent !important;
  border: none !important;
  color: #333 !important;
  border-radius: 0 !important;
  padding: 7px 12px !important;
  font-weight: 600;
  text-transform: none !important;
  transition: color 0.2s;
}
.header-navbar-rht li > a.header-login:hover,
.header-navbar-rht li > a.header-login:focus,
.header-navbar-rht li > a.header-login:active {
  background-color: transparent !important;
  border-color: transparent !important;
  color: var(--oah-blue) !important;
}

/* --- Nav Search --- */
.nav-search-item {
  display: flex;
  align-items: center;
  margin-left: 8px;
}
.nav-search-form {
  display: flex;
  align-items: center;
  border: 2px solid transparent;
  border-radius: 25px;
  overflow: hidden;
  background:
    linear-gradient(#fff, #fff) padding-box,
    linear-gradient(to right, #3ea8f3, #0173be) border-box;
  height: 38px;
}
.nav-search-input {
  border: none;
  outline: none;
  padding: 6px 16px;
  font-size: 0.9rem;
  width: 130px;
  background: transparent;
}
.nav-search-input::placeholder {
  color: #333;
  font-weight: 500;
}
.nav-search-btn {
  border: none;
  background: transparent;
  padding: 6px 14px;
  color: #333;
  cursor: pointer;
  font-size: 1.1rem;
}
.nav-search-btn:hover {
  color: var(--oah-blue);
}
