/*
Theme Name: SES Performance
Author: Stefano Tomasello
Description: Donate: https://opencollective.com/blankslate. Learn: https://blankslate.me/. BlankSlate is the definitive WordPress boilerplate starter theme. I've carefully constructed the most clean and minimalist theme possible for designers and developers to use as a base to build websites for clients or to build completely custom themes from scratch. Clean, simple, unstyled, semi-minified, unformatted, and valid code, SEO-friendly, jQuery-enabled, no programmer comments, standardized and as white label as possible, and most importantly, the CSS is reset for cross-browser-compatability, with no intrusive visual CSS styles added whatsoever. A perfect skeleton theme. For support and suggestions, go to: https://github.com/bhadaway/blankslate/issues. Thank you.
Requires at least: 5.2
Tested up to: 6.5
Requires PHP: 7.4
License: GNU General Public License v3 or Later
License URI: https://www.gnu.org/licenses/gpl.html
*/

html,body,div,span,applet,object,iframe,h1,h2,h3,h4,h5,h6,p,blockquote,pre,a,abbr,acronym,address,big,cite,code,del,dfn,em,img,ins,kbd,q,s,samp,small,strike,strong,sub,sup,tt,var,b,u,i,center,dl,dt,dd,ol,ul,li,fieldset,form,label,legend,table,caption,tbody,tfoot,thead,tr,th,td,article,aside,canvas,details,embed,figure,figcaption,footer,header,hgroup,menu,nav,output,ruby,section,summary,time,mark,audio,video{margin:0;padding:0;border:0;font-size:100%;font:inherit;vertical-align:baseline}html{scroll-behavior:smooth}body{line-height:1}a{text-decoration-skip-ink:auto}a[href^="tel"]{color:inherit;text-decoration:none}button{outline:0}ol,ul{list-style:none}blockquote,q{quotes:none}blockquote:before,blockquote:after,q:before,q:after{content:'';content:none}q{display:inline;font-style:italic}q:before{content:'"';font-style:normal}q:after{content:'"';font-style:normal}textarea,input[type="text"],input[type="button"],input[type="submit"],input[type="reset"],input[type="search"],input[type="password"]{-webkit-appearance:none;appearance:none;border-radius:0}input[type="search"]{-webkit-appearance:textfield}table{border-collapse:collapse;border-spacing:0}th,td{padding:2px}big{font-size:120%}small,sup,sub{font-size:80%}sup{vertical-align:super}sub{vertical-align:sub}dd{margin-left:20px}kbd,tt{font-family:courier;font-size:12px}ins{text-decoration:underline}del,strike,s{text-decoration:line-through}dt{font-weight:bold}address,cite,var{font-style:italic}article,aside,details,figcaption,figure,footer,header,hgroup,menu,nav,section{display:block}*{box-sizing:border-box;-webkit-tap-highlight-color:transparent}
.sticky{}.bypostauthor{}.wp-caption{}.wp-caption-text{}.gallery-caption{}.alignright{}.alignleft{}.aligncenter{}
.screen-reader-text{border:0;clip:rect(1px,1px,1px,1px);-webkit-clip-path:inset(50%);clip-path:inset(50%);height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute!important;width:1px;word-wrap:normal!important;word-break:normal}
.screen-reader-text:focus{background-color:#f7f7f7;border-radius:3px;box-shadow:0 0 2px 2px rgba(0,0,0,.6);clip:auto!important;-webkit-clip-path:none;clip-path:none;color:#007acc;display:block;font-size:14px;font-size:.875rem;font-weight:700;height:auto;right:5px;line-height:normal;padding:15px 23px 14px;text-decoration:none;top:5px;width:auto;z-index:100000}
.skip-link{left:-9999rem;top:2.5rem;z-index:999999999;text-decoration:underline}
.skip-link:focus{display:block;left:6px;top:7px;font-size:14px;font-weight:600;text-decoration:none;line-height:normal;padding:15px 23px 14px;z-index:100000;right:auto}
.visually-hidden:not(:focus):not(:active), .form-allowed-tags:not(:focus):not(:active){position:absolute !important;height:1px;width:1px;overflow:hidden;clip:rect(1px 1px 1px 1px);clip:rect(1px, 1px, 1px, 1px);white-space:nowrap}

body {
    margin: 0;
    font-family: 'Helvetica Neue', Arial, sans-serif;
    background-color: #121212;
    color: #f0f0f0;
    line-height: 1.6;
}

a {
    color: #f39c12;
    text-decoration: none;
}

header {
    background: #181818;
    padding: 20px 0;
    text-align: center;
    border-bottom: 1px solid #333;
}

header img {
    width: 250px;
}

header h1 {
    margin: 0;
    font-size: 2.5rem;
    color: #f39c12;
}

nav {
    display: flex;
    align-items: center;
    background: linear-gradient(180deg, #181818, #1f1f1f);
    padding: 10px 20px;
    border-top: 1px solid #333;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.5);
}

nav img {
    width: 130px;
    margin-right: auto;
}

nav a {
    color: #f0f0f0;
    text-decoration: none;
    margin: 0 15px;
    font-weight: bold;
    position: relative;
}

nav a:hover {
    color: #f39c12;
}

nav a::after {
    content: '';
    display: block;
    height: 3px;
    width: 0;
    background: #f39c12;
    transition: width 0.3s;
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
}

nav a:hover::after {
    width: 100%;
}

.social-icons {
    margin-left: auto; /* Push social icons to the right */
    display: flex;
    align-items: center;
}

.social-icons a {
    margin-left: 15px;
}

.social-icons img {
    height: 15px;
    width: auto; /* Maintain aspect ratio */
    filter: invert(70%) sepia(43%) saturate(621%) hue-rotate(353deg) brightness(90%) contrast(97%);
}

.hero {
    height: 70vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    position: relative;
    overflow: hidden;
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    /* Removed animation property as we'll handle this with JavaScript */
}

/* Removed @keyframes as we'll handle transitions with JavaScript */

.hero h2 {
    display: flex;
    flex-direction: column;
    align-items: center;
    font-size: 3rem;
    background: rgba(0, 0, 0, 0.7);
    padding: 20px;
    border-radius: 10px;
    margin: 0;
    z-index: 1;
}

.hero h2 img {
    margin-top: 20px;
}

.hero img {
    width: 350px;
    margin-top: 20px;
    z-index: 1;
}

.container {
    padding: 40px 20px;
    max-width: 1200px;
    margin: auto;
}

.section {
    padding: 20px 20px;
    background: #181818;
    border-radius: 10px;
    margin-bottom: 40px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.services, .about, .contact, .testimonial, .cta, .features {
    margin-bottom: 60px;
}

.section h3 {
    border-bottom: 2px solid #f39c12;
    display: inline-block;
    padding-bottom: 10px;
    margin-top: 0;
    margin-bottom: 20px;
    font-size: 1.8rem;
}

.section p {
    margin: 20px 0;
    font-size: 1.1rem;
    color: #d3d3d3;
}

.btn {
    display: inline-block;
    padding: 15px 30px;
    color: #f39c12;
    background: #121212;
    border: 2px solid #f39c12;
    text-decoration: none;
    font-weight: bold;
    border-radius: 5px;
    transition: background 0.3s, color 0.3s;
    text-align: center;
}

.btn:hover {
    background: #f39c12;
    color: #121212;
}

.testimonial {
    background: #181818;
    padding: 60px 20px;
    border-radius: 10px;
    color: #f0f0f0;
}

.testimonial h3 {
    color: #f39c12;
}

.testimonial p {
    font-style: italic;
}

.cta {
    text-align: center;
    background: linear-gradient(to bottom, #f39c12, #d87e0a); /* Gradient from top to bottom */
    color: #121212;
    padding: 60px 20px;
    border-radius: 10px;
}

.cta h3 {
    color: #121212;
}

.cta p {
    font-size: 1.2rem;
}

.cta a {
    display: inline-block;
    background: #121212;
    color: #f39c12;
    padding: 15px 30px;
    text-decoration: none;
    font-weight: bold;
    border-radius: 5px;
    transition: background 0.3s, color 0.3s;
}

.cta a:hover {
    background: #f39c12;
    color: #121212;
}

.features {
    display: flex;
    flex-wrap: wrap;
    gap: 20px; /* Add some gap between the items */
}

.feature {
    flex: 1 1 calc(33.333% - 20px); /* Ensure 3 items per row with gap */
    box-sizing: border-box;
    padding: 20px;
    background: #202020;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s;
    text-align: center;
}

.feature:hover {
    transform: translateY(-10px);
}

@media (max-width: 768px) {
    .features {
        flex-direction: column;
    }

    .feature {
        max-width: 100%;
        margin: 10px 0;
    }

    .social-icons {
        margin-left: 0;
        flex-direction: column;
        align-items: flex-start;
    }

    .social-icons a {
        margin: 5px 0;
    }
}

.contact a img {
    filter: invert(70%) sepia(43%) saturate(621%) hue-rotate(353deg) brightness(90%) contrast(97%);
}

footer {
    background: #181818;
    text-align: center;
    padding: 20px 0;
    border-top: 1px solid #333;
}

footer p {
    margin: 0;
    color: #a9a9a9;
    font-size: 0.9rem;
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.bar {
    height: 3px;
    width: 25px;
    background-color: #f0f0f0;
    margin: 4px 0;
    transition: 0.4s;
}

@media (max-width: 768px) {
    nav a {
        display: none;
    }

    .hamburger {
        display: flex;
        margin-left: auto;
    }

    nav.active a {
        display: block;
        text-align: center;
        padding: 10px;
        margin: 0;
        width: 100%;
    }

    .features {
        flex-direction: column;
    }

    .feature {
        max-width: 100%;
        margin: 10px 0;
    }

    .social-icons {
        flex-direction: column;
        align-items: flex-start;
    }

    .social-icons a {
        margin: 5px 0;
    }
}

@media (max-width: 768px) {
    nav {
        flex-direction: column;
        align-items: flex-start;
    }

    nav.active {
        display: block;
    }

    nav a {
        display: none;
        width: 100%;
        padding: 15px;
        text-align: left;
        border-bottom: 1px solid #333;
    }

    nav.active a {
        display: block;
    }

    nav .hamburger {
        align-self: flex-start;
        margin: 0;
    }
}

/* Form Styling */
form {
    background: #1f1f1f;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

form h3 {
    margin-bottom: 20px;
}

form label {
    display: block;
    margin-bottom: 10px;
    font-weight: bold;
    color: #f39c12;
}

form input, form textarea {
    width: 99%;
    padding: 10px 0 10px 10px;
    margin-bottom: 20px;
    border: 1px solid #333;
    border-radius: 5px;
    background: #121212;
    color: #f0f0f0;
    font-size: 1rem;
}

form input:focus, form textarea:focus {
    outline: none;
    border-color: #f39c12;
}

form button {
    background: #f39c12;
    color: #121212;
    border: none;
    padding: 15px 30px;
    font-size: 1rem;
    font-weight: bold;
    border-radius: 5px;
    cursor: pointer;
    transition: background 0.3s, color 0.3s;
}

form button:hover {
    background: #121212;
    color: #f39c12;
    border: 2px solid #f39c12;
}

.eui-widget-title {
    display: none !important;
}