/*
Theme Name: Jetbooks
Theme URI: https://example.com/jetbooks
Author: Your Name
Author URI: https://example.com
Description: Lightweight, modern WordPress theme scaffold tailored for Jetbooks. Clean typography, responsive layout, and basic templates.
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: jetbooks
Tags: blog, e-commerce, responsive, custom-logo, accessibility-ready
*/

html {
  scroll-behavior: smooth;
}

@font-face {
  font-family: 'Tiempos';
  src: url('assets/fonts/TestTiemposHeadline-Bold.otf') format('opentype');
  font-weight: bold;
  font-style: normal;
}

@font-face {
  font-family: 'GothamPro';
  src: url('assets/fonts/gothampro.ttf') format('opentype');
  font-weight: normal;
  font-style: normal;
}


/* === Apply Fonts === */
.elementor-widget-heading h1,
.elementor-widget-heading h2,
.elementor-widget-heading h3,
.elementor-widget-heading h4,
.elementor-widget-heading h5,
.elementor-widget-heading h6 {
  font-family: 'Tiempos' !important;
  color: #3e4349 !important;
}



* {
  padding: 0;
  margin: 0;
  font-family: 'GothamPro' !important;
}

#masthead {
  position: relative;
  width: 100%;
  z-index: 999;
  transition: all 0.3s ease;
}

#masthead.sticky {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background: white;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.elementor-widget-text-editor,
.elementor-widget-text-editor p,
body {
  font-family: 'GothamPro' !important;
}

.elementor-element-5fc8ea6 .elementor-element .elementor-heading-title {
  font-family: 'GothamPro' !important;
  font-weight: 400 !important;
}

* .elementor-426 .elementor-element.elementor-element-57dc3b4 {
  --width: 100%;
}

.c-podcasts iframe {
  margin-bottom: 60px;
}

.hfe-nav-menu {
  display: flex;
  align-items: center;

}

.hfe-nav-menu__layout-horizontal li.menu-item {
  padding: 10px 12px;
}

.hfe-nav-menu__layout-horizontal li.menu-item a {
  position: relative;
  white-space: nowrap;
}


/* ✅ 3. Show underline when active (not on hover) */
/* Base state: hidden underline */
a.hfe-menu-item::after {
  content: "";
  position: absolute !important;
  bottom: 0;
  left: 0;
  width: 0%; /* hidden by default */
  height: 2px;
  background-color: #3BA9D2 !important;
  z-index: 1;
  opacity: 1;
  transition: width 0.3s ease-in-out !important;
}

/* Hover state: show underline */
li.menu-item:not(#menu-item-34):hover > a.hfe-menu-item::after {
  width: 100%;
}

