h1,
h2,
h3,
h4,
h5 {
  color: #6d6e71;
  margin: 6px 0px;
  padding: 8px 0px;
}

.bg-grey {
  background-color: #6d6e71;
}
.bg-gold {
  background-color: #c4bfad8a;
}
.bg-primary-home {
  background-size: cover !important;
  background-image: url('../img/jti-hero.webp') !important;
  background-position: right center !important;
  background-color: #6d6e71 !important;
}
.bg-primary-insurance {
  background-size: cover !important;
  background-position: center !important;
  background-color: #6d6e71 !important;
}
.bg-primary-lifeinsurance {
  background-size: cover !important;
  background-image: url('../img/jti-ins-hero.webp') !important;
  background-position: right center !important;
  background-color: #6d6e71 !important;
}
.bg-primary-contact {
  background-size: cover !important;
  background-image: url('../img/contact-hero.webp') !important;
  background-position: right center !important;
  background-color: #6d6e71 !important;
}
h1 {
  font-family: 'Libre Baskerville', serif;
  font-size: clamp(1.9rem, 4vw, 2.85rem);
  font-weight: 600;
}
h2 {
  font-family: 'Libre Baskerville', serif;
  font-size: clamp(1.6rem, 3.5vw, 2.25rem);
  font-weight: 400;
  font-style: normal;
}
h3 {
  font-family: 'Libre Baskerville', serif;
  font-size: clamp(1.4rem, 3vw, 2rem);
  font-weight: 300;
}
h4 {
  font-family: 'Libre Baskerville', serif !important;
  font-size: clamp(1.1rem, 2.5vw, 1.25rem);
  font-style: italic;
  font-weight: 400;
}
h5 {
  font-family: 'Open Sans', sans-serif;
  font-size: clamp(1.1rem, 2.5vw, 1.5rem);
  font-weight: 500;
  font-style: normal;
}
/*** Spinner Start ***/
#spinner {
  opacity: 0;
  visibility: hidden;
  transition:
    opacity 0.5s ease-out,
    visibility 0s linear 0.5s;
  z-index: 99999;
}

#spinner.show {
  transition:
    opacity 0.5s ease-out,
    visibility 0s linear 0s;
  visibility: visible;
  opacity: 1;
}
/*** Spinner End ***/

.back-to-top {
  position: fixed;
  right: 30px;
  bottom: 50px;
  transition: 0.5s;
  z-index: 99;
  background-color: #c4bfad !important;
}
.btn.btn-primary .back-to-top:hover {
  background-color: #3f3f3f !important;
}
/*** Button Start ***/
.btn {
  font-weight: 600;
  transition: 0.5s;
}

.btn-square {
  width: 32px;
  height: 32px;
}

.btn-sm-square {
  width: 34px;
  height: 34px;
}

.btn-md-square {
  width: 44px;
  height: 44px;
}

.btn-lg-square {
  width: 56px;
  height: 56px;
}

.btn-xl-square {
  width: 66px;
  height: 66px;
}

.btn-square,
.btn-sm-square,
.btn-md-square,
.btn-lg-square,
.btn-xl-square {
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: normal;
}
.btn-primary {
  background-color: #00b7b5;
}
.btn.btn-primary {
  color: var(--bs-white);
  border: none;
}

.btn.btn-primary:hover {
  background: #0c9692;
  color: #fff;
}

.btn.btn-light {
  color: var(--bs-primary);
  border: none;
}

.btn.btn-light:hover {
  color: #fff;
  background: #0c9692;
}
.btn-dark {
  background-color: #f7931e !important;
}
.btn.btn-dark {
  color: #fff;
  border: none;
}

.btn.btn-dark:hover {
  color: #fff;
  background-color: #c77212 !important;
}

/*** Topbar Start ***/
.topbar .dropdown-toggle::after {
  border: none;
  content: '\f107';
  font-family: 'Font Awesome 5 Free';
  font-weight: 600;
  vertical-align: middle;
  margin-left: 8px;
  color: var(--bs-primary);
}

.topbar .dropdown .dropdown-menu a:hover {
  background: var(--bs-primary);
  color: var(--bs-white);
}

