/*

Theme Name: PSSL
Author: Derek Olalehe (EBi Programming)
Author URI: https://www.codeable.io/developers/derek-olalehe/
Description: Security Company
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Tags:
Text Domain: pssl

*/

/* GENERAL */
body {
    margin: 0;
    background: #fff;
}

/* Modern Header Container using :has() */
.e-con.e-parent:has(#header-menu) {
    background: rgba(255, 255, 255, 0.85) !important;
    backdrop-filter: blur(12px) !important;
    -webkit-backdrop-filter: blur(12px) !important;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.08) !important;
    position: sticky !important;
    top: 0 !important;
    z-index: 1000 !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.3) !important;
    transition: all 0.3s ease;
}

/* Ensure the logo and menu are vertically centered together */
.e-con.e-parent:has(#header-menu) .e-con-inner {
    align-items: center !important;
}

#header-menu {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
}

#header-menu ul#menu-main {
    list-style-type: none;
    display: flex;
    gap: 8px;
    margin: 0;
    padding: 0;
}

#header-menu ul#menu-main > li {
    position: relative;
    margin: 0;
    padding: 0;
}

#header-menu ul#menu-main > li > a {
    text-decoration: none;
    font-family: 'Roboto', sans-serif;
    font-size: 15px;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #5890ba;
    font-weight: 600;
    padding: 10px 24px;
    display: block;
    border-radius: 30px;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    position: relative;
    z-index: 1;
    overflow: hidden;
    background: transparent;
}

#header-menu ul#menu-main > li > a::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #5890ba 0%, #467699 100%);
    z-index: -1;
    opacity: 0;
    border-radius: 30px;
    transform: scale(0.9);
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

#header-menu ul#menu-main > li > a:hover {
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(88, 144, 186, 0.3);
}

#header-menu ul#menu-main > li > a:hover::before {
    opacity: 1;
    transform: scale(1);
}

#header-menu ul#menu-main > li.current-menu-item > a,
#header-menu ul#menu-main > li.current-page-item > a {
    color: #fff;
    box-shadow: 0 4px 15px rgba(193, 150, 92, 0.3);
}

#header-menu ul#menu-main > li.current-menu-item > a::before,
#header-menu ul#menu-main > li.current-page-item > a::before {
    opacity: 1;
    transform: scale(1);
    background: linear-gradient(135deg, #c1965c 0%, #a8814b 100%);
}

.heading-underline {
  width: 300px;
  height: 2px;
}

.heading-underline-patriot {
  background: linear-gradient(
    to right,
    #5890ba 0%,
    #5890ba 50%,
    #c1965c 50%,
    #c1965c 100%
  )
}

.heading-underline-white {
  background: linear-gradient(
    to right,
    rgba(255,255,255,.35) 0%,
    rgba(255,255,255,.35) 50%,
    #fff 50%,
    #fff 100%
  )
}

/* ==========================================================================
   Contact Form 7 Styling
   ========================================================================== */
.wpcf7 {
    max-width: 600px;
    margin: 40px auto;
    padding: 40px;
    background-color: #ffffff;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    font-family: 'Roboto', sans-serif;
}

.wpcf7-form-control-wrap {
    display: block;
    margin-bottom: 24px;
}

.wpcf7-text,
.wpcf7-textarea,
.wpcf7-select {
    width: 100%;
    padding: 14px 18px;
    border: 2px solid #e1e8ed;
    border-radius: 6px;
    font-size: 16px;
    font-family: 'Roboto', sans-serif;
    color: #333;
    transition: all 0.3s ease;
    box-sizing: border-box;
    background-color: #fafbfc;
}

.wpcf7-text:focus,
.wpcf7-textarea:focus,
.wpcf7-select:focus {
    border-color: #5890ba;
    background-color: #ffffff;
    outline: none;
    box-shadow: 0 0 0 4px rgba(88, 144, 186, 0.15);
}

.wpcf7-textarea {
    min-height: 160px;
    resize: vertical;
}

.wpcf7-submit {
    background-color: #c1965c;
    color: #fff;
    border: none;
    padding: 16px 32px;
    font-size: 16px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 100%;
    margin-top: 10px;
}

.wpcf7-submit:hover {
    background-color: #a8814b;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(193, 150, 92, 0.3);
}

.wpcf7-submit:active {
    transform: translateY(0);
}

/* Validation Errors and Notifications */
.wpcf7-not-valid-tip {
    font-size: 14px;
    color: #dc3232;
    margin-top: 8px;
    display: block;
    font-weight: 500;
}

.wpcf7 form.invalid .wpcf7-response-output,
.wpcf7 form.unaccepted .wpcf7-response-output,
.wpcf7 form.payment-required .wpcf7-response-output {
    border: 2px solid #dc3232;
    color: #dc3232;
    border-radius: 6px;
    padding: 15px;
    background-color: rgba(220, 50, 50, 0.05);
    margin-top: 20px;
}

.wpcf7 form.sent .wpcf7-response-output {
    border: 2px solid #46b450;
    color: #46b450;
    border-radius: 6px;
    padding: 15px;
    background-color: rgba(70, 180, 80, 0.05);
    margin-top: 20px;
}

/* Loader customization */
.wpcf7-spinner {
    margin-top: 20px;
}