/* ============================================
   Double Bogey Woodworks - Consolidated Stylesheet
   Merged from style.css (Namari template) and custom.css
   ============================================ */

/* ============================================
   1. CSS VARIABLES & RESET
   ============================================ */

:root {
    --primary-color: #d2b356;
    --text-dark: #111;
    --text-gray: #333;
    --text-light: #9c9c9c;
}

*, *:before, *:after {
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}

body, div, dl, dt, dd, ul, ol, li, h1, h2, h3, h4, h5, h6, pre, form, blockquote, th, td {
    margin: 0;
    padding: 0;
    direction: ltr;
}

body {
    margin: 0;
    padding: 0;
    padding-top: 71px; /* Account for fixed header */
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
    background: #000000;
    font-family: 'Open Sans', sans-serif, Arial, Helvetica;
    font-size: 15px;
    font-weight: normal;
    color: var(--text-dark);
}

html {
    scroll-behavior: smooth;
}

p {
    line-height: 25px;
}

.row img {
    height: auto;
    max-width: 100%;
}

a {
    text-decoration: none;
    line-height: inherit;
    color: var(--primary-color);
    -webkit-transition: opacity 0.3s ease-out;
    -moz-transition: opacity 0.3s ease-out;
    -o-transition: opacity 0.3s ease-out;
    transition: opacity 0.3s ease-out;
}

a:hover {
    color: var(--primary-color);
}

iframe {
    border: 0 !important;
}

figure {
    margin: 0;
}

*:focus {
    outline: none;
}

/* ============================================
   2. TYPOGRAPHY
   ============================================ */

h1 {
    padding: 20px 0;
    font-family: 'Open Sans', sans-serif, Arial, Helvetica;
    font-size: 40px;
    font-weight: 300;
    color: var(--text-dark);
}

h2 {
    padding: 14px 0;
    font-family: 'Open Sans', sans-serif, Arial, Helvetica;
    font-size: 34px;
    font-weight: 300;
    color: var(--text-dark);
}

h3 {
    padding: 10px 0;
    font-family: 'Open Sans', sans-serif, Arial, Helvetica;
    font-size: 30px;
    font-weight: 700;
    color: var(--text-dark);
}

h4 {
    padding: 7px 0;
    font-family: 'Open Sans', sans-serif, Arial, Helvetica;
    font-size: 18px;
    font-weight: 400;
    color: var(--text-dark);
}

h5 {
    padding: 7px 0;
    font-family: 'Open Sans', sans-serif, Arial, Helvetica;
    font-size: 16px;
    font-weight: 400;
    color: var(--text-dark);
}

h6 {
    padding: 7px 0;
    font-family: 'Open Sans', sans-serif, Arial, Helvetica;
    font-size: 14px;
    font-weight: 400;
    color: var(--text-dark);
}

/* Text Alignment */
.text-left { text-align: left; }
.text-center { text-align: center; }
.text-right { text-align: right; }

/* Section Headings */
.section-heading {
    padding: 0 0 15px 0;
}

.section-subtitle {
    font-size: 18px;
    padding-top: 0;
    font-family: 'Open Sans', sans-serif, Arial, Helvetica;
    font-weight: 300;
    color: var(--text-light);
}

.section-heading h3 {
    font-size: 14px;
    font-weight: bold;
    color: #ccc;
    letter-spacing: 2px;
    padding-bottom: 0;
}

.section-heading h2:after {
    background: var(--primary-color);
    content: "";
    display: block;
    width: 30px;
    height: 5px;
    margin-top: 30px;
}

.text-center .section-heading h2:after {
    margin: 30px auto 25px auto;
}

.section-title {
    font-family: 'Open Sans', sans-serif, Arial, Helvetica;
    font-size: 34px;
    font-weight: 700;
    color: var(--text-dark);
}

/* ============================================
   3. LAYOUT & GRID
   ============================================ */

section {
    clear: both;
    overflow: hidden;
}

.row {
    max-width: 1245px;
    margin: 0 auto;
    padding: 50px 0;
    position: relative;
}

.no-padding-bottom .row, .no-padding-bottom div, .no-padding-bottom.row {
    padding-bottom: 0;
}

.no-padding-top.row, .no-padding-top div {
    padding-top: 0;
}

.big-padding-top {
    padding-top: 75px !important;
}

.big-padding-bottom {
    padding-bottom: 85px !important;
}

/* Column System */
[class*='col-'] {
    float: left;
    padding: 20px;
}

.col-1 { width: 100%; }
.col-2 { width: 50%; }
.col-3 { width: 33.33%; }
.col-4 { width: 25%; }
.col-5 { width: 20%; }
.col-6 { width: 16.6666666667%; }
.col-7 { width: 14.2857142857%; }
.col-8 { width: 12.5%; }
.col-9 { width: 11.1111111111%; }
.col-10 { width: 10%; }
.col-11 { width: 9.09090909091%; }
.col-12 { width: 8.33%; }
.col-2-3 { width: 66.66%; }
.col-3-4 { width: 75%; }
.col-9-10 { width: 90%; }
.col-61 { width: 61.8%; }
.col-38 { width: 38.2%; }

/* Clearfix */
.clearfix:after {
    content: "";
    display: table;
    clear: both;
}

#clients .col-2-3 [class*='col-'] {
    padding: 0;
}

/* ============================================
   4. HEADER & NAVIGATION
   ============================================ */

#header {
    position: fixed;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    z-index: 9999;
    width: 100%;
    height: 100px;
    overflow: visible;
    background: #fff;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    font-size: 16px;
    /* Smooth transitions for all property changes */
    transition: width 0.3s ease,
                max-width 0.3s ease,
                border-radius 0.3s ease,
                box-shadow 0.3s ease,
                background 0.3s ease;
}

#header .row {
    max-width: 1245px;
    margin: 0 auto;
    padding: 0 20px;
}

#header .col-1 {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0;
    height: 100px;
}

#header ul {
    text-align: center;
}

#header li {
    display: inline-block;
    list-style: none;
    margin: 0;
}