.topbar .dropdown .dropdown-menu {
  transform: rotateX(0deg);
  visibility: visible;
  background: var(--bs-light);
  padding-top: 10px;
  border: 0;
  transition: 0.5s;
  opacity: 1;
}
/*** Topbar End ***/

/* Logo Header Styling */
.logo-container {
  position: relative;
  text-align: center;
  margin-bottom: -100px;
  margin-top: -80px;
}
@keyframes smooth-wiggle {
  0% {
    transform: rotate(0deg);
  }
  25% {
    transform: rotate(3deg);
  }
  50% {
    transform: rotate(-3deg);
  }
  75% {
    transform: rotate(5deg);
  }
  100% {
    transform: rotate(0deg);
  } /* Ends back at center */
}
.logo-container img {
  position: relative;
  z-index: 1000 !important;
  max-width: 250px; /* Adjust based on your logo size */
  animation: smooth-wiggle 3s ease-in-out; /* Wiggles once and stops */
  transform-origin: top center; /* Makes it swing from the top */
  animation-iteration-count: 1;
}

/*** Navbar Start ***/
.navbar-collapse {
  flex: 0 1 auto !important; /* Don't grow, can shrink, auto width */
  width: 500px;
}
.nav-bar {
  transition: 0.5s;
  background-color: #eaeaea;
  border-top: 30px solid #6d6e71;
}

.navbar-light .navbar-brand img {
  max-height: 60px;
  transition: 0.5s;
}

.nav-bar .navbar-light .navbar-brand img {
  max-height: 50px;
}

.navbar .navbar-nav .nav-item .nav-link {
  padding: 0;
  border: none;
}

.navbar .navbar-nav .nav-item {
  display: flex;
  align-items: center;
  padding: 10px 15px;
  border: none;
}

.navbar-nav .nav-item:not(:last-child) {
  height: 8px; /* Adjust height of divider */
  border-right: 1px solid #6c757d; /* Darker gray */
}

.navbar-light .navbar-nav .nav-item:hover,
.navbar-light .navbar-nav .nav-item.active,
.navbar-light .navbar-nav .nav-item:hover .nav-link,
.navbar-light .navbar-nav .nav-item.active .nav-link {
  color: #0c9692;
}

@media (max-width: 991px) {
  .back-to-top {
    bottom: 100px;
  }
  .logo-container img {
    position: fixed;
    z-index: 1000;
    max-width: 200px; /* Adjust based on your logo size */
    margin-top: -22px;
    top: 0;
    right: 0;
  }
  .navbar {
    padding: 20px 0;
  }

  .navbar .navbar-nav .nav-link {
    padding: 0;
  }

  .navbar .navbar-nav .nav-item {
    display: flex;
    padding: 20px;
    flex-direction: column;
    justify-content: start;
    align-items: start;
    border: none;
  }

  .navbar .navbar-nav .nav-btn {
    display: flex;
    justify-content: start;
  }

  .navbar .navbar-nav {
    width: 100%;
    display: flex;
    margin-top: 20px;
    padding-bottom: 20px;
  }

  .navbar.navbar-expand-lg .navbar-toggler {
    padding: 8px 15px;
  }
}

.navbar .dropdown-toggle::after {
  border: none;
  content: '\f107';
  font-family: 'Font Awesome 5 Free';
  font-weight: 600;
  vertical-align: middle;
  margin-left: 8px;
}

.dropdown .dropdown-menu .dropdown-item:hover {
  background: #f7931e;
  color: var(--bs-white);
}
@media (max-width: 991px) {
  .navbar .nav-item.dropdown .dropdown-menu {
    display: none;
    position: static;
    border: none;
    background-color: #f8f9fa;
    padding: 10px;
    margin: 10px 0;
    box-shadow: none;
  }

  .navbar .nav-item.dropdown.show .dropdown-menu {
    display: block !important;
  }

  .navbar .dropdown-item {
    padding: 6px 0;
    color: #6d6e71;
    font-size: 14px;
  }

  .navbar .dropdown-item:hover {
    background-color: transparent;
    color: #0c9692;
    padding-left: 5px;
    transition: 0.3s;
  }
}
@media (min-width: 992px) {
  .navbar {
    padding: 20px 0;
  }

  .navbar .nav-btn {
    display: flex;
    align-items: center;
    justify-content: end;
  }

  .navbar .navbar-nav {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
  }

  .navbar .navbar-nav .nav-btn {
    width: 100%;
    display: flex;
    margin-left: auto;
  }
  .navbar .nav-item {
    border: none;
  }
  .navbar .nav-item .dropdown-menu {
    display: block;
    visibility: hidden;
    top: 100%;
    transform: rotateX(-75deg);
    transform-origin: 0% 0%;
    border: 0;
    border-radius: 5px;
    transition: 0.5s;
    opacity: 0;
  }

  .navbar .nav-item:hover .dropdown-menu {
    transform: rotateX(0deg);
    visibility: visible;
    margin-top: 20px;
    transition: 0.5s;
    opacity: 1;
  }
}
/*** Navbar End ***/

