/* Fonts */
@import url("https://fonts.googleapis.com/css2?family=Kalam:wght@300;400;700&family=Maven+Pro:wght@400..900&family=Playfair+Display:ital,wght@0,400..900;1,400..900&display=swap");

/* For Firefox */
* {
  scrollbar-width: thin;
  scrollbar-color: var(--bs-secondary) var(--bs-light-blue);
}


/* General Styles */
body {
  scroll-behavior: smooth;
  box-sizing: border-box;
  font-family: "Maven Pro";
  color: var(--bs-secondary);
}

/* Scrollbar Styles */
::-webkit-scrollbar {
  width: 0.4rem;
}

::-webkit-scrollbar-track {
  background: var(--bs-light-blue);
}

::-webkit-scrollbar-thumb {
  background: var(--bs-secondary);
}

::-webkit-scrollbar-thumb:hover {
  background: #2d6a92;
}


/* Default Styles for all pages */
.rf-line {
  border-top: 3px solid;
  width: 50px;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: "Playfair Display";
  color: var(--bs-secondary);
}

/* Section Styles */
.rf-main-section {
  background-color: var(--bs-light-blue);
}

section>div {
  max-width: 1120px;
}

/* Shadows */
.rf-shadow-md {
  box-shadow: 0px 12px 24px 0px rgba(0, 0, 0, 0.05);
}

/* Nav Tabs */
.nav-tabs .nav-link {
  color: var(--bs-secondary);
  font-weight: 900;
  border: 0 !important;
  border-radius: 0;
}

.nav-tabs .nav-link.active {
  background-color: var(--bs-secondary);
  color: white;
}

/* Fixed Links */
.rf-fixed-link {
  letter-spacing: 1px;
  background-color: #6799b2;
  border: 1px solid #6799b2;
  color: var(--bs-light-blue);
  transition-duration: 0.3s;
}

.rf-fixed-link:hover {
  transform: scale(1.1);
  color: var(--bs-light-blue);
}

/* Collapse */
.rf-plus,
.rf-minus {
  display: block;
  position: absolute;
  top: 0;
  left: calc(100% + 10px);
  text-align: center;
  box-sizing: border-box;
  transition: 400ms all ease-in-out;
}

/* Initial styles for plus and minus icons */
.rf-plus {
  opacity: 1;
  transform: rotate(0deg);
}

.rf-minus {
  opacity: 0;
  transform: rotate(-90deg);
}

/* Styles for toggling between plus and minus icons when checkbox is checked */
.collapse-toggle:checked+.collapse-btn .rf-plus {
  opacity: 0;
  transform: rotate(90deg);
}

.collapse-toggle:checked+.collapse-btn .rf-minus {
  opacity: 1;
  transform: rotate(0deg);
}

/* Accordian Styles */
.accordion-button::after,
.accordion-button:not(.collapsed)::after {
  transition: none;
  transform: none;
  font-weight: 900;
  position: absolute;
  left: -15px;
  top: 15px;
  font-size: 1.5rem;
  transition: all 0.3s ease-in-out;
}

/* Minus Icon */
.accordion-button:not(.collapsed)::after {
  background-image: none !important;
  content: "\f068" !important;
  font-family: "Font Awesome 5 Free" !important;
}

/* Plus Icon */
.accordion-button::after {
  background-image: none !important;
  content: "\f067" !important;
  font-family: "Font Awesome 5 Free" !important;
  font-weight: 900 !important;
}

/* Rich Text */
.rf-rich-text {
  font-family: "Maven Pro";
  font-size: 18px;
  width: 100%;
  text-align: justify;
  line-height: 1.2;
  overflow-wrap: break-word;
}

/* Headings */
.rf-heading-home {
  width: 100%;
  text-align: center;
  margin-bottom: 2vh;
  background-color: var(--bs-secondary);
  color: white;
  padding: 48px 0;
  font-size: 36px;
  font-weight: 700;
}

.rf-heading-1 {
  margin-bottom: 8px;
  font-weight: 900 !important;
  line-height: 1;
  font-size: 40px;
  letter-spacing: 0.5px;
}