/* Logo */
#logo {
    float: none;
    display: inline-flex;
    align-items: center;
    height: 100px;
    line-height: 100px;
    margin-right: 15px;
    flex: 0 0 auto;
}

#logo h1, #logo h2 {
    display: inline-block;
}

#banner #logo h1 {
    font-size: 28px;
    margin-right: 10px;
    font-weight: 900;
    padding: 0;
}

#logo h2 {
    font-size: 18px;
    padding: 0;
}

#logo img {
    max-height: 90px;
    vertical-align: middle;
    margin-right: 15px;
}

/* Always show navigation logo */
#navigation-logo {
    display: inline-block;
}

/* Main Navigation */
#nav-main {
    float: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 1 1 auto;
}

#nav-main ul {
    margin: 0;
    padding: 0;
    display: flex;
    white-space: nowrap;
    text-transform: uppercase;
}

#header nav a {
    height: 71px;
    line-height: 71px;
    display: block;
    padding: 0 10px;
    color: var(--text-dark);
}

#header nav a:hover {
    opacity: 0.6;
}

#header i {
    color: var(--text-dark);
}

/* Social icons in header */
#header aside {
    float: none;
    display: inline-flex;
    align-items: center;
    justify-content: flex-end;
    margin: 0;
    flex: 0 0 auto;
    text-align: right;
}

#header .col-4 {
    text-align: right;
}

#header .social-icons {
    margin-top: 0;
}

/* Navigation Solid State (after scroll) */
#header.nav-solid {
    background: #fff;
    box-shadow: 2px 0px 3px rgba(0, 0, 0, 0.2);
}

#header.nav-solid [class*='col-'] {
    padding: 0 20px;
}

#header.nav-solid, #header.nav-solid a, #header.nav-solid i, #nav-mobile ul li a {
    color: var(--text-gray);
}

#header.nav-solid nav a {
    border-bottom: 3px solid;
    border-color: #fff;
    -webkit-transition: all 0.3s ease-out;
    -moz-transition: all 0.3s ease-out;
    -o-transition: all 0.3s ease-out;
    transition: all 0.3s ease-out;
}

#header.nav-solid nav a:hover {
    opacity: 1;
    color: var(--primary-color);
}

#header.nav-solid .active {
    color: var(--primary-color);
    border-color: var(--primary-color);
}

#header.nav-solid .social-icons a {
    -webkit-transition: all 0.3s ease-out;
    -moz-transition: all 0.3s ease-out;
    -o-transition: all 0.3s ease-out;
    transition: all 0.3s ease-out;
    opacity: 0.5;
}

#header.nav-solid .social-icons a:hover {
    opacity: 1;
    color: #e4473c;
}

/* Responsive Nav Trigger */
#nav-trigger {
    display: none;
    text-align: right;
}

#nav-trigger span {
    display: inline-block;
    width: 38px;
    height: 71px;
    color: #111;
    cursor: pointer;
    text-transform: uppercase;
    font-size: 22px;
    text-align: center;
    border-top-right-radius: 5px;
    border-top-left-radius: 5px;
    -webkit-transition: all 0.3s ease-out;
    -moz-transition: all 0.3s ease-out;
    -o-transition: all 0.3s ease-out;
    transition: all 0.3s ease-out;
}

#nav-trigger span:after {
    font-family: "fontAwesome";
    display: inline-block;
    width: 38px;
    height: 71px;
    line-height: 75px;
    text-align: center;
    content: "\f0c9";
    border-top-right-radius: 5px;
    border-top-left-radius: 5px;
}

#nav-trigger span.open:after {
    content: "\f00d";
}

#nav-trigger span:hover, .nav-solid #nav-trigger span.open:hover, .nav-solid #nav-trigger span:hover {
    opacity: 0.6;
}

#nav-trigger span.open, #nav-trigger span.open:hover {
    color: #111;
}

.nav-solid #nav-trigger span.open:hover {
    color: #999;
}

.nav-solid #nav-trigger span {
    color: #999;
    opacity: 1;
}

/* Mobile Navigation */
nav#nav-mobile {
    position: relative;
    display: none;
}

nav#nav-mobile ul {
    display: none;
    list-style-type: none;
    position: absolute;
    left: 0;
    right: 0;
    margin-left: -20px;
    margin-right: -20px;
    padding-top: 10px;
    padding-bottom: 10px;
    text-align: center;
    background-color: #fff;
    box-shadow: 0 5px 3px rgba(0, 0, 0, 0.2);
}

nav#nav-mobile ul:after {
    display: none;
}

nav#nav-mobile li {
    margin: 0 20px;
    float: none;
    text-align: left;
    border-bottom: 1px solid #e1e1e1;
}

nav#nav-mobile li:last-child {
    border-bottom: none;
}

.nav-solid nav#nav-mobile li {
    border-top: 1px solid #e1e1e1;
    border-bottom: none;
}

nav#nav-mobile a {
    display: block;
    padding: 12px 0;
    color: #333;
    width: 100%;
    height: auto;
    line-height: normal;
    border-bottom: none !important;
    -webkit-transition: all 0.3s ease-out;
    -moz-transition: all 0.3s ease-out;
    -o-transition: all 0.3s ease-out;
    transition: all 0.3s ease-out;
}

nav#nav-mobile a:hover {
    background: #fafafa;
    opacity: 1;
}

/* Portfolio Dropdown Menu */
header#header nav#nav-main > ul,
nav#nav-main > ul,
#nav-main ul {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: flex-start;
    list-style: none;
    margin: 0;
    padding: 0;
    flex-wrap: nowrap;
}

header#header nav#nav-main > ul > li:not(#admin-nav-link),
nav#nav-main > ul > li:not(#admin-nav-link) {
    display: inline-block;
    float: none;
    margin-left: 60px;
    margin-bottom: 0;
    margin-top: 0;
    position: relative;
    flex: 0 0 auto;
}

#admin-nav-link {
    float: none;
    margin-left: 60px;
    margin-bottom: 0;
    margin-top: 0;
    position: relative;
    flex: 0 0 auto;
}

