/*
Theme Name: SigningOrder Theme
Theme URI: https://signingorder.com
Author: SigningOrder
Description: Marketing theme for SigningOrder. Exact replica of production homepage at /, Elementor-editable pages elsewhere.
Version: 2.0.0
License: Private
Text Domain: signingorder
*/

/* ============================================
   Fonts - Local Roboto
   ============================================ */
@font-face {
    font-family: 'RobotoRegular';
    src: url('assets/fonts/Roboto-Regular.ttf') format('truetype');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'RobotoBold';
    src: url('assets/fonts/Roboto-Bold.ttf') format('truetype');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'RobotoLight';
    src: url('assets/fonts/Roboto-Light.ttf') format('truetype');
    font-weight: 300;
    font-style: normal;
    font-display: swap;
}

/* ============================================
   Reset & Base (from production)
   ============================================ */
*, *::before, *::after {
    box-sizing: border-box;
}
html {
    scroll-behavior: smooth;
}
body {
    margin: 0;
    padding: 0;
    font-family: 'RobotoRegular', 'Roboto', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    font-size: 14px;
    line-height: 1.42857143;
    color: #333;
}

/* WordPress Admin Bar Fix */
body.admin-bar .navbar-fixed-top {
    top: 32px;
}
@media (max-width: 782px) {
    body.admin-bar .navbar-fixed-top {
        top: 46px;
    }
}