.rf-heading-2 {
  font-size: 33px;
  font-weight: 800 !important;
  color: var(--bs-secondary);
  line-height: 1;
}

.rf-heading-3 {
  font-weight: 800 !important;
  margin-bottom: 4vh;
  text-align: center;
  font-size: 30px;
  letter-spacing: 0.5px;
}

.rf-top-heading {
  margin-bottom: 8px;
  font-weight: 900;
  font-size: 48px;
  color: white;
  letter-spacing: 2px;
}

/* Text */
.rf-top-text {
  font-size: 20px;
  text-align: center;
  color: white;
  font-weight: 600;
}

/* Buttons */
.rf-top-btn {
  margin-top: 4vh;
  border: 0.25em solid white;
  font-size: 20px;
  transition-duration: 0.3s;
  padding: 10px 16px;
}

.rf-top-btn:hover {
  transform: scale(1.05, 1.05);
  background-color: white !important;
  color: var(--bs-secondary) !important;
}

/* Circles */
.rf-sm-circle {
  width: 6vw;
  height: 6vw;
  margin-bottom: 15px;
}

.rf-md-circle {
  border-radius: 500px;
  height: 10vw;
  margin-bottom: 15px;
  background-color: #e28c36;
  width: 10vw;
}

.rf-lg-circle {
  border-radius: 500px;
  height: 14vw;
  margin-bottom: 15px;
  background-color: #0f9d58;
  width: 14vw;
}

/* SummerNote */

.dropdown-fontname,
.dropdown-fontsize,
.dropdown-style,
.dropdown-line-height {
  max-height: 200px;
  width: max-content;
  overflow-y: scroll;
}

.note-btn.dropdown-toggle::after {
  display: none;
}

/* Bootstrap Custom Utilities */
.rf-py-20 {
  padding: 20px 0 !important;
}

.rf-px-20 {
  padding: 0 20px !important;
}

.rf-p-36 {
  padding: 36px !important;
}

.rf-py-40 {
  padding: 40px 0 !important;
}

.rf-pb-40 {
  padding-bottom: 40px !important;
}

.rf-py-48 {
  padding: 48px 0 !important;
}

.rf-pb-48 {
  padding-bottom: 48px !important;
}

.rf-px-48 {
  padding: 0 48px !important;
}

.rf-py-64 {
  padding-top: 64px !important;
  padding-bottom: 64px !important;
}

.rf-pb-64 {
  padding-bottom: 64px !important;
}

.rf-pt-64 {
  padding-top: 64px !important;
}

.rf-py-75 {
  padding: 75px 0 !important;
}

.rf-pt-75 {
  padding-top: 75px !important;
}

.rf-py-150 {
  padding: 150px 0 !important;
}

.rf-py-200 {
  padding: 200px 0 !important;
}

.rf-mb-64 {
  margin-bottom: 64px !important;
}

.rf-bg-cover {
  background-size: cover !important;
}

.rf-bg-no-repeat {
  background-repeat: no-repeat !important;
}

/* Navbar Styles */

.rf-navbar {
  padding: 0 20px;
  max-width: 1120px;
}

.rf-logo {
  opacity: 0.9;
  transition-duration: all 0.2s ease;
  width: 360px;
}

.rf-nav-text {
  color: var(--bs-secondary);
  font-family: "Kalam";
  font-size: 18px;
  letter-spacing: 1px;
}

.rf-nav-item {
  font-family: "Maven Pro";
  text-transform: uppercase;
  font-weight: 600;
  color: var(--bs-secondary);
  letter-spacing: 1px;
  transition-duration: 0.3s;
  list-style: none;
  position: relative;
}

.rf-nav-link {
  padding: 12px;
  font-family: "Maven Pro";
  text-transform: uppercase;
  font-weight: 600;
  color: var(--bs-secondary);
  letter-spacing: 1px;
  transition: 0.3s ease-in-out;
  text-align: left;
  justify-content: flex-start;
  text-decoration: none;
  border: 0 solid transparent;
  width: 100%;
  display: inline-flex;
  align-items: center;
}

