/**
Theme Name: Benj
Author: Coraxium
Author URI: https://coraxium.com
Description: Astra is the fastest, fully customizable & beautiful theme suitable for blogs, personal portfolios and business websites. It is very lightweight (less than 50KB on frontend) and offers unparalleled speed. Built with SEO in mind, Astra comes with schema.org code integrated so search engines will love your site. Astra offers plenty of sidebar options and widget areas giving you a full control for customizations. Furthermore, we have included special features and templates so feel free to choose any of your favorite page builder plugin to create pages flexibly. Some of the other features: # WooCommerce Ready # Responsive # Compatible with major plugins # Translation Ready # Extendible with premium addons # Regularly updated # Designed, Developed, Maintained & Supported by Brainstorm Force. Looking for a perfect base theme? Look no further. Astra is fast, fully customizable and beautiful theme!
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: benj
Template: astra
*/

/* --------------------- GENERAL --------------------- */
.grecaptcha-badge {
    display: none !important;
	box-shadow: none;
}
html {
  overflow-x: hidden;
}
:root {
  --background-color: #212322;
  --body-copy: #716e6a;
  --secondary-color: #928f8c;
  --secondary-background-color: #d7d2cb;
  --tertiary-background-color: #f4f2f1;
  --primary-font: "Lato", sans-serif;
  --secondary-font: "Playfair Display", serif;
}

* {
  box-sizing: border-box;
  font-family: var(--primary-font);
}
.no-left-margin {
  margin-left: 0 !important;
}

#ast-scroll-top {
  background-color: var(--background-color) !important;
  color: var(--secondary-background-color) !important;
}
/* --------------------- HEADER --------------------- */
.ast-builder-html-element p {
  line-height: 20px;
}
.header-widget-area {
  padding-right: 0px;
}
.site-primary-header-wrap {
  padding: 25px 35px 25px 35px !important;
}
.site-primary-header-wrap .site-branding {
  padding: 0;
}
.header-right-content a {
  margin: 0px;
  color: var(--secondary-background-color);
  font-size: 12px;
}
body:not(.home) .ast-builder-menu {
    display: none;
}
body:not(.home) .header-phone {
  display: none;
}
.header-home {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.header-home a {
  width: 120px;
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  height: 15px;
  align-items: center;
}

[data-section="section-hb-html-1"] {
  margin-right: 2rem;
}
body:not(.page-template-template-home) [data-section="section-hb-html-1"] span {
  color: var(--background-color) !important;
}

body:not(.page-template-template-home) .header-home {
  display: none;
}
body:not(.page-template-template-home) .header-other {
  display: block;
}

.header-other img {
  object-fit: none;
  cursor: pointer;
}

@media screen and (max-width: 600px) {
  [data-section="section-hb-html-1"] {
    margin-right: 0rem;
  }
}
@media screen and (max-width: 400px) {
  body:not(.page-template-template-home) .ast-header-html-1 {
    display: none;
  }
}

/* --------------------- NAVIGATION --------------------- */
/* Slide-In Menu Container */
#slide-in-menu {
  position: fixed;
  top: 0;
  right: -100%;
  width: 100%;
  height: 100%;
  background-color: var(--background-color) !important;
  color: white;
  z-index: 9999;
  padding: 12rem 35px 0px 35px;
  transition: right 0.3s ease-in-out;
  display: flex;
}

#slide-in-menu.active {
  right: 0; /* Slide in from the right */
}

/* Content Container Inside Slide-In Menu */
#slide-in-menu .ast-container {
  margin: 0px;
}

/* Main Menu Styles */
#slide-in-menu .menu-main-container li {
  list-style: none;
}

#slide-in-menu .menu-main-container li a.menu-link {
  padding: 0;
  color: var(--body-copy); /* Match home nav text color */
  font-family: var(--secondary-font); /* Same font as home nav */
  transition: none; /* Smooth hover effect */
  display: block;
}

#slide-in-menu .menu-main-container li a.menu-link:focus {
  outline: none;
}

#slide-in-menu .menu-main-container li a.menu-link:hover {
  color: var(--secondary-background-color); /* Match hover color with home nav */
}

/* Submenu Styles */
#slide-in-menu .menu-main-container .sub-menu {
  max-height: 0;
  overflow: hidden;
  margin: 0px;
  transition: max-height 0.5s ease-in-out;
  z-index: 1;
  position: relative;
}

#slide-in-menu .menu-main-container .menu-item-has-children:hover .sub-menu {
  max-height: 500px; /* Same hover behavior */
}

#slide-in-menu .menu-main-container .sub-menu a {
  font-size: 32px !important; /* Match home nav submenu font size */
  line-height: 35px !important; /* Match home nav submenu line height */
}

