/**
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;
}

: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;
}

.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;
  }
}

/* --------------------- 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;
}
.site-footer {

    border-top: 2px solid #a3a09a;

}
.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: center;
}
}