.rf-nav-link:hover {
  color: white;
  background-color: var(--bs-secondary);
}

.rf-main-dropdown,
.rf-sub-dropdown {
  position: relative;
}

.rf-main-menu-icon,
.rf-sub-menu-icon {
  margin-left: 4px;
  transition: 200ms ease-in-out;
}

.rf-main-dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  width: max-content;
  padding: 0;
  margin: 0;
  list-style: none;
  display: none;
  background-color: white;
  z-index: 20;
}

.rf-sub-dropdown-menu {
  position: absolute;
  top: 0;
  left: 100%;
  width: max-content;
  border: 0 solid transparent;
  border-radius: 0;
  display: none;
  z-index: 10;
  padding: 0;
  margin: 0;
  background-color: white;
  z-index: 10;
}

.rf-nav-menu-btn {
  color: var(--bs-secondary);
}

.rf-nav-open {
  display: flex !important;
}

/* Home Hero Section */
.rf-hero-section {
  background-size: contain;
  background-image: url(/assets/images/topbg/home-hero.webp);
  height: 40vw;
  background-position: 50% -60px;
}

.rf-text-shadow {
  text-shadow: 0px 0px 8px rgba(255, 255, 255, 0.5);
}

/* Investment Avenues Section */

.rf-ia-card {
  transition: all 0.2s ease;
}

.rf-ia-card:hover {
  box-shadow: 0px 0px 20px rgba(0, 0, 0, 0.2);
}

.rf-ia-card-title {
  font-family: "Maven Pro";
  color: #566d8f;
  letter-spacing: 1px;
  margin-bottom: 36px;
  font-size: 21px;
  font-weight: 600;
}

.rf-ia-rp-label {
  margin-bottom: 4px;
  line-height: 1.6;
  font-size: 16px;
  color: #757575;
}

.rf-ia-rp-value {
  color: #65bec2;
  font-size: 24px;
  font-weight: 900;
  margin-bottom: 24px;
}

.rf-ia-card-button {
  letter-spacing: 1px;
  background-color: #e0e9ef;
  font-size: 18px;
  transition: all 300ms ease-in-out;
  font-weight: 900;
}

.rf-ia-card-button:hover {
  color: white;
  background-color: #65bec2;
}