a { color: #337ab7; text-decoration: none; }
a:hover { color: #23527c; text-decoration: underline; }
img { max-width: 100%; height: auto; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); border: 0; }

/* ============================================
   Bootstrap Grid Essentials
   ============================================ */
.container {
    padding-right: 15px;
    padding-left: 15px;
    margin-right: auto;
    margin-left: auto;
}
@media (min-width: 768px) { .container { width: 750px; } }
@media (min-width: 992px) { .container { width: 970px; } }
@media (min-width: 1200px) { .container { width: 1170px; } }

.container-fluid {
    padding-right: 15px;
    padding-left: 15px;
    margin-right: auto;
    margin-left: auto;
}
.row {
    margin-right: -15px;
    margin-left: -15px;
}
.row::before, .row::after { display: table; content: " "; }
.row::after { clear: both; }
.no-gutters { padding: 0; }

.text-center { text-align: center; }
.d-flex { display: flex; }

/* Column classes */
.col-md-10, .col-md-12, .col-lg-10 { position: relative; min-height: 1px; padding-right: 15px; padding-left: 15px; }
@media (min-width: 992px) {
    .col-md-10 { width: 83.33333333%; float: left; }
    .col-md-12 { width: 100%; float: left; }
    .col-md-offset-1 { margin-left: 8.33333333%; }
}
@media (min-width: 1200px) {
    .col-lg-10 { width: 83.33333333%; float: left; }
    .col-lg-offset-1 { margin-left: 8.33333333%; }
}

/* ============================================
   Navbar (from production)
   ============================================ */
.navbar {
    position: relative;
    min-height: 50px;
    margin-bottom: 0;
    border: 1px solid transparent;
}
.navbar-fixed-top {
    position: fixed;
    right: 0;
    left: 0;
    top: 0;
    z-index: 1030;
    border-width: 0 0 1px;
    border-radius: 0;
}
.navbar-default {
    background-color: transparent !important;
    border-color: transparent !important;
    margin-bottom: 0;
}
.header-container {
    background-color: #fff !important;
    border-radius: 0 !important;
    margin-bottom: 0;
}
.navbar-header { float: left; }
.navbar-header::before, .navbar-header::after { display: table; content: " "; }
.navbar-header::after { clear: both; }
.navbar-brand {
    float: left;
    height: 50px;
    padding: 15px 15px;
    font-size: 18px;
    line-height: 20px;
    text-decoration: none;
}
.header-logo img {
    width: 200px;
    height: 33px;
    margin-top: -0.5em;
    opacity: 0;
    transition: opacity 0.15s ease;
}
.header-logo.logo-visible img {
    opacity: 1;
}
.navbar-toggle {
    position: relative;
    float: right;
    padding: 9px 10px;
    margin-top: 8px;
    margin-right: 15px;
    margin-bottom: 8px;
    background-color: transparent;
    background-image: none;
    border: 1px solid transparent;
    border-radius: 4px;
    display: none;
}
.navbar-toggle:focus { outline: 0; }
.navbar-toggle .icon-bar {
    display: block;
    width: 22px;
    height: 2px;
    border-radius: 1px;
    background-color: #888;
}
.navbar-toggle .icon-bar + .icon-bar { margin-top: 4px; }

.navbar-collapse {
    padding-right: 15px;
    padding-left: 15px;
    overflow-x: visible;
    border-top: 0;
    box-shadow: none;
}
.navbar-collapse::before, .navbar-collapse::after { display: table; content: " "; }
.navbar-collapse::after { clear: both; }

.navbar-nav { float: left; margin: 0; list-style: none; padding: 0; }
.navbar-nav > li { float: left; }
.navbar-nav > li > a {
    padding: 15px 15px;
    line-height: 20px;
    color: #353a49;
    text-decoration: none;
    display: block;
    font-family: 'RobotoRegular', sans-serif;
    font-size: 14px;
}
.navbar-nav > li > a:hover,
.navbar-nav > li > a:focus {
    color: #7fcbf1;
    background-color: transparent;
}
.navbar-right { float: right !important; margin-right: -15px; }
.login-link { color: #4580c2; }
.linkedin-btn { padding: 5px 5px !important; }
.linkedin-btn img { height: 40px; width: auto; }

.container-fluid > .navbar-collapse,
.container-fluid > .navbar-header {
    margin-right: -15px;
    margin-left: -15px;
}
@media (min-width: 768px) {
    .container-fluid > .navbar-collapse,
    .container-fluid > .navbar-header {
        margin-right: 0;
        margin-left: 0;
    }
}

/* Mobile nav */
@media (max-width: 767px) {
    .navbar-toggle { display: block; }
    .navbar-header { float: none; }
    .navbar-collapse {
        border-top: 1px solid #e7e7e7;
        box-shadow: inset 0 1px 0 rgba(255,255,255,.1);
        max-height: 340px;
        overflow-y: auto;
    }
    .navbar-collapse.collapse { display: none !important; }
    .navbar-collapse.collapse.in { display: block !important; }
    .navbar-nav { float: none; margin: 7.5px -15px; }
    .navbar-nav > li { float: none; }
    .navbar-nav > li > a {
        padding: 10px 15px;
        text-align: center;
        color: #353a49;
        background-color: #fff;
    }
    .navbar-right { float: none !important; margin-right: 0; }
}

/* ============================================
   Hero Banner
   ============================================ */
.banner-background {
    overflow: hidden;
    margin-top: -333px;
    height: 1505px !important;
    background-color: #fff;
    background-position: center;
    background-image: url('assets/img/home-banner-bg.png');
    background-repeat: no-repeat;
    background-size: auto;
}
.carousel-caption {
    position: absolute;
    right: 15%;
    top: 13%;
    left: 15%;
    z-index: 10;
    padding-top: 20px;
    padding-bottom: 20px;
    color: #fff;
    text-align: center;
    text-shadow: 0 1px 2px rgba(0,0,0,.3);
    max-width: 1125px;
    margin: 0 auto;
}
.logo-words {
    margin-top: -40px;
    margin-bottom: 35px;
    height: 95px;
    width: 610px;
}
#banner-text-1 {
    color: #353a49;
    font-family: 'RobotoBold', serif;
    margin-top: -15px;
    font-size: 5em;
}
#banner-text-2 {
    color: #353a49;
    margin-bottom: .4em;
    letter-spacing: 10px;
    font-family: 'RobotoLight', serif;
    font-size: 3em;
}
#banner-text-3 {
    color: #353a49;
    font-family: 'RobotoRegular', serif;
    font-size: 1.6em;
    margin-top: 20px;
}
#banner-brand {
    height: auto;
    max-width: 150px;
    width: 100%;
    margin-top: 5px;
}
#demo-video {
    height: 396px;
    width: 704px;
    max-width: 100%;
    border: none;
}
.ad-area {
    margin-top: 15px;
    color: #F48235;
    text-align: center;
    font-size: 1.5em;
    font-family: 'RobotoRegular', serif;
}
#banner-button {
    color: #fff;
    font-size: 14px;
    letter-spacing: 3px;
    background-color: #ef9700;
    font-family: 'RobotoRegular', serif;
    border: none;
    cursor: pointer;
    transition: background-color 0.3s ease;
}
#banner-button:hover {
    background-color: #d98800;
}
.ma-10 { margin: 10px; }
.rounded { border: none; border-top: 3px solid #F48235; width: 100px; margin: 0 auto 20px; }
.rounded-lg { width: 200px; height: 50px; border-radius: 25px; }
hr.rounded { border-color: #F48235; }

/* ============================================
   Intro / Description
   ============================================ */
.text-areas { margin: 0 auto; }
.home-description {
    padding: 10px;
    color: #0a477a;
    text-align: center;
    font-size: 3em;
    font-family: 'RobotoRegular', serif;
}

/* ============================================
   Security & Compliance Section
   ============================================ */
.section-title {
    clear: left;
    margin: 0.9em 0 0.2em 0;
    text-align: center;
    font-family: 'RobotoRegular', serif;
    color: #1C2F61;
    font-size: 3rem;
}
.security-title { }
.section-block {
    padding: 30px 0 10px;
    margin: 10px auto 70px;
}
#security-desc {
    justify-content: center;
    align-items: center;
}
#security-desc img {
    width: 6rem;
    height: 6rem;
}
.security-icon-large {
    width: 10rem !important;
    height: 10rem !important;
}
.trust-link {
    color: #F48235;
}
.trust-link:hover {
    color: #d96f2a;
}