header#header nav#nav-main > ul > li:first-child,
nav#nav-main > ul > li:first-child,
#nav-main ul li:first-child {
    margin-left: 0;
}

/* Submenu */
nav#nav-main .has-submenu,
#nav-main .has-submenu {
    position: relative;
}

nav#nav-main ul.submenu,
nav#nav-main .submenu,
#nav-main .submenu {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    background: #fff;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    border-radius: 8px;
    min-width: 200px;
    padding: 3px 0;
    margin-top: 0;
    z-index: 1000;
    list-style: none;
}

nav#nav-main .submenu li,
#nav-main .submenu li {
    display: block;
    float: none;
    margin: 0;
    margin-left: 0;
    padding: 0;
    text-align: left;
}

#nav-main .submenu li a {
    display: block;
    width: 100%;
    padding: 0px 20px;
    color: #333;
    text-decoration: none;
    text-align: left;
    transition: all 0.3s;
    box-sizing: border-box;
}

#nav-main .submenu li a:hover {
    background: #f5f5f5;
    padding-left: 25px;
    padding-right: 15px;
}

#nav-main .has-submenu:hover .submenu {
    display: block;
}

#nav-main .has-submenu > a::after {
    content: ' \25BC';
    font-size: 10px;
    margin-left: 5px;
    opacity: 0.6;
}

/* ============================================
   5. BANNER & HERO
   ============================================ */

#banner {
    background: #f5f5f5;
    background-size: cover;
    padding: 10px 20px 20px 20px;
    text-align: center;
    border-radius: 30px;
    margin: 30px auto 0;
    max-width: 90%;
}

#banner-content {
    max-width: 900px;
    margin: 0 auto;
    padding-top: 0;
}

#banner-content.row {
    padding-top: 170px;
    padding-bottom: 100px;
}

#banner .section-heading {
    margin: 0;
    padding: 0;
}

#banner .section-heading h1 {
    font-family: 'Open Sans', sans-serif, Arial, Helvetica;
    font-size: 48px;
    line-height: 1.2;
    font-weight: 800;
    color: var(--text-dark);
    margin-top: -60px;
    margin-bottom: 10px;
    padding-top: 5%;
}

#banner .section-heading h2 {
    font-family: 'Open Sans', sans-serif, Arial, Helvetica;
    font-size: 18px;
    font-weight: 300;
    color: var(--text-dark);
    margin-bottom: 5px;
    line-height: 1.2;
}

#banner .section-heading h2:after {
    display: none;
}

#banner .section-heading:before {
    content: "";
    display: block;
    width: 30px;
    height: 5px;
    margin-top: 30px;
}

#banner .button {
    margin-top: 30px;
    padding: 15px 40px;
    font-family: 'Open Sans', sans-serif, Arial, Helvetica;
    font-size: 16px;
    font-weight: 600;
    color: var(--text-dark);
    border: 2px solid var(--text-dark);
    text-decoration: none;
    display: inline-block;
    transition: all 0.3s ease;
}

#banner .button:hover {
    color: var(--primary-color);
    border-color: var(--primary-color);
}

/* Parallax Elements */
.parallax-window {
    min-height: 400px;
    background: transparent;
}

.banner-parallax-1, .banner-parallax-2, .banner-parallax-3 {
    min-height: 350px;
}

/* ============================================
   6. SECTIONS & CONTENT
   ============================================ */

/* Icons */
.icon i {
    color: var(--primary-color);
}

.fa-1x {
    font-size: 15px !important;
}

.icon-block {
    position: relative;
}

.icon-block h4 {
    font-weight: bold;
    padding-top: 0;
}

.icon-block .icon {
    position: absolute;
}

.icon-block p {
    margin-top: 0;
}

.icon-left .icon { left: 15; }
.icon-left .icon-block-description { padding-left: 53px; }
.icon-right .icon { right: 15; }
.icon-right .icon-block-description { padding-right: 53px; }
.icon-top { display: block; }
.icon-top .icon { position: relative; display: block; }
.icon-top .icon-block-description { padding-top: 25px; }

/* Primary and Secondary Colors */
.primary-color, .featured .pricing {
    background-color: var(--primary-color);
    color: #fff;
}

.primary-color .section-title,
.primary-color .section-subtitle,
.featured .pricing,
.featured .pricing p {
    color: #fff;
}

.primary-color .icon i,
.primary-color i {
    color: #fff;
}

.secondary-color {
    background-color: #f5f5f5;
}

/* Divider */
.divider {
    position: relative;
    width: 40%;
    height: 20px;
    line-height: 20px;
    margin: 10px auto 5px auto;
    clear: both;
    text-align: center;
}

.divider-inner {
    position: absolute;
    height: 1px;
    width: 100%;
    top: 50%;
    margin-top: -1px;
    border-top: 1px solid;
    border-color: #e1e1e1;
}

.divider i {
    background: #fff;
    position: relative;
    top: -11px;
    padding: 0 5px 0 5px;
    color: #e1e1e1;
}

/* Introduction */
.introduction img.featured {
    padding: 55px 0 0 0;
}

/* Features */
.features.row {
    padding-left: 5%;
    padding-right: 5%;
}

.features div:nth-child(4) {
    clear: both;
}

/* Testimonials */
.testimonial {
    padding: 15px;
}

blockquote {
    position: relative;
}

.testimonial img {
    max-height: 120px;
    border-radius: 250em;
}

.testimonial footer {
    padding-top: 12px;
}

.testimonial.classic img {
    display: inline-block;
    margin-bottom: 25px;
}

.testimonial.classic q {
    display: block;
}

.testimonial.classic footer:before {
    display: block;
    content: "";
    width: 30px;
    height: 4px;
    margin: 10px auto 15px auto;
    background: var(--primary-color);
}

.testimonial q {
    font-family: 'Open Sans', sans-serif, Arial, Helvetica;
    font-size: 17px;
    font-weight: 300;
}

.testimonial.classic q,
.testimonial.classic footer {
    color: var(--text-dark);
}

