/*
Theme Name: MyEnergyBoard Pro
Theme URI: https://myenergyboard.com/
Author: Silverline Solutions
Description: A custom, performance-focused WordPress theme for MyEnergyBoard with editable homepage content, navigation, branding, calls to action, social links, and legal links.
Version: 2.1.0
Requires at least: 6.0
Requires PHP: 7.4
Text Domain: myenergyboard
*/

/* Homepage lead form */
.cta-section .cta-copy { text-align: center; }
.meb-lead-form-wrap {
    position: relative;
    z-index: 2;
    max-width: 920px;
    margin: 42px auto 0;
    padding: 34px;
    border-radius: 24px;
    background: rgba(255,255,255,.98);
    box-shadow: 0 24px 70px rgba(17,55,90,.22);
    text-align: left;
}
.meb-form-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0,1fr));
    gap: 20px;
}
.meb-field { display: flex; flex-direction: column; gap: 8px; }
.meb-field-full { grid-column: 1 / -1; }
.meb-field label {
    color: #17324d;
    font-size: 15px;
    font-weight: 700;
}
.meb-field label span { color: #1f78cc; }
.meb-field input,
.meb-field textarea {
    width: 100%;
    border: 1px solid #d7e2eb;
    border-radius: 12px;
    background: #fff;
    color: #17324d;
    font: inherit;
    padding: 13px 15px;
    transition: border-color .18s ease, box-shadow .18s ease;
}
.meb-field textarea { resize: vertical; min-height: 120px; }
.meb-field input:focus,
.meb-field textarea:focus {
    outline: none;
    border-color: #1f78cc;
    box-shadow: 0 0 0 4px rgba(31,120,204,.12);
}
.meb-form-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    margin-top: 24px;
}
.cta-section .meb-form-note {
    margin: 0;
    color: #60758a;
    font-size: 14px;
}
.meb-submit-button { border: 0; cursor: pointer; white-space: nowrap; }
.meb-form-alert {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 0 0 22px;
    padding: 14px 16px;
    border-radius: 12px;
    font-weight: 600;
}
.meb-form-success { background: #edf8e7; color: #356d18; }
.meb-form-error { background: #fff0f0; color: #a32929; }
.meb-honeypot { position: absolute !important; left: -9999px !important; }

@media (max-width: 700px) {
    .meb-lead-form-wrap { padding: 24px 18px; border-radius: 18px; }
    .meb-form-grid { grid-template-columns: 1fr; }
    .meb-field-full { grid-column: auto; }
    .meb-form-footer { align-items: stretch; flex-direction: column; }
    .meb-submit-button { width: 100%; text-align: center; }
}

/* =========================
   Static Logo

.custom-logo,
.navbar-brand img {
    max-height: 110px;
    width: auto;
}
========================= */
.custom-logo,
.navbar-brand img {

    max-height:clamp(60px,5vw,95px);
    width:auto;

}
/* =========================
   Navbar
========================= */

.navbar {
    min-height: 95px;
	position:sticky;
    top:0;
    z-index:9999;
    background:#fff;
	box-shadow:
    0 4px 18px rgba(0,0,0,.08);
}
.navbar-brand,
.navbar-nav,
.navbar-collapse {

    display:flex;
    align-items:center;

}
.navbar-brand {

    padding-top:10px;
    padding-bottom:10px;

}
.navbar-nav .nav-link {

    transition:.25s ease;

}
.navbar-nav .nav-link:hover {

    color:#2fa8ff;
    transform:translateY(-2px);

}
.navbar-nav .nav-item {

    margin-left:18px;
    margin-right:18px;

}
.navbar .btn {

    border-radius:40px;
    padding:12px 28px;
    font-weight:600;
    transition:.25s;

}

.navbar .btn:hover {

    transform:translateY(-2px);

}