/* Google Font for Abril Fatface */
@import url('https://fonts.googleapis.com/css?family=Abril+Fatface&display=swap');
/* Web Font Declarations (Raleway) */
@font-face {
    font-family: 'Raleway-Regular';
    src: url('../assets/fonts/raleway-regular-webfont.eot');
    src: url('../assets/fonts/raleway-regular-webfont.eot?#iefix') format('embedded-opentype'),
         url('../assets/fonts/raleway-regular-webfont.woff') format('woff'),
         url('../assets/fonts/raleway-regular-webfont.ttf') format('truetype'),
         url('../assets/fonts/raleway-regular-webfont.svg#ralewayregular') format('svg');
    font-weight: normal;
    font-style: normal;
}
@font-face {
    font-family: 'Raleway-Heavy';
    src: url('../assets/fonts/raleway-heavy-webfont.eot');
    src: url('../assets/fonts/raleway-heavy-webfont.eot?#iefix') format('embedded-opentype'),
         url('../assets/fonts/raleway-heavy-webfont.woff') format('woff'),
         url('../assets/fonts/raleway-heavy-webfont.ttf') format('truetype'),
         url('../assets/fonts/raleway-heavy-webfont.svg#ralewayheavy') format('svg');
    font-weight: normal;
    font-style: normal;
}
@font-face {
    font-family: 'Raleway-Bold';
    src: url('../assets/fonts/raleway-bold-webfont.eot');
    src: url('../assets/fonts/raleway-bold-webfont.eot?#iefix') format('embedded-opentype'),
         url('../assets/fonts/raleway-bold-webfont.woff') format('woff'),
         url('../assets/fonts/raleway-bold-webfont.ttf') format('truetype'),
         url('../assets/fonts/raleway-bold-webfont.svg#ralewaybold') format('svg');
    font-weight: normal;
    font-style: normal;
}
/* Base Reset & Typography */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}
body {
    background-color: #f5f5f5;
    color: #444;
    font-family: 'Raleway-Regular', sans-serif, Arial;
    font-size: 15px;
    line-height: 1.6;
    overflow-x: hidden;
}
a {
    color: #0568CD;
    text-decoration: none;
    transition: color 0.3s ease;
}
a:hover {
    color: #a9d300;
    text-decoration: underline;
}
h1, h2, h3, h4, h5, h6 {
    font-family: 'Raleway-Bold', sans-serif, Arial;
    font-weight: normal;
    margin-bottom: 15px;
    color: #333;
}
p {
    margin-bottom: 15px;
}
ul, ol {
    margin-bottom: 15px;
}
/* Layout Grid Styles */
#container {
    background: #ffffff;
    max-width: 1200px;
    margin: 0 auto;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}