@media screen and (max-width: 600px) {
  #slide-in-menu .menu-main-container > ul > li {
    margin-bottom: 0rem; /* Adjust for smaller screens */
  }

  #slide-in-menu nav a {
    margin: 0px !important;
  }

  #slide-in-menu {
    align-items: center;
  }

  #slide-in-menu .menu-main-container li a.menu-link {
    font-size: 80px; /* Match home nav mobile font size */
    line-height: 80px; /* Match home nav mobile line height */
  }

  nav {
    margin-top: 90px;
  }
}

/* Responsive Menu Adjustments */
#slide-in-menu nav ul {
  padding: 0;
  margin: 0;
}

#slide-in-menu nav a {
  display: block;
  color: white;
  text-decoration: none;
  font-size: 1.5rem;
}

#slide-in-menu nav a:hover {
  color: #f90;
}

/* Close Button Styles */
#close-menu-button {
  position: absolute;
  top: 30px;
  right: 0;
  background: none;
  border: none;
  cursor: pointer;
  z-index: 10000;
  width: 100%;
  display: flex;
  justify-content: space-between;
  padding: 10px 35px;
  align-items: center;
}

#close-menu-button .close-btn {
  width: 30px;
  height: 30px;
  transition: transform 0.2s ease-in-out;
}



@media screen and (max-width: 768px) {
  #close-menu-button {
    padding: 20px 35px;
  }

  #slide-in-menu {
    padding: 10rem 35px;
    flex-direction: column;
    justify-content: flex-start;
    align-items: start;
  }
}

@media screen and (max-width: 600px) {
  #slide-in-menu .menu-main-container li a.menu-link {
    font-size: 80px; /* Match home nav mobile font size */
  }

  #main {
    padding: 0;
    margin: 0;
  }
}

/* --------------------- ATTACHED HORIZONTAL SUBMENU --------------------- */
/* Hide the default Astra dropdown on the primary nav — replaced by the attached horizontal bar */
.site-navigation .sub-menu {
  display: none !important;
}

.attached-submenu {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  width: 100%;
  background-color: var(--secondary-background-color);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.25s ease-in-out, visibility 0s linear 0.25s;
  z-index: 998;
}

.attached-submenu.is-active {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transition: opacity 0.25s ease-in-out, visibility 0s linear 0s;
}

.attached-submenu-inner {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  padding: 18px 65px;
  max-width: 100%;
  gap: 30px;
}

.attached-submenu-list {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  list-style: none;
  margin: 0;
  padding: 0;
  gap: 48px;
  flex: 1;
}

.attached-submenu-list li {
  margin: 0;
  list-style: none;
}

.attached-submenu-list a {
  color: #716E6A;
  text-decoration: none;
  font-weight: 600;
  font-size: 14px;
  line-height: 1.2;
  transition: color 0.2s ease-in-out;
}

.attached-submenu-list a:hover,
.attached-submenu-list .current-menu-item > a,
.attached-submenu-list .current_page_item > a {
  color: #212322;
}

.attached-submenu-close {
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  width: 24px;
  height: 24px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

button.attached-submenu-close:hover {
  background-color: transparent;
  border: none;
}

.attached-submenu-close img {
  width: 100%;
  height: auto;
  display: block;
}

@media screen and (max-width: 768px) {
  .attached-submenu-inner {
    padding: 14px 20px;
    gap: 16px;
  }
  .attached-submenu-list {
    gap: 24px;
  }
  .attached-submenu-list a {
    font-size: 16px;
  }
}

/* --------------------- FORMS --------------------- */
.wpcf7-form span {
  margin-bottom: -0.6rem;
}
.wpcf7 form input:focus,
.wpcf7 form textarea:focus,
.wpcf7 form select:focus {
  background: #fff0;
  outline: none;
}
.wpcf7 form input:not([type="submit"]),
.wpcf7 form textarea,
.wpcf7 form select,
.wpcf7 form input[type="checkbox"] {
  background: #fff0 !important;
  border: 1px solid #706e6a !important;
  border-radius: 0;
  outline: none !important;
}
.form-notice {
  font-size: 12px;
  color: var(--body-copy);
  margin: 0;
}
.contact-group p {
  margin: 0;
  color: var(--body-copy) !important;
}
.contact-group {
  margin-bottom: 2rem !important;
}
.wpcf7 input::placeholder,
.wpcf7 textarea::placeholder {
  color: var(--body-copy);
  font-size: 14px;
}
.wpcf7-submit:hover {
  background-color: var(--tertiary-background-color) !important;
  color: var(--background-color) !important;
  border-color: var(--background-color) !important;
  border-radius: 0;
}
.wpcf7-submit {
  background-color: var(--background-color) !important;
  color: var(--tertiary-background-color) !important;
  border-radius: 0 !important;
  transition: background-color 0.3s ease-in-out;
  transition: color 0.3s ease-in-out;
}
fieldset {
  padding: 0;
  border: none !important;
}
#wpcf7-f114-p108-o1,
#wpcf7-f124-p118-o1 {
  max-width: 400px;
  width: 100%;
}