.testimonial.bigtest {
    padding-top: 0;
}

.testimonial.bigtest q {
    font-size: 22px;
}

/* Gallery Sections */
.gallery-section,
#contact {   
    max-width: 90%;
    border-radius: 30px;
    padding: 60px 20px;
    margin-bottom: 0;
    margin-top: 30px;
    background-color: #FFF;
}

main#content {
    background: #000000;
}

/* ============================================
   7. GALLERY
   ============================================ */

#gallery img {
    max-height: 300px;
}

#gallery [class*='col-'] {
    padding: 0;
}

#gallery a {
    display: inline-block;
    position: relative;
    overflow: hidden;
}

#gallery a:hover img {
    opacity: 0.15;
    -moz-backface-visibility: hidden;
}

#gallery a:before {
    font-size: 2.2em;
    font-style: normal;
    font-weight: normal;
    text-align: center;
    content: "+";
    width: 70px;
    height: 70px;
    border-radius: 100em;
    display: block;
    position: absolute;
    top: 55%;
    left: 50%;
    line-height: 72px;
    margin: -35px 0 0 -35px;
    opacity: 0;
    -webkit-transition: all .2s linear;
    -moz-transition: all .2s linear;
    transition: all .2s linear;
    vertical-align: middle;
}

#gallery a:hover:before {
    opacity: 1;
    top: 50%;
    left: 50%;
}

/* Featherlight Lightbox */
@media all {
    .featherlight {
        display: none;
        position: fixed;
        top: 0;
        right: 0;
        bottom: 0;
        left: 0;
        z-index: 2147483647;
        text-align: center;
        white-space: nowrap;
        cursor: pointer;
        background: #333;
        background: rgba(0, 0, 0, 0);
    }

    .featherlight:last-of-type {
        background: rgba(0, 0, 0, 0.8);
    }

    .featherlight:before {
        content: '';
        display: inline-block;
        height: 100%;
        vertical-align: middle;
        margin-right: -0.25em;
    }

    .featherlight .featherlight-content {
        text-align: left;
        vertical-align: middle;
        display: inline-block;
        overflow: auto;
        padding: 25px 0;
        border-bottom: 25px solid transparent;
        min-width: 30%;
        margin-left: 5%;
        margin-right: 5%;
        max-height: 95%;
        cursor: auto;
        white-space: normal;
    }

    .featherlight .featherlight-inner {
        display: block;
    }

    .featherlight .featherlight-close-icon {
        position: absolute;
        z-index: 9999;
        top: 25px;
        right: 25px;
        line-height: 25px;
        width: 25px;
        cursor: pointer;
        text-align: center;
        color: #fff;
        font-family: "fontawesome";
        font-size: 22px;
        opacity: 0.5;
        -webkit-transition: all 0.3s ease-out;
        -moz-transition: all 0.3s ease-out;
        -o-transition: all 0.3s ease-out;
        transition: all 0.3s ease-out;
    }

    .featherlight .featherlight-close-icon:hover {
        opacity: 1;
    }

    .featherlight .featherlight-image {
        max-height: 100%;
        max-width: 100%;
    }

    .featherlight-iframe .featherlight-content {
        border-bottom: 0;
        padding: 0;
    }

    .featherlight iframe {
        border: none;
    }

    .featherlight .caption {
        font-size: larger;
        color: white;
    }
}

@media screen and (min-width: 768px) {
    .featherlight .featherlight-image {
        height: 80vh !important;
        width: auto !important;
    }
}

/* Featherlight Navigation */
@media all {
    .featherlight-next,
    .featherlight-previous {
        font-family: "fontawesome";
        font-size: 22px;
        display: block;
        position: absolute;
        top: 25px;
        right: 0;
        bottom: 0;
        left: 80%;
        cursor: pointer;
        -webkit-touch-callout: none;
        -webkit-user-select: none;
        -khtml-user-select: none;
        -moz-user-select: none;
        -ms-user-select: none;
        user-select: none;
        background: rgba(0, 0, 0, 0);
        -webkit-transition: all 0.3s ease-out;
        -moz-transition: all 0.3s ease-out;
        -o-transition: all 0.3s ease-out;
        transition: all 0.3s ease-out;
    }

    .featherlight-previous {
        left: 0;
        right: 80%;
    }

    .featherlight-next span,
    .featherlight-previous span {
        display: inline-block;
        opacity: 0.3;
        position: absolute;
        top: 50%;
        width: 100%;
        font-size: 80px;
        line-height: 80px;
        margin-top: -40px;
        color: #fff;
        font-style: normal;
        font-weight: normal;
        -webkit-transition: all 0.3s ease-out;
        -moz-transition: all 0.3s ease-out;
        -o-transition: all 0.3s ease-out;
        transition: all 0.3s ease-out;
    }

    .featherlight-next span {
        text-align: right;
        left: auto;
        right: 7%;
    }

    .featherlight-previous span {
        text-align: left;
        left: 7%;
    }

    .featherlight-next:hover span,
    .featherlight-previous:hover span {
        display: inline-block;
        opacity: 1;
    }

    .featherlight-loading .featherlight-previous, .featherlight-loading .featherlight-next {
        display: none;
    }
}

/* ============================================
   8. FORMS & CONTACT
   ============================================ */

input, textarea {
    border: 1px solid #e1e1e1;
    padding: 10px;
    -webkit-transition: all .3s linear;
    -moz-transition: all .3s linear;
    transition: all .3s linear;
    border-radius: 3px;
}

input {
    height: 40px;
    margin: 3px 0;
    outline: none;
    line-height: normal;
    font-size: 14px;
}

input[type="submit"] {
    cursor: pointer;
    border-style: solid;
    border-width: 2px;
    padding-top: 0;
    padding-bottom: 0;
    font-family: 'Open Sans', sans-serif, Arial, Helvetica;
    font-size: 14px;
    font-weight: bold;
    color: var(--text-dark);
    border-color: var(--text-dark);
    background-color: #04AA6D;
    color: white;
    padding: 12px 20px;
    border: none;
    border-radius: 4px;
}