/*** Insurance Hero Header Start ***/
.header-ins .header-ins-item {
  height: 300px;
}

/*** Carousel Hero Header Start ***/
.header-carousel .header-carousel-item {
  height: 600px;
}

.header-carousel .header-carousel-item .carousel-caption {
  position: absolute;
  width: 100%;
  height: 100%;
  left: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.2);
  display: flex;
  align-items: center;
}

@media (max-width: 991px) {
  .header-carousel .header-carousel-item .carousel-caption {
    padding-top: 45px;
  }

  .header-carousel .header-carousel-item {
    height: 700px;
  }
  .header-ins .header-ins-item {
    height: 400px;
  }
}

@media (max-width: 767px) {
  .header-carousel .header-carousel-item {
    height: 450px;
  }
  .header-ins .header-ins-item {
    height: 300px;
  }
}
/*** Carousel Hero Header End ***/

/* Numbered Steps Section */
.steps-container {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 2rem;
  padding: 2rem 0;
}

.step-item {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.step-number {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  font-family: 'Libre Baskerville', serif !important;
  background-color: #6c757d; /* Gray color from your design */
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.25rem;
  font-weight: 300;
  font-style: italic;
  flex-shrink: 0;
}

.step-content h4 {
  margin: 0 0 0.25rem 0;
  font-size: 1.25rem;
  font-weight: 600;
}

.step-content p {
  margin: 0;
  font-size: 0.9rem;
  color: #666;
}

.step-arrow {
  width: 70px;
  height: 70px;
  margin: 0 1rem;
  flex-shrink: 0;
}

.step-arrow img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .steps-container {
    flex-direction: column;
    gap: 2rem;
  }

  .step-arrow {
    transform: rotate(90deg);
    margin: 1rem 0;
  }
}

/*** Single Page Hero Header Start ***/
.bg-breadcrumb {
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(rgba(1, 95, 201, 0.9), rgba(0, 0, 0, 0.2)),
    url(../img/bg-breadcrumb.jpg);
  background-position: center center;
  background-repeat: no-repeat;
  background-size: cover;
  padding: 60px 0 60px 0;
  transition: 0.5s;
}

.bg-breadcrumb .breadcrumb {
  position: relative;
}

.bg-breadcrumb .breadcrumb .breadcrumb-item a {
  color: var(--bs-white);
}
/*** Single Page Hero Header End ***/
.service {
  background-color: #eaeaea;
}
/*** Service Start ***/
.service .service-item {
  border-radius: 10px;
}
.service .service-item .service-img {
  position: relative;
  overflow: hidden;
  border-top-left-radius: 10px;
  border-top-right-radius: 10px;
}

.service .service-item .service-img img {
  transition: 0.5s;
}

.service .service-item:hover .service-img img {
  transform: scale(1.1);
}

.service .service-item .service-img::after {
  content: '';
  position: absolute;
  width: 100%;
  height: 0;
  top: 0;
  left: 0;
  border-top-left-radius: 10px;
  border-top-right-radius: 10px;
  background: #6b6b6a6b;
  transition: 0.5s;
  z-index: 1;
}

.service .service-item:hover .service-img::after {
  height: 100%;
}

.service .service-item .service-img .service-icon {
  position: absolute;
  width: 70px;
  bottom: 0;
  right: 25px;
  border-top-left-radius: 10px;
  border-top-right-radius: 10px;
  background: var(--bs-light);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: 0.5s;
  z-index: 9;
}

.service .service-item .service-img .service-icon i {
  transition: 0.5s;
}