/* ============================================
   Features Section
   ============================================ */
.flex-row { display: flex; }
.flex-col { flex-grow: 1; }
.n-card {
    height: auto;
    width: auto;
    margin: 1em;
    box-shadow: 0 1px 5px -2px black;
    border-radius: 10px;
    background-color: #fff;
}
.feature-card {
    min-height: 165px;
    width: 47%;
}
.card-icon-img {
    width: 5rem;
    height: 5rem;
    margin-top: 5px;
    margin-bottom: 5px;
}
.card-icon {
    color: #65B752;
    margin-left: .7em;
    margin-right: .7em;
    font-size: 1.5em;
}
hr.card-separator {
    margin-top: 0;
    border-width: 1px;
    border-color: #e7e7e7;
}
.features-lists-h {
    display: flex;
    flex-wrap: nowrap;
    padding-top: 15px;
    font-size: 1.5em;
    font-weight: bold;
    margin-bottom: .5em;
    color: rgba(0,0,0,0.7);
    font-family: 'RobotoRegular', serif;
}
.features-lists-b {
    padding: 10px 15px;
    color: rgba(0,0,0,0.5);
    font-family: 'RobotoRegular', serif;
}

/* ============================================
   Testimonials Carousel
   ============================================ */
.slideshow {
    clear: both;
    margin: 0 auto !important;
}
.slideshow p {
    color: rgba(0,0,0,.7);
    text-align: center;
    text-shadow: none;
}
.carousel { position: relative; }
.carousel-inner {
    position: relative;
    width: 100%;
    overflow: hidden;
}
.carousel-inner > .item {
    position: relative;
    display: none;
    transition: .6s ease-in-out left;
    min-height: 35em;
}
.carousel-inner > .active {
    display: block;
    left: 0;
}
.carousel-inner > .next,
.carousel-inner > .prev {
    display: block;
    position: absolute;
    top: 0;
    width: 100%;
}
.carousel-inner > .next { left: 100%; }
.carousel-inner > .prev { left: -100%; }
.carousel-inner > .next.left,
.carousel-inner > .prev.right {
    left: 0;
}
.carousel-inner > .active.left { left: -100%; }
.carousel-inner > .active.right { left: 100%; }

.slide-a {
    background-image: url('assets/img/Happy_Clients.png');
    background-repeat: no-repeat;
    background-position: center center;
    background-size: cover;
}
.slide-b {
    background-image: url('assets/img/Happy_Clients2.png');
    background-repeat: no-repeat;
    background-position: center center;
    background-size: cover;
}
.slide-c {
    background-image: url('assets/img/Happy_Clients3.png');
    background-repeat: no-repeat;
    background-position: center center;
    background-size: cover;
}
.max-h-25 { max-height: 40em; min-height: 35em; }
.layer {
    background-color: rgba(255, 255, 255, .9);
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}
.carousel-caption-2 {
    top: 0;
    color: rgba(0,0,0,.7);
    width: 100%;
    z-index: 10;
    margin-top: -.5em;
    position: absolute;
    padding-top: 20px;
    padding-bottom: 46px;
    background-size: cover;
    text-align: center;
    text-shadow: none;
}
.testimony-title {
    padding: 0 3em .5em;
    margin-top: 1.7em;
    margin-bottom: 1em;
    font-size: 2.5em;
    font-family: 'RobotoLight', serif;
    display: inline-block;
    border-bottom: thin solid #fdb515;
    color: rgba(0,0,0,.7);
}
.client-message {
    width: 80%;
    margin: .7em auto;
    font-size: 2em;
    font-family: 'RobotoRegular', serif;
    text-align: center !important;
    color: rgba(0,0,0,.7);
}
.client-name {
    font-size: 1.3em;
    font-weight: bold;
    font-family: 'RobotoBold', serif;
    color: rgba(0,0,0,.7);
}
.company {
    margin-bottom: 2em;
    font-size: 1.3em;
    font-family: 'RobotoLight', serif;
    color: rgba(0,0,0,.5);
}