input[type="submit"]:hover {
    background-color: #45a049;
    border-color: var(--primary-color);
    color: var(--primary-color);
}

select {
    border: 1px solid #e1e1e1;
    height: 40px;
    padding: 5px;
}

input:focus, textarea:focus {
    box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.1);
}

input[type=text],
select,
textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #ccc;
    border-radius: 4px;
    box-sizing: border-box;
    margin-top: 6px;
    margin-bottom: 16px;
    resize: vertical;
}

.container {
    border-radius: 5px;
    background-color: #f2f2f2;
    padding: 20px;
}

/* Form Control (Bootstrap-like) */
.form-control {
    display: block;
    width: 100%;
    height: calc(1.5em + 1.56rem + 2px);
    padding: 0.78rem 1rem;
    font-size: 1.0625rem;
    font-weight: 400;
    line-height: 1.5;
    color: #495057;
    background-color: #fff;
    background-clip: padding-box;
    border: 1px solid #ced4da;
    border-radius: 0.25rem;
    transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
}

.form-control:focus {
    color: #495057;
    background-color: #fff;
    border-color: rgba(55, 125, 255, 0.5);
    outline: 0;
    box-shadow: 0 0 25px rgba(55, 125, 255, 0.1);
}

.form-control::placeholder {
    color: #6c757d;
    opacity: 1;
}

.form-control:disabled, .form-control[readonly] {
    background-color: #e9ecef;
    opacity: 1;
}

textarea.form-control {
    height: auto;
}

.form-group {
    margin-bottom: 1rem;
}

/* ============================================
   9. FOOTER
   ============================================ */

#landing-footer {
    clear: both;
}

#landing-footer .row {
    padding: 0;
}

#landing-footer p {
    margin: 0;
}

#landing-footer ul {
    list-style: none;
    text-align: right;
}

#landing-footer li {
    display: inline-block;
}

#landing-footer,
#landing-footer p,
#landing-footer a {
    font-family: 'Open Sans', sans-serif, Arial, Helvetica;
    font-size: 12px;
    font-weight: normal;
    color: #999;
}

#landing-footer i {
    color: #999;
}

/* Scroll Up Button */
#scrollUp {
    bottom: 15px;
    right: 30px;
    width: 70px;
    height: 80px;
    margin-bottom: -10px;
    padding: 0 5px 20px 5px;
    text-align: center;
    text-decoration: none;
    color: #fff;
    -webkit-transition: margin-bottom 150ms linear;
    -moz-transition: margin-bottom 150ms linear;
    -o-transition: margin-bottom 150ms linear;
    transition: margin-bottom 150ms linear;
}

#scrollUp:hover {
    margin-bottom: 0;
}

#scrollUp:before {
    background: #ccc;
    font-family: "fontawesome";
    font-size: 2.4em;
    font-style: normal;
    font-weight: normal;
    text-align: center;
    color: #fff;
    width: 45px;
    height: 45px;
    display: inline-block;
    line-height: 45px;
    content: "\f106";
    opacity: 1;
}

/* Custom Scroll to Top */
.scroll-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background-color: #667eea;
    color: white;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 1000;
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.3);
    font-size: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.scroll-to-top:hover {
    background-color: #5568d3;
    transform: translateY(-3px);
    box-shadow: 0 6px 16px rgba(102, 126, 234, 0.4);
}

.scroll-to-top.visible {
    opacity: 1;
    visibility: visible;
}

/* ============================================
   10. PRELOADER
   ============================================ */

#preloader {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #fff;
    z-index: 99999;
    display: flex;
    justify-content: center;
    align-items: center;
}

#status {
    display: flex;
    justify-content: center;
    align-items: center;
}

.preloader-logo {
    max-width: 300px;
    height: auto;
    animation: fadeInOut 1.5s ease-in-out infinite;
}

@keyframes fadeInOut {
    0%, 100% { opacity: 0.3; }
    50% { opacity: 1; }
}

/* Ball Triangle Path Loader */
.la-ball-triangle-path,
.la-ball-triangle-path > div {
    position: relative;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}

.la-ball-triangle-path {
    display: block;
    font-size: 0;
    color: #fff;
}

.la-ball-triangle-path.la-dark {
    color: #333;
}

.la-ball-triangle-path > div {
    display: inline-block;
    float: none;
    background-color: currentColor;
    border: 0 solid currentColor;
}

.la-ball-triangle-path {
    width: 32px;
    height: 32px;
}

.la-ball-triangle-path > div {
    position: absolute;
    top: 0;
    left: 0;
    width: 10px;
    height: 10px;
    border-radius: 100%;
}

.la-ball-triangle-path > div:nth-child(1) {
    animation: ball-triangle-path-ball-one 2s 0s ease-in-out infinite;
}

.la-ball-triangle-path > div:nth-child(2) {
    animation: ball-triangle-path-ball-two 2s 0s ease-in-out infinite;
}

.la-ball-triangle-path > div:nth-child(3) {
    animation: ball-triangle-path-ball-tree 2s 0s ease-in-out infinite;
}

.la-ball-triangle-path.la-2x {
    width: 64px;
    height: 64px;
}

.la-ball-triangle-path.la-2x > div {
    width: 20px;
    height: 20px;
}

.la-ball-triangle-path.la-3x {
    width: 96px;
    height: 96px;
}

.la-ball-triangle-path.la-3x > div {
    width: 30px;
    height: 30px;
}

@keyframes ball-triangle-path-ball-one {
    0% { transform: translate(0, 220%); }
    17% { opacity: .25; }
    33% { opacity: 1; transform: translate(110%, 0); }
    50% { opacity: .25; }
    66% { opacity: 1; transform: translate(220%, 220%); }
    83% { opacity: .25; }
    100% { opacity: 1; transform: translate(0, 220%); }
}