.service .service-item:hover .service-img .service-icon i {
  transform: rotateX(360deg);
  color: var(--bs-white);
}

.service .service-item:hover .service-img .service-icon {
  bottom: 0;
  color: var(--bs-white);
}

.service .service-content {
  position: relative;
  border-bottom-left-radius: 10px;
  border-bottom-right-radius: 10px;
  background: var(--bs-white);
}

.service .service-item .service-content .service-content-inner {
  position: relative;
  z-index: 9;
}

.service .service-item .service-content .service-content-inner h4,
.service .service-item .service-content .service-content-inner p {
  transition: 0.5s;
}

.service .service-item:hover .service-content .service-content-inner h4,
.service .service-item:hover .service-content .service-content-inner p {
  color: var(--bs-white);
}
.service-img {
  background: var(--bs-white);
}
.service
  .service-item:hover
  .service-content
  .service-content-inner
  .btn.btn-primary {
  color: var(--bs-primary);
  background-color: #3a383962;
}

.service
  .service-item:hover
  .service-content
  .service-content-inner
  .btn.btn-primary:hover {
  color: var(--bs-white);
}

.service .service-item .service-content::after {
  content: '';
  position: absolute;
  width: 100%;
  height: 0;
  bottom: 0;
  left: 0;
  border-bottom-left-radius: 10px;
  border-bottom-right-radius: 10px;
  background: #968e73;
  color: #fff;
  transition: 0.5s;
  z-index: 1;
}

.service .service-item:hover .service-content::after {
  height: 100%;
}
/*** Service End ***/

/*** Team Start ***/
.about-item-content,
.about-item-content h2,
.about-item-content h4 {
  color: #fff;
}
.team .team-item .team-img {
  position: relative;
  overflow: hidden;
  border-top-left-radius: 10px;
  border-top-right-radius: 10px;
}

.team .team-item .team-img img {
  transition: 0.5s;
}

.team .team-item:hover .team-img img {
  transform: scale(1.1);
}

.team .team-item .team-img::after {
  content: '';
  position: absolute;
  width: 100%;
  height: 0;
  top: 0;
  left: 0;
  border-top-left-radius: 10px;
  border-top-right-radius: 10px;
  transition: 0.5s;
}

.team .team-item:hover .team-img::after {
  height: 100%;
  background: rgba(255, 255, 255, 0.3);
}

.team .team-item .team-img .team-icon {
  position: absolute;
  bottom: 20px;
  right: 20px;
  margin-bottom: -100%;
  transition: 0.5s;
  z-index: 9;
}

.team .team-item:hover .team-img .team-icon {
  margin-bottom: 0;
}

.team .team-item .team-title {
  color: var(--bs-white);
  background: var(--bs-primary);
  border-bottom-left-radius: 10px;
  border-bottom-right-radius: 10px;
  transition: 0.5s;
}

.team .team-item .team-title h4 {
  color: var(--bs-white);
}

.team .team-item:hover .team-title {
  background: #00b7b5;
}
/*** Team End ***/

/*** Blog Start ***/
.blog .blog-item {
  border-radius: 10px;
  transition: 0.5s;
}

.blog .blog-item:hover {
  box-shadow: 0 0 45px rgba(0, 0, 0, 0.1);
}

.blog .blog-item:hover .blog-content {
  background: var(--bs-light);
}

.blog .blog-item .blog-img {
  border-top-left-radius: 10px;
  border-top-right-radius: 10px;
  position: relative;
  overflow: hidden;
}

.blog .blog-item .blog-img img {
  transition: 0.5s;
}

.blog .blog-item:hover .blog-img img {
  transform: scale(1.2);
}

.blog .blog-item .blog-img::after {
  content: '';
  position: absolute;
  width: 100%;
  height: 0;
  top: 0;
  left: 0;
  border-top-left-radius: 10px;
  border-top-right-radius: 10px;
  background: rgba(1, 95, 201, 0.2);
  transition: 0.5s;
  z-index: 1;
}

.blog .blog-item:hover .blog-img::after {
  height: 100%;
}

.blog .blog-item .blog-img .blog-categiry {
  position: absolute;
  bottom: 0;
  right: 0;
  border-top-left-radius: 10px;
  display: inline-flex;
  color: var(--bs-white);
  background: var(--bs-primary);
  z-index: 9;
}