/* Carousel controls */
.carousel-control {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    width: 15%;
    font-size: 20px;
    color: rgba(0,0,0,.7);
    text-align: center;
    opacity: .5;
    background: none !important;
    border: none;
    text-decoration: none;
}
.carousel-control:hover,
.carousel-control:focus {
    color: rgba(0,0,0,.9);
    text-decoration: none;
    opacity: .9;
}
.carousel-control.left { background-image: none !important; }
.carousel-control.right { right: 0; left: auto; background-image: none !important; }
.carousel-arrow { margin-top: 15em; }

.carousel-indicators {
    position: absolute;
    bottom: 10px;
    left: 45%;
    z-index: 15;
    padding-left: 0;
    list-style: none;
    text-align: center;
}
.carousel-indicators li {
    display: inline-block;
    width: 10px;
    height: 10px;
    margin: 1px;
    text-indent: -999px;
    cursor: pointer;
    background-color: #fdb515;
    border: 1px solid #fdb515;
    border-radius: 10px;
}
.carousel-indicators .active {
    width: 12px;
    height: 12px;
    margin: 0;
    background-color: #fff;
}

/* ============================================
   Footer
   ============================================ */
.footer-container {
    padding: 1em;
    clear: both;
    color: rgba(0,0,0,.7);
    background-color: #fff;
}
.footer-bs {
    padding: 10px;
    color: rgba(255,255,255);
    margin-bottom: 5px;
    background-color: #fff;
}
.footer-brand {
    width: 270px;
    height: 42px;
    margin-bottom: 20px;
    margin-left: -16px;
}
.footer-brand-text { color: rgba(0,0,0,.7); }
.footer-links { color: #65B752; }
.footer-links:hover { color: #4a9a3a; }

/* ============================================
   Font Awesome Minimal (chevrons only)
   ============================================ */
.fa { display: inline-block; font: normal normal normal 14px/1 FontAwesome; font-size: inherit; text-rendering: auto; -webkit-font-smoothing: antialiased; }
.fa-fw { width: 1.28571429em; text-align: center; }
.fa-chevron-left::before { content: "\2039"; font-family: serif; font-size: 30px; }
.fa-chevron-right::before { content: "\203A"; font-family: serif; font-size: 30px; }

/* ============================================
   Responsive
   ============================================ */
@media only screen and (max-width: 1125px) {
    #banner-text-2 { font-size: 3em; white-space: normal; }
    #demo-video { height: 282px; width: 501px; }
    .banner-background {
        overflow: hidden;
        margin-top: -375px;
        height: 1605px !important;
    }
}
@media only screen and (max-width: 750px) {
    #banner-text-1 { margin-top: -25px; font-size: 2em; }
    #banner-text-2 { font-size: 1.5em; white-space: normal; }
    #banner-text-3 { font-size: 0.8em; margin-top: 10px; }
    #banner-brand { max-width: 150px; }
    #demo-video { height: 236px; width: 420px; }
    .banner-background {
        overflow: hidden;
        margin-top: -65px;
        height: 970px !important;
    }
    .logo-words { height: 50px; width: 316px; }
    .client-message { font-size: 1em; }
    .home-description { font-size: 1.8em; }
    .flex-row { flex-direction: column; }
    .feature-card { width: 100%; }
    .n-card { margin: 0.5em 5px; }
}

/* ============================================
   Elementor Overrides
   ============================================ */
/* Feature card separator line between title and description */
.elementor-widget-image-box .elementor-image-box-title {
    padding-bottom: 10px;
    border-bottom: 1px solid #e7e7e7;
    margin-bottom: 10px !important;
}

/* Ensure Elementor sections use the theme Roboto fonts */
.elementor h1, .elementor h2, .elementor h3, .elementor h4, .elementor p {
    font-family: 'RobotoRegular', 'Roboto', sans-serif;
}


/* Mobile: add side margins to Elementor feature cards */
@media (max-width: 767px) {
    .elementor-column {
        margin-left: 5px !important;
        margin-right: 5px !important;
    }
}

/* Fix for hero background to match production (white with centered auto-size pattern) */
.elementor-section[data-settings*="home-banner-bg"] {
    background-color: #fff !important;
}

/* ============================================
   Elementor Page Support
   ============================================ */
.elementor-page .site-content {
    padding: 0;
}
.site-content {
    min-height: 50vh;
}
/* Hide the SO homepage header/footer on Elementor pages so Elementor controls everything */
.page-template-page-elementor .so-homepage-header,
.page-template-page-elementor .so-homepage-footer {
    /* Keep them visible - Elementor pages still get the SO nav */
}
