/* This is the custom css for the Betti Website */

/* === Base Navbar Styling === */


.navbar-logo-left-container-2 {
  width: 100%;
  background: #fff; /* or your preferred color */
  padding: 10px 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  /* box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1); */
  position: sticky;
  top: 0;
  z-index: 999;
}

/* Logo */
.navbar-brand-2 img {
  width: 140px; /* Adjust logo size */
  height: auto;
  object-fit: contain;
  display: block;
}

/* Nav Menu */
.nav-menu-wrapper-2 {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 25px;
}

/* Nav Links */
.nav-link-2 {
  font-family: "Arial", sans-serif;
  font-size: 16px;
  color: #333;
  text-decoration: none;
  transition: color 0.3s ease;
}

.nav-link-2:hover {
  color: #233E7D;
}

/* Partner Button */
.button-primary-2 {
  background: #233E7D;
  color: #fff;
  padding: 10px 18px;
  border-radius: 6px;
  text-decoration: none;
  font-weight: 600;
  transition: background 0.3s ease;
}

.button-primary-2:hover {
  background: #233E7D;
}

/* === Fix Page Scroll After Fixed Navbar === */
body, html {
  height: auto !important;
  overflow-y: auto !important; /* Allow vertical scroll */
  overflow-x: hidden !important; /* Prevent horizontal scroll */
  scroll-behavior: smooth !important;
}

/* Add top padding so content isn't hidden behind fixed navbar */
body {
  padding-top: 10px; /* same height as your navbar */
}

/* Remove underline from all links */
a {
  text-decoration: none !important;
}

/* Prevent underline from showing on hover, focus, or active */
a:hover,
a:focus,
a:active {
  text-decoration: none !important;
}

a:hover {
  color: #233E7D;
  opacity: 0.85 !important;
  transition: opacity 0.2s ease-in-out;
}


/* === Mobile Styles === */
@media (max-width: 991px) {
  .navbar-logo-left-container-2 {
    padding: 10px 10px;
    height: 80px;
  }

  .navbar-wrapper-2 {
    flex-direction: row;
    justify-content: space-between;
    width: 100%;
  }

  /* Adjust logo for smaller screens */
  .navbar-brand-2 img {
    width: 70px;
  }

  /* Hide full menu, show menu button */
  .nav-menu-wrapper-2 {
    display: none;
  }

  .menu-button-2 {
    display: block;
    cursor: pointer;
  }

  /* When active, show mobile nav menu */
  .w-nav.open .nav-menu-wrapper-2 {
    display: flex;
    flex-direction: column;
    gap: 15px;
    position: absolute;
    top: 60px;
    right: 0;
    background: #fff;
    width: 100%;
    padding: 20px;
    box-shadow: 0 5px 12px rgba(0, 0, 0, 0.1);
  }

  .nav-link-2,
  .button-primary-2 {
    text-align: center;
  }
}

/* === Small Screens (Phones) === */
@media (max-width: 600px) {
  .navbar-brand-2 img {
    width: 75px;
  }
}

/* Tablet (<= 991px) */
@media (max-width: 991px) {
  .rl_layout28_component {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .rl_layout28_tabs-menu,
  .w-tab-content {
    max-width: 100%;
    flex: 1 1 100%;
  }

  .rl_layout28_image {
    max-width: 90%;
  }
}

/* Mobile (<= 600px) */
@media (max-width: 600px) {
  .rl_section_layout28 {
    padding: 40px 20px;
  }

  .rl_layout28_tabs-menu h1 {
    font-size: 1.8rem;
  }

  .rl_layout28_tabs-menu h3 {
    font-size: 1.2rem;
  }

  .rl_layout28_tabs-menu p {
    font-size: 0.95rem;
    line-height: 1.5;
  }

  .rl_layout28_image {
    max-width: 100%;
    border-radius: 8px;
  }
}

/* === SECTION BASE === */
.rl_section_layout28 {
  width: 100% !important;
  padding: 60px 0 !important;
  background-color: #fff !important;
  box-sizing: border-box !important;
  overflow-x: hidden !important;
}

/* === FLEX LAYOUT === */
.rl_layout28_component {
  display: flex !important;
  justify-content: space-between !important;
  align-items: flex-start !important;
  gap: 40px !important;
  flex-wrap: nowrap !important;
  width: 100% !important;
}

/* === LEFT COLUMN (Text Content) === */
.rl_layout28_tabs-menu {
  flex: 1 1 50% !important;
  max-width: 50% !important;
  padding: 20px !important;
  text-align: left !important;
}

.rl_layout28_tabs-menu h1 {
  font-size: 2rem !important;
  margin-bottom: 10px !important;
  color: #111 !important;
}

.rl_layout28_tabs-menu h3 {
  font-size: 1.3rem !important;
  margin-bottom: 20px !important;
  color: #222 !important;
}

.rl_layout28_tabs-menu p {
  font-size: 1rem !important;
  line-height: 1.6 !important;
  color: #333 !important;
}

/* === RIGHT COLUMN (Image Content) === */
.w-tab-content {
  flex: 1 1 50% !important;
  max-width: 50% !important;
  display: flex !important;
  justify-content: center !important;
  align-items: center !important;
  padding: 20px !important;
}

.rl_layout28_image-wrapper {
  width: 100% !important;
  display: flex !important;
  justify-content: center !important;
}

.rl_layout28_image {
  width: 100% !important;
  max-width: 600px !important;
  height: auto !important;
  border-radius: 12px !important;
  object-fit: cover !important;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1) !important;
}

/* === RESPONSIVE - TABLET === */
@media (max-width: 991px) {
  .rl_layout28_component {
    flex-direction: column !important;
    align-items: center !important;
    text-align: center !important;
  }

  .rl_layout28_tabs-menu,
  .w-tab-content {
    max-width: 100% !important;
    flex: 1 1 100% !important;
  }

  .rl_layout28_image {
    max-width: 90% !important;
  }
}

/* === RESPONSIVE - MOBILE === */
@media (max-width: 600px) {
  .rl_section_layout28 {
    padding: 40px 20px !important;
  }

  .rl_layout28_tabs-menu h1 {
    font-size: 1.6rem !important;
  }

  .rl_layout28_tabs-menu h3 {
    font-size: 1.1rem !important;
  }

  .rl_layout28_tabs-menu p {
    font-size: 0.95rem !important;
  }

  .rl_layout28_image {
    width: 100% !important;
    border-radius: 8px !important;
  }
}