.wrap {
    width: 96%;
    max-width: 1140px;
    margin: 0 auto;
}
.cf:before, .cf:after {
    content: " ";
    display: table;
}
.cf:after {
    clear: both;
}
.clear {
    clear: both;
}
/* Header Section */
header.header {
    background: #ffffff;
    padding: 20px 0 0;
    border-bottom: 1px solid #eaeaea;
}
#inner-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 20px;
    flex-wrap: wrap;
}
#logo {
    flex: 1 1 50%;
    max-width: 65%;
}
#logo img {
    max-width: 100%;
    height: auto;
    display: block;
}
#logo span {
    display: block;
    margin-top: 10px;
    font-size: 11px;
    color: #0568CD;
    font-weight: bold;
    line-height: 1.4;
    letter-spacing: 0.2px;
}
.advertisement-area {
    flex: 0 0 auto;
    text-align: right;
    max-width: 30%;
}
.advertisement-area img {
    height: auto;
    max-width: 100%;
    display: inline-block;
}
/* Responsive Navigation Trigger */
#responsive-nav {
    display: none;
    cursor: pointer;
}
#responsive-nav img {
    width: 32px;
    height: 32px;
}
/* Navigation Area */
.navigation-area {
    background: #333333;
    border-bottom: 5px solid #eaeaea;
    position: relative;
    z-index: 100;
}
nav[role="navigation"] {
    width: 100%;
}
nav[role="navigation"] .nav {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
}
nav[role="navigation"] .nav li {
    position: relative;
}
nav[role="navigation"] .nav li a {
    color: #ffffff;
    display: block;
    font-family: 'Raleway-Regular', sans-serif;
    font-size: 16px;
    padding: 18px 20px;
    text-decoration: none;
    transition: all 0.3s ease;
}
nav[role="navigation"] .nav li a:hover,
nav[role="navigation"] .nav li.current-menu-item a {
    color: #ffffff;
}
nav[role="navigation"] .nav li:hover,
nav[role="navigation"] .nav li.current-menu-item {
    box-shadow: 0 -5px 0 #a9d300 inset;
    background: #2a2a2a;
}
/* Main Content Area */
#content {
    padding: 30px 0;
}
#inner-content {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}
#main {
    width: 100%;
    flex: 1 1 100%;
}
/* Article Styles */
.article-header {
    border-bottom: 4px solid #a9d300;
    margin-bottom: 20px;
    padding-bottom: 10px;
}
.page-title {
    font-family: 'Raleway-Heavy', sans-serif;
    font-size: 32px;
    color: #333;
    margin: 0;
}
.entry-content {
    padding: 10px 0;
}
.entry-content p {
    margin-bottom: 20px;
    font-size: 15px;
    color: #555;
    text-align: justify;
}
/* Visual Composer Column Support */
.vc_row {
    display: flex;
    flex-wrap: wrap;
    margin-left: -15px;
    margin-right: -15px;
    margin-bottom: 30px;
}
.vc_col-sm-12 {
    flex: 0 0 100%;
    max-width: 100%;
    padding-left: 15px;
    padding-right: 15px;
}
.vc_col-sm-8 {
    flex: 0 0 66.666667%;
    max-width: 66.666667%;
    padding-left: 15px;
    padding-right: 15px;
}
.vc_col-sm-4 {
    flex: 0 0 33.333333%;
    max-width: 33.333333%;
    padding-left: 15px;
    padding-right: 15px;
}
.vc_empty_space {
    width: 100%;
    clear: both;
}
/* Separators and Custom Headings */
.vc_custom_heading h2 {
    font-family: 'Abril Fatface', serif;
    font-weight: 400;
    font-size: 36px;
    margin-bottom: 15px;
    color: #333;
}
.vc_separator {
    border-top: 2px solid #0568CD;
    margin: 15px 0 25px;
    width: 100%;
}
.vc_separator_align_left {
    border-top: 1px solid #ddd;
    margin: 30px 0 20px;
    display: flex;
    align-items: center;
}
.vc_separator_align_left h4 {
    background: #ffffff;
    padding: 0 15px;
    margin: 0;
    position: relative;
    top: -12px;
    font-size: 20px;
    font-family: 'Raleway-Bold', sans-serif;
    color: #333;
}
/* Alignment and Images */
.alignright {
    float: right;
    margin: 0 0 20px 20px;
    border: 1px solid #ddd;
    padding: 4px;
    background: #fff;
    max-width: 100%;
    height: auto;
}
.aligncenter {
    display: block;
    margin: 0 auto 20px;
    max-width: 100%;
    height: auto;
}
.vc_box_border_grey {
    border: 1px solid #ddd;
    padding: 4px;
    background: #fff;
    max-width: 100%;
    height: auto;
}
/* Page Lists Styling matching theme styles */
.entry-content ul {
    list-style: none;
    margin-left: 20px;
    margin-bottom: 20px;
}
.entry-content ul li {
    position: relative;
    padding-left: 20px;
    margin-bottom: 10px;
    color: #555;
    font-size: 15px;
}
.entry-content ul li::before {
    content: "\203A";
    position: absolute;
    left: 0;
    top: -3px;
    color: #a9d300;
    font-family: 'Raleway-Heavy', sans-serif;
    font-size: 22px;
    font-weight: bold;
}
/* Main Banner Fade Slider */
.slider-container {
    width: 100%;
    max-width: 1200px;
    height: 450px;
    position: relative;
    overflow: hidden;
    background: #000;
    margin-bottom: 25px;
}
.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    visibility: hidden;
    transition: opacity 1s ease-in-out, visibility 1s ease-in-out;
    z-index: 1;
}
.slide.active {
    opacity: 1;
    visibility: visible;
    z-index: 2;
}
.slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.slider-nav {
    position: absolute;
    top: 50%;
    width: 100%;
    display: flex;
    justify-content: space-between;
    transform: translateY(-50%);
    z-index: 10;
    padding: 0 20px;
    pointer-events: none;
}
.slider-nav button {
    background: rgba(0, 0, 0, 0.5);
    border: none;
    color: #ffffff;
    font-size: 24px;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.3s ease;
    pointer-events: auto;
}
.slider-nav button:hover {
    background: #a9d300;
}
.slider-timebar {
    position: absolute;
    bottom: 0;
    left: 0;
    height: 4px;
    background: #a9d300;
    width: 0%;
    z-index: 5;
}
/* Client Logo Slider (Infinite Loop Carousel) */
.logo-slider-container {
    width: 100%;
    overflow: hidden;
    position: relative;
    padding: 15px 0;
    background: #ffffff;
    border: 1px solid #eaeaea;
    margin-bottom: 30px;
}
.logo-slider-track {
    display: flex;
    width: max-content;
    animation: scrollLogos 45s linear infinite;
}
.logo-slider-track:hover {
    animation-play-state: paused;
}
.logo-slide {
    padding: 0 20px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.logo-slide img {
    height: 70px;
    width: auto;
    object-fit: contain;
    transition: transform 0.3s ease;
}
.logo-slide img:hover {
    transform: scale(1.08);
}
@keyframes scrollLogos {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}
/* Contact Us Inquiry Form */
.wpcf7-form p {
    margin-bottom: 15px;
    font-family: 'Raleway-Bold', sans-serif;
    color: #333;
    font-size: 14px;
}
.wpcf7-form-control-wrap {
    display: block;
    margin-top: 5px;
}
.wpcf7-form input[type="text"],
.wpcf7-form input[type="email"],
.wpcf7-form textarea {
    width: 100%;
    padding: 10px 15px;
    border: 1px solid #ddd;
    border-radius: 3px;
    font-family: 'Raleway-Regular', sans-serif;
    font-size: 14px;
    outline: none;
    transition: border-color 0.3s ease;
}
.wpcf7-form input[type="text"]:focus,
.wpcf7-form input[type="email"]:focus,
.wpcf7-form textarea:focus {
    border-color: #0568CD;
}
.wpcf7-submit {
    background: #a9d300;
    color: #ffffff;
    border: none;
    padding: 12px 30px;
    font-family: 'Raleway-Bold', sans-serif;
    font-size: 16px;
    cursor: pointer;
    border-radius: 3px;
    transition: background 0.3s ease, box-shadow 0.3s ease;
}
.wpcf7-submit:hover {
    background: #8cb200;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}
.form-message {
    padding: 15px;
    margin-top: 15px;
    border-radius: 3px;
    font-size: 14px;
    display: none;
}
.form-message.success {
    background: #e2f0d9;
    color: #385723;
    border: 1px solid #c5e0b4;
    display: block;
}
.form-message.error {
    background: #fce4d6;
    color: #c65911;
    border: 1px solid #f8cbad;
    display: block;
}
/* Footer Styling */
footer.footer {
    background: #333333;
    color: #bbbbbb;
    padding: 30px 0;
    margin-top: 30px;
    border-top: 5px solid #a9d300;
}
#inner-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}
.copyright {
    font-size: 13px;
    width: 100%;
    text-align: left;
}
.copyright span {
    display: block;
    margin-top: 5px;
}
.copyright a {
    color: #a9d300;
}
.copyright a:hover {
    color: #ffffff;
}
/* Mobile & Tablet Responsiveness */
@media screen and (max-width: 1024px) {
    #logo {
        max-width: 60%;
    }
    .advertisement-area {
        max-width: 35%;
    }
}
@media screen and (max-width: 768px) {
    header.header {
        padding: 15px 0 0;
    }
    
    #inner-header {
        flex-direction: column;
        align-items: flex-start;
        position: relative;
    }
    #logo {
        max-width: 100%;
        margin-bottom: 15px;
    }
    .advertisement-area {
        display: none; /* Hide header ad area on mobile for layout breathing space */
    }
    #responsive-nav {
        display: block;
        position: absolute;
        right: 10px;
        top: 15px;
    }
    .navigation-area {
        background: #333333;
        border-bottom: none;
    }
    nav[role="navigation"] .nav {
        display: none; /* Toggle via JS */
        flex-direction: column;
        width: 100%;
        background: #2a2a2a;
        border-top: 1px solid #444;
    }
    nav[role="navigation"] .nav.nav-show {
        display: flex;
    }
    nav[role="navigation"] .nav li {
        width: 100%;
        box-shadow: none !important;
    }
    nav[role="navigation"] .nav li a {
        padding: 15px 20px;
        border-bottom: 1px solid #3d3d3d;
        font-size: 15px;
    }
    nav[role="navigation"] .nav li.current-menu-item a {
        color: #a9d300;
    }
    nav[role="navigation"] .nav li:hover {
        box-shadow: none;
        background: #3d3d3d;
    }
    .vc_col-sm-8, .vc_col-sm-4 {
        flex: 0 0 100%;
        max-width: 100%;
        margin-bottom: 20px;
    }
    .slider-container {
        height: 250px; /* Adjust banner slider height on mobile */
    }
    .alignright {
        float: none;
        margin: 0 auto 20px;
        display: block;
    }
    .vc_custom_heading h2 {
        font-size: 28px;
    }
}