@keyframes ball-triangle-path-ball-two {
    0% { transform: translate(110%, 0); }
    17% { opacity: .25; }
    33% { opacity: 1; transform: translate(220%, 220%); }
    50% { opacity: .25; }
    66% { opacity: 1; transform: translate(0, 220%); }
    83% { opacity: .25; }
    100% { opacity: 1; transform: translate(110%, 0); }
}

@keyframes ball-triangle-path-ball-tree {
    0% { transform: translate(220%, 220%); }
    17% { opacity: .25; }
    33% { opacity: 1; transform: translate(0, 220%); }
    50% { opacity: .25; }
    66% { opacity: 1; transform: translate(110%, 0); }
    83% { opacity: .25; }
    100% { opacity: 1; transform: translate(220%, 220%); }
}

/* ============================================
   11. BUTTONS
   ============================================ */

.call-to-action {
    padding: 35px 0 35px 0;
}

.button {
    font-size: 16px;
    margin: 35px 0;
    padding: 11px 16px;
    -webkit-transition: all .3s linear;
    -moz-transition: all .3s linear;
    transition: all .3s linear;
    display: inline-block;
    border-width: 3px;
    border-style: solid;
    font-family: 'Open Sans', sans-serif, Arial, Helvetica;
    font-weight: bold;
    color: var(--text-dark);
    border-color: var(--text-dark);
}

.button:hover {
    border-color: var(--primary-color);
    color: var(--primary-color);
}

/* Play Button */
#video-section {
    position: relative;
}

.play-video {
    height: 110px;
    position: absolute;
    top: 50%;
    margin-top: -110px;
    width: 100%;
}

.play-icon {
    display: inline-block;
    font-size: 0px;
    cursor: pointer;
    margin: 45px auto;
    width: 110px;
    height: 110px;
    border-radius: 50%;
    text-align: center;
    position: relative;
    z-index: 1;
}

.play-icon:after {
    pointer-events: none;
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    content: '';
    -webkit-box-sizing: content-box;
    -moz-box-sizing: content-box;
    box-sizing: content-box;
}

.play-icon:before {
    font-family: 'fontawesome';
    content: '\f144';
    speak: none;
    font-size: 74px;
    line-height: 110px;
    font-style: normal;
    font-weight: normal;
    font-variant: normal;
    text-transform: none;
    display: block;
    -webkit-font-smoothing: antialiased;
    color: #fff;
}

.play-video .play-icon {
    background: rgba(255, 255, 255, 0.5);
    -webkit-transition: -webkit-transform ease-out 0.3s, background 0.4s;
    -moz-transition: -moz-transform ease-out 0.3s, background 0.4s;
    transition: transform ease-out 0.3s, background 0.4s;
}

.play-video .play-icon:after {
    top: 0;
    left: 0;
    padding: 0;
    z-index: -1;
    box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.1);
    opacity: 0;
    -webkit-transform: scale(0.9);
    -moz-transform: scale(0.9);
    -ms-transform: scale(0.9);
    transform: scale(0.9);
}

.play-video .play-icon:hover {
    background: rgba(255, 255, 255, 0.05);
    -webkit-transform: scale(0.93);
    -moz-transform: scale(0.93);
    -ms-transform: scale(0.93);
    transform: scale(0.93);
    color: #fff;
}

/* ============================================
   12. SOCIAL ELEMENTS
   ============================================ */

.social-icons {
    display: inline-block;
    list-style: none;
}

.social-icons a {
    display: inline-block;
    width: 32px;
    text-align: center;
}

.social-icons a:hover {
    opacity: 0.7;
}

.social-icons span {
    display: none;
}

/* ============================================
   13. IMAGES
   ============================================ */

img {
    vertical-align: top;
}

.image-center {
    display: block;
    margin: 0 auto;
}

a img {
    border: none;
    -webkit-transition: all 0.3s ease-out;
    -moz-transition: all 0.3s ease-out;
    -o-transition: all 0.3s ease-out;
    transition: all 0.3s ease-out;
    -webkit-backface-visibility: hidden;
}

a img:hover {
    opacity: 0.7;
}

/* Font Awesome Icons */
.fa {
    display: inline-block;
    vertical-align: middle;
}

/* ============================================
   14. VIDEO
   ============================================ */

#video-box {
    color: #fff;
    position: relative;
    overflow: hidden;
    text-align: center;
}

.video_container, .easyContainer {
    position: relative;
    padding-bottom: 56.25%;
    margin: 0;
    padding-top: 0;
    height: 0;
    overflow: hidden;
}

.video_container iframe, .video_container object, .video_container embed {
    position: absolute;
    top: 0;
    left: 0;
    width: 100% !important;
    height: 100% !important;
}

.slvj-lightbox iframe, .slvj-lightbox object, .slvj-lightbox embed {
    width: 100% !important;
    height: 529px !important;
}

.videojs-background-wrap {
    overflow: hidden;
    position: absolute;
    height: 100%;
    width: 100%;
    top: 0;
    left: 0;
    z-index: -998;
}

#slvj-window {
    width: 100%;
    min-height: 100%;
    z-index: 9999999999;
    background: rgba(0, 0, 0, 0.8);
    position: fixed;
    top: 0;
    left: 0;
}

#slvj-window,
#slvj-window * {
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}

#slvj-background-close {
    width: 100%;
    min-height: 100%;
    z-index: 31;
    position: fixed;
    top: 0;
    left: 0;
}

#slvj-back-lightbox {
    max-width: 940px;
    max-height: 529px;
    z-index: 32;
    text-align: center;
    margin: 0 auto;
}

.slvj-lightbox {
    width: 100%;
    height: 100%;
    margin: 0;
    z-index: 53;
}

#slvj-close-icon:before {
    font-family: "fontawesome";
    color: #fff;
    content: '\f00d';
    font-size: 22px;
    opacity: 0.5;
    -webkit-transition: all 0.3s ease-out;
    -moz-transition: all 0.3s ease-out;
    -o-transition: all 0.3s ease-out;
    transition: all 0.3s ease-out;
    z-index: 99999;
    height: 22px;
    width: 22px;
    position: absolute;
    top: 15px;
    right: 15px;
    cursor: pointer;
}