.blog .blog-item .blog-content {
  border-bottom-left-radius: 10px;
  border-bottom-right-radius: 10px;
  background: var(--bs-white);
}

.blog .blog-item .blog-content a.btn {
  color: #00b7b5;
}

.blog .blog-item:hover .blog-content a.btn:hover {
  color: var(--bs-primary);
}
/*** Blog End ***/

/*** SEO Begin ***/
.mono {
  background: url('../img/jti-monogram.png') center center / contain no-repeat;
  text-align: center;
  padding: 45px 0px;
  margin: 25px auto;
  max-width: 70%;
}
/*** SEO End ***/

/** Accordion ***/
/* Accordion Styling to Match J. Thompson Insurance Site */

.accordion {
  --bs-accordion-border-color: #e5e7eb;
  --bs-accordion-border-radius: 0.5rem;
  margin-bottom: 2rem;
}

.accordion-item {
  border: 1px solid #e5e7eb;
  margin-bottom: 1rem;
  border-radius: 0.5rem !important;
  overflow: hidden;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
  transition: box-shadow 0.3s ease;
}

.accordion-item:hover {
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.accordion-button {
  background-color: #ffffff;
  color: #3a3839;
  font-weight: 400;
  font-size: 1.125rem;
  padding: 1.25rem 1.5rem;
  border: none;
  box-shadow: none !important;
}

.accordion-button:not(.collapsed) {
  background-color: #f9fafb;
  color: #3a3839;
  border-bottom: 1px solid #e5e7eb;
}

.accordion-button::after {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%231f2937'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");
  transition: transform 0.3s ease;
}

.accordion-button:not(.collapsed)::after {
  transform: rotate(-180deg);
}

.accordion-button:hover {
  background-color: #f9fafb;
}

.accordion-button:focus {
  box-shadow: none;
  border-color: #e5e7eb;
}

.accordion-body {
  padding: 1.5rem;
  background-color: #ffffff;
  color: #4b5563;
  line-height: 1.75;
}

.accordion-body ul {
  padding-left: 1.5rem;
  margin-bottom: 1rem;
}

.accordion-body ul li {
  margin-bottom: 0.5rem;
}

/* Optional: Add accent color if you have a brand color */
/* Uncomment and adjust the color to match your brand */

.accordion-button:not(.collapsed) {
  background-color: #c4bfad;
  color: #3a3839;
}

.accordion-button:not(.collapsed)::after {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%230369a1'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");
}

/*** Footer Start ***/
.footer {
  background: #00b7b5;
}

.footer .footer-item {
  display: flex;
  flex-direction: column;
}

.footer .footer-item a {
  line-height: 35px;
  color: var(--bs-body);
  transition: 0.5s;
}

.footer .footer-item p {
  line-height: 35px;
}

.footer .footer-item a:hover {
  color: var(--bs-primary);
}

.footer .footer-item .footer-btn a,
.footer .footer-item .footer-btn a i {
  transition: 0.5s;
}

.footer .footer-item .footer-btn a:hover {
  background: var(--bs-white);
}

.footer .footer-item .footer-btn a:hover i {
  color: var(--bs-primary);
}

.footer .footer-item .footer-instagram {
  position: relative;
  overflow: hidden;
}

.footer .footer-item .footer-instagram img {
  transition: 0.5s;
}

.footer .footer-item .footer-instagram:hover img {
  transform: scale(1.2);
}

.footer .footer-item .footer-instagram .footer-search-icon {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: 0.5s;
  opacity: 0;
}

.footer .footer-item .footer-instagram:hover .footer-search-icon {
  opacity: 1;
  background: rgba(0, 0, 0, 0.6);
}

.footer .footer-item .footer-btn a {
  background: var(--bs-light);
  color: var(--bs-primary);
}

.footer .footer-item .footer-btn a:hover {
  background: var(--bs-primary);
}

.footer .footer-item .footer-btn a:hover i {
  color: var(--bs-white);
}
/*** Footer End ***/

/*** copyright Start ***/
.copyright {
  background: #6d6e71;
  color: #fff;
  font-size: small;
}
.copyright a {
}
/*** copyright end ***/