/* Active/current state: show underline permanently */
.hfe-nav-menu__layout-horizontal li.menu-item:not(#menu-item-34).current-menu-item > a.hfe-menu-item::after,
.hfe-nav-menu__layout-horizontal li.menu-item:not(#menu-item-34).current-menu-ancestor > a.hfe-menu-item::after {
  width: 100%;
}


.hfe-nav-menu__layout-horizontal li.menu-item>a.hfe-menu-item {
  display: inline-block;
  /* or block */
  position: relative;
}

.hfe-nav-menu__layout-horizontal li.menu-item.cta-btn a::after {
  content: none;
}

.hfe-nav-menu__layout-horizontal li.menu-item a:hover::after {
  width: 100%;
}

.hfe-nav-menu__layout-horizontal li.menu-item.cta-btn a:hover {
  background: #ffb900;
  color: #000000 !important;
}

.hfe-nav-menu__layout-horizontal li.menu-item.cta-btn a:active {
  background: #ffb900;
  color: #000000 !important;
}


.wpcf7-form {
  padding-top: 30px;
  padding-left: 30px;
  padding-right: 30px;
  padding-bottom: 30px;
}

textarea,
select,
input[type=text],
input[type=password],
input[type=email],
input[type=url],
input[type=search],
input[type=tel],
input[type=number],
input[type=datetime] {
  -webkit-appearance: none;
  border: 1px solid #dedee5;
  background: #fff;
  outline: none;
  width: 100%;
  padding: 13px 15px;
  line-height: 1;
}

/* Form width  and border */

.wpcf7 {
  text-align: left;
  width: 100%;
  background-color: #FFFFFF;
  background-position: center;
  background-size: cover;
}

.wpcf7 p {
  margin-bottom: 10px;
}

.wpcf7 p label {
  color: #6D7680;
  font-size: 16px;
  line-height: 27.2px
}

/* Input Field widths */

.wpcf7-text,
.wpcf7-textarea {
  width: 100%;
  border-radius: 4px;
  color: #EEEEEE;
}

.wpcf7-text {
  height: 50px;
  padding-left: 10px;
}

/* Input Field background */

.wpcf7 input[type="text"] {
  background-color: #F9F9F9;
}

.wpcf7 input[type="email"] {
  background-color: #F9F9F9;
}

.wpcf7 input[type="tel"] {
  background-color: #F9F9F9;
}

.wpcf7-textarea {
  background-color: #FFFFFF;
}

/* Input Field Text color */

input.wpcf7-form-control.wpcf7-text,
textarea.wpcf7-form-control.wpcf7-textarea {

  color: #666666 !important;

}

/* Placeholder Text color */

::-webkit-input-placeholder {
  /* WebKit browsers */
  color: #666666 !important;
  opacity: 1;
}

:-moz-placeholder {
  /* Mozilla Firefox 4 to 18 */
  color: #666666 !important;
  opacity: 1;
}

::-moz-placeholder {
  /* Mozilla Firefox 19+ */
  color: #666666 !important;
  opacity: 1;
}

:-ms-input-placeholder {
  /* Internet Explorer 10+ */
  color: #666666 !important;
  opacity: 1;
}


/* Submit Button */

.wpcf7-form-control.wpcf7-submit {
    border: none;
    background: #56C0E4;
    color: #000000;
    font-size: 24px;
    font-weight: 600 !important;
    margin-bottom: 25px;
    padding: 25px 60px;
}

.wpbf-button:hover,
input[type="submit"]:hover {
  background: #ffb900;
  color: #000000;
}

.wpcf7-form-control.wpcf7-submit {
  width: 100%;
}

/* Submit button Responsive */
.hfe-nav-menu__layout-horizontal .hfe-nav-menu {
  flex-wrap: nowrap;
}


span.wpcf7-not-valid-tip {
  position: absolute;
  top: 50%;
  left: 10px;
  transform: translateY(-50%);
  color: red;
  padding: 3px 8px;
  font-size: 14px;
  border-radius: 4px;
  pointer-events: none; 
  z-index: 10;
}
.wpcf7-form-control-wrap {
  position: relative; 
}
	
.wpcf7-not-valid-tip {
  opacity: 1;
  transition: opacity 1s ease; /* smooth fade */
}
.wpcf7-not-valid-tip.fade-out {
  opacity: 0;
}

/* Modal Close Button Style  */

.pum-theme-379 .pum-container,
.pum-theme-default-theme .pum-container {
  padding: 30px;
  border-radius: 0px;
  border: 1px none #000000;
  box-shadow: 1px 1px 3px 0px rgba(2, 2, 2, 0.23);
  background-color: #fff;
}

.pum-theme-379 .pum-title,
.pum-theme-default-theme .pum-title {
  color: #ffffff;
  text-shadow: 0px 0px 0px rgba(2, 2, 2, 0.23);
  font-family: inherit;
  font-weight: 400;
  font-size: 28px;
  line-height: 36px;
  position: absolute;
  top: -70px;
  text-align: center !important;
  right: 0;
  left: 0;
}
.pum-theme-379 .pum-title, .pum-theme-default-theme .pum-title {
    color: #ffffff;
    text-align: center;
    text-shadow: 0px 0px 0px rgba( 2, 2, 2, 0.23 );
    font-family: inherit;
    font-weight: 400;
    font-size: 32px;
    line-height: 36px;
}

.pum-theme-379 .pum-content+.pum-close,
.pum-theme-default-theme .pum-content+.pum-close {
   position: absolute;
    height: auto;
    width: auto;
    left: auto;
    right: 10px;
    bottom: auto;
    top: 0 !important;
    padding: 0;
    color: #000000 !important;
    font-family: inherit;
    font-weight: 400;
    font-size: 30px !important;
    line-height: 34px;
}
@media (max-width: 1024px) {
  .hfe-nav-menu__layout-horizontal .hfe-nav-menu {
    flex-wrap: wrap !important;
  }
  .hfe-nav-menu {
    background: #fff !important;
  }

  .hfe-nav-menu__layout-horizontal li.menu-item a::after {
    content: none;
  }

  .hfe-nav-menu__layout-horizontal li.menu-item:hover {
    background-color: #ff6620;
  }

  .hfe-nav-menu__layout-horizontal li.menu-item:hover a {
    color: #000;
  }

  /* Show underline when active (not on hover) */

  .hfe-nav-menu__layout-horizontal li.menu-item:not(#menu-item-34).current-menu-item>a.hfe-menu-item::after,
  .hfe-nav-menu__layout-horizontal li.menu-item:not(#menu-item-34).current-menu-ancestor>a.hfe-menu-item::after {
    content: "";
    position: absolute;
    bottom: -6px;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: #3BA9D2;
    z-index: 1;
    opacity: 0;
  }


}

@media screen and (max-width:480px) {
  .fm-form-container.fm-theme21 .fm-form .button-submit {
    width: 100% !important;
  }
}