/* ============================================
   15. CLIENTS
   ============================================ */

#clients a {
    display: block;
    text-align: center;
    position: relative;
    text-transform: uppercase;
    font-weight: bold;
    color: #fff;
}

#clients img {
    display: inline-block;
    padding: 15px 25px;
}

.client-overlay {
    background: rgba(0, 0, 0, 0.8);
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    -webkit-transition: all 0.3s ease-out;
    -moz-transition: all 0.3s ease-out;
    -o-transition: all 0.3s ease-out;
    transition: all 0.3s ease-out;
}

#clients a:hover .client-overlay {
    opacity: 1;
}

.client-overlay span {
    position: absolute;
    top: 48%;
    left: 0;
    width: 100%;
    text-align: center;
    display: inline-block;
}

/* ============================================
   16. PRICING TABLE
   ============================================ */

.pricing-block-content {
    background: #fff;
    padding: 25px 0 25px 0;
    box-shadow: 0px 1px 2px rgba(0, 0, 0, 0.07);
    transition: all 0.2s ease-in-out 0s;
    position: relative;
    border: 10px solid #fff;
}

.pricing-block-content:hover {
    border-color: var(--primary-color);
}

.pricing-block ul {
    list-style: none;
    margin: 25px 0 25px 0;
}

.pricing-block li {
    padding: 14px 0;
    border-bottom: 1px dotted #e1e1e1;
}

.pricing-block li:last-of-type {
    border: none;
}

.pricing-block h3 {
    font-size: 17px;
    text-transform: uppercase;
    padding-bottom: 0;
}

.pricing-sub {
    font-style: italic;
    color: #ccc;
    margin: 0 0 25px 0;
}

.pricing {
    background: #f5f5f5;
    padding: 25px;
    position: relative;
}

.price {
    display: inline-block;
    font-size: 62px;
    font-weight: 700;
    position: relative;
}

.price span {
    position: absolute;
    top: 0;
    left: -20px;
    font-size: 22px;
}

.pricing p {
    font-style: italic;
    color: #b4b4b4;
    line-height: auto;
    margin: 0;
}

/* ============================================
   17. HEADING TITLE (Dotted)
   ============================================ */

div.heading-title.heading-dotted {
    background: url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAoAAAAKAQMAAAC3/F3+AAAABlBMVEX///+QkJApn3LQAAAAAnRSTlMAgJsrThgAAAAOSURBVHheYwCCUAdcJAAnnALqo5TBzAAAAABJRU5ErkJggg==') repeat-x center;
}

div.heading-title h1,
div.heading-title h2,
div.heading-title h3,
div.heading-title h4,
div.heading-title h5,
div.heading-title h6 {
    margin: 0;
    padding: 0;
    position: relative;
    display: inline-block;
    padding-left: 0;
    padding-right: 15px;
    background-color: #fff;
    color: #2849c4;
    font-weight: bolder;
    padding-bottom: 15px;
}

div.heading-title.text-center h1,
div.heading-title.text-center h2,
div.heading-title.text-center h3,
div.heading-title.text-center h4,
div.heading-title.text-center h5,
div.heading-title.text-center h6 {
    padding-left: 15px;
    padding-right: 15px;
}

div.heading-title.text-right h1,
div.heading-title.text-right h2,
div.heading-title.text-right h3,
div.heading-title.text-right h4,
div.heading-title.text-right h5,
div.heading-title.text-right h6 {
    padding-left: 15px;
    padding-right: 0;
}

div.heading-title p {
    margin: 0;
    padding: 0;
    font-weight: 300;
}

/* ============================================
   18. RESPONSIVE - TABLET & MOBILE
   ============================================ */

/* Nav Media Query - max 1024px */
@media all and (max-width: 1024px) {
    #nav-trigger {
        display: block;
    }

    nav#nav-main {
        display: none;
    }

    nav#nav-mobile {
        display: block;
    }

    nav#nav-mobile li {
        display: block;
    }

    #header aside {
        display: none;
    }

    #header .col-1 {
        position: relative;
    }

    #nav-trigger {
        display: block;
        position: absolute;
        right: 20px;
        top: 50%;
        transform: translateY(-50%);
        z-index: 1001;
    }

    #nav-mobile {
        display: block;
        position: fixed;
        top: 71px;
        left: 0;
        right: 0;
        width: 100%;
        z-index: 999;
    }

    #nav-mobile ul {
        position: relative;
        margin-left: 0;
        margin-right: 0;
        left: auto;
        right: auto;
        width: 100%;
    }

    #logo {
        margin-left: 20px;
    }

    /* Mobile Navigation Dropdown */
    #nav-mobile .has-submenu .submenu {
        display: none;
        position: static;
        box-shadow: none;
        background: rgba(0, 0, 0, 0.05);
        margin: 5px 0;
        padding: 0;
    }

    #nav-mobile .has-submenu.open .submenu {
        display: block;
    }

    #nav-mobile .submenu li a {
        padding-left: 40px;
        font-size: 14px;
    }
}

/* Featherlight responsive */
@media only screen and (max-width: 1024px) {
    .featherlight .featherlight-content {
        margin-left: 10px;
        margin-right: 10px;
        max-height: 98%;
        padding: 10px 10px 0;
        border-bottom: 10px solid transparent;
    }

    .featherlight-next,
    .featherlight-previous {
        top: 10px;
        right: 10px;
        left: 85%;
    }

    .featherlight-previous {
        left: 10px;
        right: 85%;
    }

    .featherlight-next span,
    .featherlight-previous span {
        margin-top: -30px;
        font-size: 40px;
    }
}

/* Touch devices */
@media only screen and (max-device-width: 1024px) {
    .featherlight-next:hover,
    .featherlight-previous:hover {
        background: none;
    }

    .featherlight-next span,
    .featherlight-previous span {
        display: block;
    }
}