#wpcf7-f128-p129-o1 textarea {
  min-height: 100px;
  max-height: 300px;
  height: 100px;
  width: 100% !important;
}
#wpcf7-f128-p129-o1 h2 {
  font-size: 16px;
  color: var(--body-copy);
}
/* --------------------- CHECKBOX --------------------- */
.wpcf7-checkbox {
  display: grid; /* Enable grid layout */
  grid-template-columns: repeat(4, 1fr); /* Create 4 equal columns */
  gap: 16px; /* Add space between grid items */
}

.wpcf7-checkbox .wpcf7-list-item {
  margin: 0;
}
/* Remove native styles */
input[type="checkbox"] {
  appearance: none; /* For modern browsers */
  -webkit-appearance: none; /* For older WebKit browsers */
  -moz-appearance: none; /* For older Mozilla browsers */
  width: 20px !important;
  height: 20px !important;
  min-width: 20px !important;
  border: 2px solid #ccc;
  border-radius: 4px; /* Optional: Rounded corners */
  background-color: #f0f0f0; /* Default background color */
  cursor: pointer;
  display: inline-block;
}

/* Optional: Add a checkmark */
input[type="checkbox"]:checked::after {
  content: "✔"; /* Unicode for checkmark */
  color: white;
  font-size: 16px;
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: var(--background-color);
  height: 100%;
}
.form-container {
  display: flex;
  justify-content: flex-end;
}
.form-cols {
  margin-bottom: 1rem;
}
.form-cols p {
  display: flex;
  flex-direction: row;
  width: 100%;
  justify-content: center;
  align-items: center;
  gap: 10px;
}
.form-cols input {
  width: 50%;
}

@media screen and (max-width: 921px) {
  .form-container {
    justify-content: flex-start;
  }

  .wpcf7-checkbox {
    grid-template-columns: repeat(3, 1fr); /* Create 4 equal columns */
  }
}
@media screen and (max-width: 600px) {
  .form-container {
    justify-content: flex-start;
  }

  .wpcf7-checkbox {
    grid-template-columns: repeat(2, 1fr); /* Create 4 equal columns */
  }
}
/* --------------------- GLOBAL --------------------- */
.wp-element-button:hover {
  background-color: var(--tertiary-background-color) !important;
  color: var(--background-color) !important;
  border: 1px solid var(--background-color) !important;
}
.wp-element-button {
  border-radius: 0;
  background-color: var(--background-color) !important;
  color: var(--tertiary-background-color) !important;
  border: 1px solid var(--background-color) !important;
}
.playground-font {
  font-family: var(--secondary-font);
}
body:not(.page-template-template-home) {
  background-color: var(--secondary-background-color) !important;
}
.main-content,
body:not(.page-template-template-home) #ast-desktop-header,
.main-content,
body:not(.page-template-template-home) .site-below-footer-inner-wrap {
  margin: auto;
  max-width: 1400px !important;
  width: 100%;
}
.site-below-footer-wrap[data-section="section-below-footer-builder"] {
  padding-left: 35px;
  padding-right: 35px;
  max-width: 1400px;
  margin: auto;
}
body:not(.page-template-template-home) .site-header {
  border-bottom: solid 2px #a3a09a;
}

.desktop {
  display: flex !important;
}
.mobile {
  display: none !important;
}

@media screen and (max-width: 921px) {
  .site-main-columns {
    flex-direction: column;
  }

  .desktop {
    display: none !important;
  }
  .mobile {
    display: flex !important;
  }
}

/* --------------------- FOOTER --------------------- */
.site-below-footer-inner-wrap {
  padding: 0px !important;
}

@media screen and (min-width: 600px) {
    .site-content {
      padding-bottom: 100px !important;
    }
}

.footer-content {
  display: flex;
  flex-direction: row;
  justify-content: flex-start;
  gap: 10px;
  align-items: center;
}

.footer-content p {
  margin: 0px;
  color: var(--body-copy);
  font-size: 12px;
}

.footer-content .footer-links {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 5px;
}

.footer-content .footer-links a {
  color: var(--body-copy);
  font-size: 12px;
  line-height: 15px;
  text-decoration: none;
  transition: color 0.3s ease-in-out;
}

.footer-content .footer-links a:hover {
  color: var(--secondary-background-color);
}

@media screen and (max-width: 600px) {
  .footer-content {
    flex-direction: row;
    
  }

  .footer-content {
    align-items: flex-start;
}
}

.social-links {
  display: flex;
  justify-content: flex-end;
  gap: 12px;
}

.social-links__link {
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 0;
  width: 36px;
  height: 36px;
}

.social-links__link:hover  {
  opacity: 0.7;
}

.social-links__link svg {
  display: block;
  width: 100%;
  height: auto;
}

.site-footer {
    z-index: 99;
    border-top: 1px solid #a3a09a;
    background-color: #212322;
  }

@media screen and (min-width: 600px) {
  .site-footer {
    z-index: 99;
    border-top: 1px solid #a3a09a;
    position: fixed !important;
    bottom: 0 !important;
    left: 0 !important;
    width: 100% !important;
    background-color: #212322;
  }
}