/*
Theme Name: Dan Jones
Theme URI: #
Author: Mohammad Taghipoor
Author URI: https://linkedin.com/in/mohammad-taghipoor
Description: BS5 Theme for journey mentor 
Version: 2.1
License: GNU General Pubalic License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: journey mentor
Tags: bootstrap, responsive, journey mentor
*/
p,
a,
span,
h1,
h2,
h3,
h4,
h5,
h6,
ol,
li,
ul,
table,
th,
thead,
tbody,
td,
blockquote,
.post-date,
button,
.btn,
input,
.accordion,
article,
main {
  font-family: Afacad, sans-serif;
}

h1 {
  font-weight: 900;
  font-size: 1.8rem;
  margin-bottom: 1.25rem;
  margin-top: 1rem;
}
h2 {
  font-weight: 800;
  font-size: 1.6rem;
  line-height: 2.2rem;
}
h3 {
  font-weight: 700;
  font-size: 1.4rem;
  line-height: 2rem;
}
h4 {
  font-weight: 600;
  font-size: 1.25rem;
}
h5 {
  font-weight: 500;
  font-size: 1.1rem;
}
h6 {
  font-weight: 400;
  font-size: 1rem;
}

h2,
h3 {
  margin-top: 3rem;
  margin-bottom: 1.5rem;
  font-weight: bold;
}

#hero {
  background-color: #0e131f;
  background-image: url(https://danjones.journeymentor.net/wp-content/uploads/2025/07/steptodown.com124925.jpg);
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}

.bg-main {
  background-color: #f9f9f9;
}

.text-wh {
  color: #fff;
}

a {
  font-weight: bold;
  text-decoration: none;
  font-size: 1.4rem;
}

.hero {
  height: 700px;
}
.background-overlay {
  background-image: linear-gradient(
    to bottom,
    transparent 20%,
    #000000b2 70%,
    #000000 100%
  );
}

.home-intro:hover {
  text-decoration: none !important;
}

.home-intro p {
  line-height: 2rem;
  font-size: 1.2rem;
}

.course-card {
  display: flex;
  flex-direction: column;
  background: #fff;
  border-radius: 12px;
  border: 1px solid #384152;
  border-radius: 12px;
  overflow: hidden;
  height: 100%;
}

.course-card picture img {
  width: 100%;
  height: 360px;
  object-fit: cover;
}

.course-card iframe {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

@media (min-width: 1024px) {
  .course-card iframe {
    height: 550px;
  }
  .course-card picture img {
    height: 400px;
  }
}

.event-card {
  display: flex;
  flex-direction: column;
  background: #fff;
  border-radius: 12px;
  border: 1px solid #384152;
  border-radius: 12px;
  overflow: hidden;
  height: 100%;
}

.event-card picture img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.event-card iframe {
  width: 100%;
  height: 100px;
  object-fit: cover;
}

@media (min-width: 1024px) {
  .event-card iframe {
    height: 350px;
  }
  .event-card picture img {
    height: 200px;
  }
}

.card-content {
  flex: 1;
  padding: 15px;
  display: flex;
  flex-direction: column;
}

.card-content p {
  flex-grow: 1;
}

a:hover {
  text-decoration: none;
}

.silver-text {
  color: #f5f5f5;
  font-weight: 900;
  font-size: 56px;
  line-height: 86%;
  margin-bottom: -77px;
  margin-top: 25px;
}

.white-text {
  color: #fff;
  font-weight: 900;
  font-size: 56px;
  line-height: 86%;
  margin-bottom: -77px;
  margin-top: 25px;
}

@media (min-width: 1024px) {
  .silver-text {
    font-size: 80px;
    margin-bottom: -83px;
    margin-top: 55px;
  }

  .white-text {
    font-size: 80px;
    margin-bottom: -83px;
    margin-top: 55px;
  }

  .header {
    font-size: 32px;
  }
}

img {
  margin: 0 !important;
}

h1 {
  font-size: 24px;
}

p {
  font-size: 12px;
}

@media (min-width: 1024px) {
  h1 {
    font-size: 40px;
  }

  p {
    font-size: 24px;
  }
}

.bg-yellow {
  background: #d3af37;
  width: 100%;
  height: 102px;
  position: absolute;
  margin-top: 85px;
}

.bg-yellow-travel {
  background: #d3af37;
  width: 100%;
  height: 102px;
  position: absolute;
  margin-top: 345px;
}

@media (min-width: 1024px) {
  .bg-yellow,
  .bg-yellow-travel {
    height: 148px;
  }
}

.featured,
.travel {
  margin-top: 0;
  position: relative;
}

.card-cta {
  display: flex;
  flex-direction: column;
  background: #d3af37 !important;
  border-radius: 6px;
  border: 1px solid #e5e5e5;
  overflow: hidden;
  margin: 12px;
  padding: 7px 0;
  font-size: 16px;
}

.card-btn {
  display: flex;
  flex-direction: column;
  background: #fff !important;
  border-radius: 6px;
  border: 1px solid #e5e5e5;
  overflow: hidden;
  margin: 12px;
  padding: 7px 0;
  font-size: 16px;
}

.travel-card {
  --tw-shadow: 0px 0px 8px rgba(0, 0, 0, 0.08);
  --tw-shadow-colored: 0px 0px 8px var(--tw-shadow-color);
  box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000),
    var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);
}