/* Landscape mobile & down - max 480px */
@media (max-width: 480px) {
    #wrapper {
        margin: 0;
        padding: 0;
    }

    .page-border, #scrollUp, #scrollUp:before {
        display: none;
    }

    .row {
        padding: 15px !important;
    }

    .col-1, .col-2, .col-3, .col-4, .col-5, .col-6, .col-7, .col-8, .col-9, .col-10, .col-11, .col-12, .col-2-3, .col-3-4, .col-9-10, .col-61, .col-38, .row {
        width: 100%;
    }

    .col-1, .col-2, .col-3, .col-4, .col-5, .col-6, .col-7, .col-8, .col-9, .col-10, .col-11, .col-12, .col-2-3, .col-3-4, .col-9-10, .col-61, .col-38 {
        padding-right: 0;
        padding-left: 0;
    }

    #header .row {
        padding: 0 15px !important;
    }

    #header.nav-solid [class*="col-"] {
        padding: 0;
    }

    #logo h2 {
        padding: 0;
    }

    #header aside {
        clear: both;
        padding: 0;
    }

    #header ul.social-icons {
        margin-top: 0;
    }

    #banner-content.row {
        padding-top: 85px !important;
    }

    .call-to-action {
        padding-bottom: 25px;
    }

    .slvj-lightbox iframe, .slvj-lightbox object, .slvj-lightbox embed {
        height: 270px !important;
    }

    #landing-footer #copyright {
        float: left;
        width: 50%;
    }

    #landing-footer .social-icons {
        float: right;
        width: 50%;
    }

    h1 {
        font-size: 38px;
    }

    #banner h1 {
        font-size: 48px;
    }

    a#scrollUp {
        display: none !important;
    }

    .scroll-to-top {
        bottom: 20px;
        right: 20px;
        width: 45px;
        height: 45px;
        font-size: 18px;
    }
}

/* Mobile to Tablet Portrait - 480px to 767px */
@media (min-width: 480px) and (max-width: 767px) {
    #wrapper {
        margin: 0;
        padding: 0;
    }

    .page-border, #scrollUp, #scrollUp:before {
        display: none;
    }

    .row {
        padding: 15px 0 !important;
    }

    .col-1, .col-2, .col-5, .col-7, .col-9, .col-11, .col-2-3, .col-3-4, .col-61, .col-38, .row {
        width: 100%;
    }

    .col-3, .col-4, .col-6, .col-8, .col-10, .col-12 {
        width: 50%;
    }

    #header .row {
        padding: 0 !important;
    }

    #header aside {
        display: inline-block;
        position: absolute;
        top: 40px;
        right: 60px;
        padding-top: 3px;
        padding-right: 5px;
    }

    #header.nav-solid aside {
        top: 20px;
    }

    #header aside ul {
        margin-top: 0 !important;
        padding-top: 6px;
    }

    #banner-content.row {
        padding-top: 85px !important;
    }

    nav#nav-mobile ul {
        margin-left: -40px;
        margin-right: -40px;
        padding-left: 20px;
        padding-right: 20px;
    }

    .slvj-lightbox iframe, .slvj-lightbox object, .slvj-lightbox embed {
        height: 370px !important;
    }

    #landing-footer #copyright {
        float: left;
        width: 50%;
    }

    #landing-footer .social-icons {
        float: right;
        width: 50%;
    }

    .scroll-to-top {
        bottom: 20px;
        right: 20px;
        width: 45px;
        height: 45px;
        font-size: 18px;
    }
}

/* Landscape Tablet to Desktop - 768px to 1024px */
@media (min-width: 768px) and (max-width: 1024px) {
    #wrapper {
        margin: 0;
        padding: 0;
    }

    .page-border {
        display: none;
    }

    .big-padding-top {
        padding-top: 45px !important;
    }

    #header aside {
        display: inline-block;
        position: absolute;
        top: 40px;
        right: 60px;
        padding-top: 3px;
        padding-right: 5px;
    }

    #header.nav-solid aside {
        top: 20px;
    }

    #header aside ul {
        margin-top: 0 !important;
        padding-top: 6px;
    }

    nav#nav-mobile ul {
        margin-left: -40px;
        margin-right: -40px;
        padding-left: 20px;
        padding-right: 20px;
    }

    .slvj-lightbox iframe, .slvj-lightbox object, .slvj-lightbox embed {
        height: 432px !important;
    }
}

/* ============================================
   19. RESPONSIVE - LARGE SCREEN HEADER (min-width: 1025px)
   Floating card style after scroll
   ============================================ */

@media only screen and (min-width: 1025px) {
    /* Default state - full width header */
    #header {
        width: 100%;
        max-width: 100%;
        border-radius: 0;
    }

    /* After scroll - floating card style */
    #header.nav-solid {
        width: 80%;
        max-width: 1200px;
        border-radius: 16px;
        box-shadow: 0 4px 24px rgba(0, 0, 0, 0.12),
                    0 1px 4px rgba(0, 0, 0, 0.06);
        background: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(10px);
        -webkit-backdrop-filter: blur(10px);
    }

    #header.nav-solid .row {
        max-width: 100%;
        padding: 0 30px;
    }
}

/* ============================================
   20. PAGE BORDER (Optional Decorative)
   ============================================ */

.page-border {
    position: fixed;
    z-index: 999999;
    pointer-events: none;
}

.page-border .bottom-border, .page-border .left-border, .page-border .right-border, .page-border .top-border {
    background: #f3f3ef;
    position: fixed;
    z-index: 9999;
}

.page-border > .top-border, .page-border > .right-border, .page-border > .bottom-border, .page-border > .left-border {
    padding: 11px;
    background: #2849c4;
}

.page-border .bottom-border, .page-border .top-border {
    width: 100%;
    padding: 10px;
    left: 0;
}

.page-border .left-border, .page-border .right-border {
    padding: 10px;
    height: 100%;
    top: 0;
}

.page-border .top-border { top: 0; }
.page-border .right-border { right: 0; }
.page-border .bottom-border { bottom: 0; }
.page-border .left-border { left: 0; }

#wrapper {
    /*margin: 0 15px;*/
    padding: 15px 0;
    position: relative;
}
