/*
Theme Name: Stiles Bootstrap
Theme URI: https://example.com/stiles-bootstrap
Author: Stiles Careers
Author URI: https://example.com
Description: A lightweight Bootstrap 5-based classic WordPress theme starter for Stiles. Minimal files required to activate; header/footer/pages to be added later.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.6
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: stiles
Tags: bootstrap, classic theme, blog, one-column, responsive
*/

/* Base font */
body, button, input, select, textarea {
    font-family: 'cabin', sans-serif !important;
    font-weight: 400; /* normal body weight */
}

/* Headings */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Cabin', sans-serif !important;
    font-weight: 700; /* bold headings */
    line-height: 1.3;
}

p {
    color: #696969;
}

.btn {
    background-color: #333333 !important;
    border: none;
    border-radius: 10px !important;
    padding: 10px 25px;
}

.card-title a {
    color: #333333 !important;
}

/* Gravity Forms fields */
body .gform_wrapper .gfield input[type=text],
body .gform_wrapper .gfield input[type=email],
body .gform_wrapper .gfield input[type=tel],
body .gform_wrapper .gfield input[type=url],
body .gform_wrapper .gfield input[type=number],
body .gform_wrapper .gfield input[type=password],
body .gform_wrapper .gfield select,
body .gform_wrapper .gfield textarea {
    border: 1px solid #d3d3d3; /* lighter grey border */
    border-radius: 0.75rem; /* more rounded corners */
    padding: 0.75rem 1rem;
    font-family: 'Manrope', sans-serif;
    font-size: 1rem;
}

/* On focus */
body .gform_wrapper .gfield input:focus,
body .gform_wrapper .gfield select:focus,
body .gform_wrapper .gfield textarea:focus {
    outline: none;
    border-color: #999; /* slightly darker grey on focus */
    box-shadow: 0 0 0 0.2rem rgba(51,51,51,0.1);
}

/* Gravity Forms submit button */
body .gform_wrapper .gform_footer input[type=submit],
body .gform_wrapper .gform_page_footer input[type=submit],
body .gform_wrapper .gform_footer input[type=button],
body .gform_wrapper .gform_page_footer input[type=button] {
    background-color: #F5ED1E; /* dark grey background */
    color: #000000;
    border: none;
    border-radius: 10px; /* pill-shaped */
    padding: 0.75rem 2rem;
    font-size: 1rem;
    font-weight: 600;
    text-transform: none;
    font-family: 'Manrope', sans-serif;
    cursor: pointer;
    transition: background-color 0.2s ease-in-out;
}

/* Hover state */
body .gform_wrapper .gform_footer input[type=submit]:hover,
body .gform_wrapper .gform_page_footer input[type=submit]:hover {
    background-color: #000; /* darker on hover */
}

/* Keep WPBakery rows comfortable inside our theme */
.builder-contained .entry-content > .vc_row.wpb_row {
  margin-left: 0;
  margin-right: 0;
}

/* Full-width builder canvas: let stretched rows span edge-to-edge */
.builder-canvas main, .builder-canvas .entry-content {
  padding: 0;
}
.builder-canvas .entry-content > .vc_row.wpb_row {
  margin-left: 0;
  margin-right: 0;
}

/* Buttons & forms inside builder blocks follow site styles */
.wpb_content_element .btn { border-radius: 15px; }
.gform_wrapper .gform_button { border-radius: 15px; }

/* Headings and font family (reinforce Manrope in builder blocks) */
.wpb_content_element, .wpb_wrapper {
  font-family: 'Cabin', sans-serif;
}

.text-muted {
    display: none !important;
}

/* Sticky footer layout */
html, body { height: 100%; }
body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* Let <main> take up remaining space */
main#primary {
  flex: 1 0 auto;
}

/* Safety: ensure footer sits at the bottom when content is short */
footer {
  margin-top: auto;
}

.apply-button {
    background: #F5ED1E !important;
}


/* Optional: style the drop area border to look subtle */
body .gform_wrapper .gform_drop_area {
    border: 1px dashed #d3d3d3;
    border-radius: 0.75rem;
    padding: 1.5rem;
    background-color: #fafafa;
    transition: border-color 0.2s ease-in-out;
}
body .gform_wrapper .gform_drop_area:hover {
    border-color: #999;
}

#gform_browse_button_2_8 {
    background-color: #333333 !important;
    border: none;
    border-radius: 10px !important;
    padding: 10px 25px;
    color: #ffffff;
}

.gsection_title {
font-size: 19px !important;
    margin-top: 25px !important;
}

#gform_browse_button_2_11 {
    background-color: #333333 !important;
    border: none;
    border-radius: 10px !important;
    padding: 10px 25px;
    color: #ffffff;
}