.card-content p {
  font-size: 16px;
  font-weight: 500;
  color: #525252;
}

body,
footer {
  background-color: #202a36 !important;
}

.nav-link,
h3 {
  color: #f2f3f5;
}

.golden-text,
.silver-text {
  color: #384152;
}

.img-dan {
  width: 300px;
  height: 300px;
  object-fit: cover;
  border-radius: 50%;
  margin-top: -70px;
}

@media (min-width: 1024px) {
  .img-dan {
    width: 400px;
    height: 400px;
  }
}

.nav-link:focus,
.nav-link:hover {
  color: #d3af37;
}

.navbar-toggler-icon {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='%23ffffff' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

.navbar-toggler:focus {
  box-shadow: 0 0 0 var(--bs-navbar-toggler-focus-width) #d3af37;
}

header {
  border-bottom: 1px solid #384152;
}

.book-img img {
  display: flex;
  flex-direction: column;
  background: #fff;
  border-radius: 12px;
  border: 1px solid #384152;
  border-radius: 12px;
  overflow: hidden;
  height: 100%;
  object-fit: contain;
  width: 90%;
  margin: 0 auto;
}

ul.li-nav {
  list-style: none;
  margin-left: -1.5rem;
}
.offcanvas {
  background-color: #202a36 !important;
}
/* Main nav links */
.navbar-nav > li > a {
  padding: 0.75rem 1.2rem;
  font-weight: 500;
}

/* Dropdown menu styling (desktop) */
.navbar-nav .dropdown-menu {
  background-color: #202a36 !important;
  border: none;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.15);
  border-radius: 0.5rem;
  padding: 0.5rem;
}

/* Each sub-menu item looks like a card */
.navbar-nav .dropdown-menu .menu-item {
  background-color: #f8f9fa;
  border-radius: 0.5rem;
  padding: 0.25rem 0.25rem;
  margin-bottom: 0.5rem;
  transition: all 0.3s ease;
  border: 1px solid #dee2e6;
}

.navbar-nav .dropdown-menu .menu-item a {
  color: #333;
  display: block;
  font-weight: 500;
}

.navbar-nav .dropdown-menu .menu-item:hover {
  background-color: #dee2e6 !important;
}

/* Mobile (offcanvas) submenu */
.offcanvas-body .sub-menu {
  margin-top: 1rem;
  padding-left: 0;
}

.offcanvas-body .sub-menu .menu-item {
  border: 1px solid #dee2e6;
  padding: 0.75rem 1rem;
  margin-bottom: 0.5rem;
  border-radius: 0.5rem;
  background-color: #202a36 !important;
  transition: all 0.3s ease;
}

.offcanvas-body .sub-menu .menu-item:hover {
  background-color: #202a36 !important;
}

.offcanvas-body .sub-menu .menu-item a {
  color: #212529;
  text-decoration: none;
  font-weight: 500;
}