/* Richfield Blog Section */
.rf-blog-image {
  transition: 0.5s ease-in-out all;
  background-color: grey;
  background-image: repeating-linear-gradient(45deg,
      #eee,
      #eee 10px,
      #ddd 10px,
      #ddd 20px);
}

.rf-blog-image div {
  background-size: cover;
  background-position: center center;
  padding-bottom: 52%;
}

.rf-blog-content {
  background-color: rgba(0, 0, 0, 0.6);
  transition: 0.5s ease-in-out all;
}

.rf-blog:hover .rf-blog-content {
  background-color: rgba(0, 0, 0, 0.3);
}

.rf-blog-visit {
  transition-duration: 0.3s;
}

.rf-blog-visit:hover {
  background-color: var(--bs-secondary);
  color: white !important;
}

/* Taxation Section */
.rf-taxation-top-image {
  background-image: linear-gradient(rgba(87, 88, 83, 0.4),
      rgba(87, 88, 83, 0.4)),
    url(/assets/images/topbg/tax-advisory.jpg);
  background-position: 0 50%;
}

/* About Section */
.rf-about-top-image {
  background-image: url(/assets/images/topbg/richfield-blog-header.png);
  background-position: 50% 50%;
}

/* Contact Us Section */
.rf-submit-btn {
  color: var(--bs-light-blue);
  border: 2px solid var(--bs-light-blue) !important;
  background-color: var(--bs-secondary);
  transition: all 0.3s ease;
}

.rf-submit-btn:hover {
  transform: scale(1.1);
  background-color: white !important;
  color: var(--bs-secondary) !important;
}

/* Learn About Finance Section */
.rf-lf-top-image {
  background-image: -webkit-gradient(linear,
      left top,
      left bottom,
      from(rgba(87, 88, 83, 0.48)),
      to(rgba(87, 88, 83, 0.48))),
    url(/assets/images/topbg/learn.jpg);
  background-position: 50% 0%;
}

/* Contact Us Section */
.rf-cu-section {
  background-image: url(/assets/images/topbg/contact-us.jpg);
  background-position: 50% 0%;
}

.rf-cu-d-heading {
  font-family: "Maven Pro";
  font-size: 20px;
  margin-bottom: 8px;
  font-weight: 600;
  letter-spacing: 2px;
  color: #566d8f;
  line-height: 1.2;
}

.rf-cu-d-text {
  font-family: "Maven Pro";
  line-height: 1.6;
  font-size: 18px;
  font-weight: 400;
}

.rf-cu-d-icon {
  font-size: 40px;
  margin-bottom: 12px;
}

.rf-cu-form {
  width: 120%;
  padding: 0 24px;
  margin-left: -32%;
}

.rf-cu-submit-btn {
  font: 700 20px "Maven Pro";
  padding: 8px 32px;
  color: var(--bs-light-blue);
  border: 2px solid var(--bs-light-blue);
  transition: all 0.4s ease-in-out;
  margin-top: 1vh;
}

.rf-cu-submit-btn:hover {
  transform: scale(1.1, 1.1);
  background-color: var(--bs-light-blue) !important;
  color: var(--bs-secondary);
}

/* Work with US Section */
.rf-wwu-card-image {
  width: 128px;
  height: 128px;
  margin-bottom: 16px;
}

/* Mutual Funds Section */
.rf-mf-top-btn {
  margin-top: 4vh;
  border: 0.25em solid var(--bs-secondary);
  background-color: rgba(0, 0, 0, 0);
  font-size: 20px;
  transition-duration: 0.3s;
  padding: 10px 16px;
}

.rf-mf-top-btn:hover {
  transform: scale(1.05, 1.05);
  background-color: var(--bs-secondary);
  color: white !important;
}

.rf-mf-top-link {
  font-size: 20px;
  margin-top: 8px;
  color: var(--bs-secondary);
  transition-duration: 0.3s;
}

.rf-mf-top-link:hover {
  background-color: var(--bs-secondary);
  color: white;
}

/* Unlisted shares Section */
.rf-us-top-image {
  background-image: linear-gradient(rgba(87, 88, 83, 0.48),
      rgba(87, 88, 83, 0.48)),
    url(/assets/images/topbg/unlisted-shares.jpg);
  background-position: 50% 50%;
}

/* PMS & AIF */

.rf-pa-top-img {
  background-image: linear-gradient(rgba(87, 88, 83, 0.54), rgba(87, 88, 83, 0.54)), url(/assets/images/topbg/pms-aif.jpg);
  background-position: 50% 50%;
}

/* Wall Street Investing Section */

.rf-wsi-top-img {
  background-image: linear-gradient(rgba(87, 88, 83, 0.48), rgba(87, 88, 83, 0.48)), url(/assets/images/topbg/wall-street-investing.jpg);
  background-position: 50% 0;
}

.rf-wsi-card-image {
  max-width: 50%;
}

/* Bonds Page */

.rf-b-top-img {
  background-image: linear-gradient(rgba(87, 88, 83, 0.48), rgba(87, 88, 83, 0.48)), url(/assets/images/topbg/bonds.jpg);
  background-position: 50% 50%;
}

/* Corporate FDs */

.rf-cfds-top-img {
  background-image: linear-gradient(rgba(87, 88, 83, 0.48), rgba(87, 88, 83, 0.48)), url(/assets/images/topbg/corporate-fd.jpg);
  background-position: 0% 50%;
}

/* Sovereign Gold Bonds */
.rf-sgb-top-img {
  background-image: linear-gradient(rgba(87, 88, 83, 0.48), rgba(87, 88, 83, 0.48)), url(/assets/images/topbg/sovereign-gold-bonds.jpg);
  background-position: 50% 50%;
}

/* 54EC Bonds */
.rf-54b-top-img {
  background-image: linear-gradient(rgba(87, 88, 83, 0.4), rgba(87, 88, 83, 0.4)), url(/assets/images/topbg/54ec-bonds.png);
  background-position: 50% 50%;
}


/* Bonds to Buy Section */
.rf-btb-ac-image {
  background-size: contain;
  width: 128px;
  max-height: 64px;
  min-height: 64px;
  background-position: 50% 50%;
}

/* Blog Page */

.rf-blog-top-img {
  background-image: url(/assets/images/topbg/blog.jpeg);
  text-align: center;
  background-position: 50% 50%;
}

.rf-blog-cat {
  transition-duration: 0.3s;
}

.rf-blog-cat:hover {
  background-color: var(--bs-secondary);
  color: white !important;
}

.rf-blog-link {
  color: #1e6ea3;
  transition-duration: 0.2s;
}

.rf-blog-link:hover {
  background-color: var(--bs-secondary) !important;
  color: #ffffff;
}

.rf-blog-top-text {
  font-size: 13px;
}

a.rf-blog-top-text:hover {
  text-decoration: underline !important;
}

.rf-bdc-container {
  margin-top: -150px;
}

.rf-blog-rich-text {
  font-family: "Maven Pro";
  width: 100%;
  text-align: justify;
  line-height: normal;
  overflow-wrap: break-word;
}

.rf-blog-rich-text table tbody td {
  border-width: 1px !important;
}

/* Footer Section */
.rf-footer-partner img {
  max-width: 150px;
}

.rf-footer-link {
  color: white !important;
  font-weight: 600 !important;
  font-size: 13px;
}

.rf-footer-link:hover {
  background-color: white;
  color: var(--bs-secondary) !important;
}

.rf-footer-copyright-links a,
.rf-footer-copyright-links span {
  font-size: 12px;
}

.rf-footer-top-button {
  background-color: rgba(18, 66, 98, 0.48);
  transition: all 0.3s ease-in-out !important;
  font-size: 1.9rem !important;
  width: 40px;
  height: 40px;
  z-index: 10000;
  bottom: 96px;
  right: 32px;
}

.rf-footer-top-button:hover {
  background-color: var(--bs-secondary);
}

.rf-footer-top-button i {
  font-size: 1.5rem;
}

.rf-submit-btn .spinner-border, .rf-cu-submit-btn .spinner-border{
  height: 16px;
  width: 16px;
}

.rf-table-middle td{
  vertical-align: middle;
}

/* Responsive Styles */
@media only screen and (max-width: 992px) {
  .rf-navbar {
    padding: 20px;
  }

  .rf-nav-text {
    display: none !important;
  }

  .rf-logo {
    width: 100% !important;
    align-items: start !important;
  }

  .rf-logo img {
    max-width: 90% !important;
  }

  .rf-nav-menu-btn {
    display: block !important;
  }

  .rf-navlinks-container {
    position: fixed !important;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    width: 100%;
    max-height: 100vh;
    background-color: #1e6ea3;
    transition: 0.3s;
    z-index: 1000;
    justify-content: center;
    align-items: center;
    padding: 0 2rem;
    display: none;
  }

  .rf-navlinks {
    display: flex;
    flex-direction: column !important;
    align-items: center !important;
    padding-top: 25vh;
  }

  .rf-nav-close-btn {
    position: absolute;
    top: 30px;
    left: 30px;
    font-size: 2.7rem;
    z-index: 999;
    color: white;
    cursor: pointer;
  }

  .rf-main-dropdown {
    display: block !important;
  }

  .rf-main-dropdown-menu {
    background-color: rgba(0, 0, 0, 0.2);
  }

  .rf-sub-dropdown-menu {
    background-color: rgba(0, 0, 0, 0.2);
  }

  .rf-nav-item {
    font-size: 24px;
  }

  .rf-nav-link {
    color: white;
    justify-content: center;
    text-align: center;
  }

  .rf-main-dropdown-menu,
  .rf-sub-dropdown-menu {
    position: sticky;
    width: 100%;
    max-width: 300px;
  }
}

/* Extra Small devices (e.g., iPhone SE) */
@media only screen and (min-width: 375px) and (max-width: 768px) {

  /* CSS styles for extra small devices */

  .rf-hero-section {
    height: 80vw;
  }

  .rf-isu-text {
    font-size: 0.8rem !important;
  }

  .nav-tabs .nav-link {
    padding: 10px;
    font-size: 15px;
  }

  .rf-fixed-link {
    font-size: 11px;
  }

  .rf-cu-form {
    width: 100%;
    margin-left: 0;
  }

  .rf-sm-circle {
    width: 20vw;
    height: 20vw;
  }

  .rf-md-circle {
    width: 28vw;
    height: 28vw;
  }

  .rf-lg-circle {
    width: 36vw;
    height: 36vw;
  }

  .rf-cu-section {
    background-image: linear-gradient(rgba(0, 0, 0, 0.25), rgba(0, 0, 0, 0.25)),
      url(/assets/images/topbg/contact-us.jpg);
    background-position: 20% 0%;
  }

  .rf-cu-section:first-child {
    align-items: center !important;
  }

  .rf-wsi-card-image {
    max-width: 100%;
  }

  .rf-top-btn {
    font-size: 15px;
  }

  .rf-top-heading {
    font-size: 32px;
  }

  .rf-top-text {
    font-size: 15px;
  }

  .rf-heading-1 {
    font-size: 32px;
  }

  .rf-heading-2 {
    font-size: 26px;
  }

  .rf-heading-3 {
    font-size: 28px;
  }

  .rf-heading-home {
    font-size: 30px;
    padding: 40px 0;
  }

  .accordion-button::after,
  .accordion-button:not(.collapsed)::after {
    top: 50px;
  }

  .rf-taxation-top-image {
    background-position: 0% 100%;
  }

  .rf-blog-top-title {
    font-size: 30px !important;
  }

  .rf-blog-top-text {
    font-size: 8px;
  }

  .rf-py-sm-100 {
    padding: 100px 0 !important;
  }

  .rf-bdc-container {
    margin-top: -100px;
  }
}

/* Medium devices (e.g., iPad) */
@media only screen and (min-width: 768px) and (min-height: 1024px) {

  /* CSS styles for medium devices */
  .rf-hero-section {
    height: 70vw;
  }

  .rf-ia-col-md-4 {
    flex: 0 0 auto;
    width: 49.333333%;
  }

  .rf-logo img {
    width: 100% !important;
  }

  .rf-nav-menu-btn i {
    font-size: 3rem !important;
  }

  .rf-nav-item {
    font-size: 30px;
  }

  .rf-main-dropdown-menu,
  .rf-sub-dropdown-menu {
    max-width: 450px;
  }
}

/* Large devices (e.g., iPad Pro Portrait) */
@media only screen and (min-width: 1024px) and (max-width: 1366px) and (orientation: portrait) {

  /* CSS styles for large devices */
  .rf-logo img {
    max-width: 90% !important;
  }

  .rf-hero-section {
    height: 60vw;
  }

  .rf-nav-menu-btn i {
    font-size: 5rem !important;
  }

  .rf-nav-item {
    font-size: 40px;
  }

  .rf-nav-link {
    font-size: 16px;
  }

  .rf-main-dropdown-menu,
  .rf-sub-dropdown-menu {
    max-width: 600px;
  }
}

/* Extra Large devices (e.g., iPad Pro Landscape) */
@media only screen and (min-width: 1366px) and (min-height: 1024px) {

  /* CSS styles for extra large devices */
  .rf-nav-item {
    font-size: 20px;
  }

  .rf-logo img {
    width: 90% !important;
  }

  .rf-hero-section {
    height: 60vw;
  }
}

/* XXL devices (e.g., MacBook) */
@media only screen and (min-width: 1440px) and (min-height: 900px) {
  /* CSS styles for XXL devices */
}

/* XXXL devices (e.g., FullHD) */
@media only screen and (min-width: 1920px) and (min-height: 1080px) {

  /* CSS styles for XXXL devices */
  .rf-hero-section {
    height: 45vw;
  }
}