/* Basic Reset */
* { margin: 0; padding: 0; box-sizing: border-box; }

body {
    font-family: 'Open Sans', sans-serif;
    color: #757575;
    background-color: #ffffff;
    line-height: 1.6;
}

.layout-boxed {
    width: 100%;
}

a {
    color: #a2c046;
    text-decoration: none;
}
a:hover {
    color: #98b63c;
}

/* Header */
.header {
    background-color: #a2c046;
    width: 100%;
    position: relative;
}
.navigation {
    display: flex;
    justify-content: center;
    background-color: transparent;
}
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

/* Header Container override */
.header .container {
    max-width: 1400px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* Navbar */
.navbar-header {
    flex: 0 0 auto;
    padding: 10px 80px 10px 0;
    position: relative;
    z-index: 1;
}
.navbar-header::before {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    right: 0;
    left: -100vw;
    background-color: #ffffff;
    z-index: -1;
    clip-path: polygon(0 0, 100% 0, calc(100% - 60px) 100%, 0 100%);
}

.navbar-brand img {
    max-height: 55px;
}

#navbar {
    flex: 1 1 auto;
    display: flex;
    justify-content: flex-end;
    background-color: transparent;
    height: 100%;
    margin-left: 20px;
}

.main-navigation {
    list-style: none;
    display: flex;
    margin: 0;
    padding: 0;
    align-items: stretch;
}
.main-navigation li {
    display: flex;
    align-items: stretch;
    position: relative;
}
.main-navigation li a {
    color: #ffffff;
    padding: 0 20px;
    display: flex;
    align-items: center;
    font-weight: 600;
    font-size: 13px;
    transition: background-color 0.3s;
}
.main-navigation li:hover > a {
    background-color: #bbd95f;
}

.sub-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background-color: #434343;
    list-style: none;
    min-width: 250px;
    z-index: 100;
}
.main-navigation li:hover .sub-menu {
    display: block;
}
.sub-menu li a {
    color: #999999;
    padding: 15px 20px;
    border-bottom: 1px solid #3a3a3a;
}
.sub-menu li:hover > a {
    color: #fdfdfd;
    background-color: #3a3a3a;
}

/* Carousel */
.jumbotron.carousel {
    position: relative;
    background-color: #000;
    overflow: hidden;
    width: 100%;
    height: 650px; /* Increased height */
}
.carousel-inner {
    display: flex;
    width: 100%;
    height: 100%;
    transition: transform 0.8s ease-in-out;
}
.carousel-inner .item {
    flex: 0 0 100%;
    width: 100%;
    height: 100%;
    position: relative;
}
.carousel-inner img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.carousel-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    color: #fff;
    width: 90%;
    max-width: 1000px;
    z-index: 2;
}
.carousel-topheading {
    color: #d6f47a;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 4px;
    text-transform: uppercase;
    margin-bottom: 15px;
    text-shadow: 1px 1px 3px rgba(0,0,0,0.6);
}
.carousel-heading h1 {
    font-size: 42px;
    font-weight: 700;
    margin-bottom: 30px;
    font-family: 'Droid Serif', 'Roboto Slab', serif;
    text-shadow: 2px 2px 5px rgba(0,0,0,0.8);
}
.btn-primary {
    background-color: #a2c046;
    color: #ffffff;
    padding: 12px 30px;
    border: none;
    border-radius: 3px;
    font-weight: 600;
    display: inline-block;
    transition: background-color 0.3s ease;
}
.btn-primary:hover {
    background-color: #98b63c;
    color: #ffffff;
}

/* Content Grid */
.content {
    padding: 60px 0;
}
.widget-title {
    color: #9fc612;
    font-size: 28px;
    margin-bottom: 40px;
    font-weight: 700;
    text-transform: uppercase;
}
.text-center {
    text-align: center;
}

.panel-grid.three-cols {
    display: flex;
    flex-wrap: wrap;
    margin: 0 -15px 40px;
}
.panel-grid.services-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    margin-bottom: 40px;
}
.panel-grid-cell {
    padding: 0 15px;
}

.center-brand {
    justify-content: center;
}

.post-item {
    background-color: #fff;
    margin-bottom: 30px;
}
.post-item-image {
    display: block;
    position: relative;
    overflow: hidden;
}
.post-item-image img {
    width: 100%;
    height: auto;
    transition: transform 0.3s ease;
}
.post-item-image:hover img {
    transform: scale(1.1);
}
.overlay {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(162, 192, 70, 0.8);
    opacity: 0;
    transition: opacity 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}
.post-item-image:hover .overlay {
    opacity: 1;
}
.vertical-center span {
    background-color: #3a3a3a;
    color: #fff;
    padding: 10px 20px;
    font-size: 14px;
    text-transform: uppercase;
}

.post-item h5.title {
    margin: 20px 0 15px;
    font-size: 20px;
}
.post-item h5.title a {
    color: #333;
}
.post-item h5.title a:hover {
    color: #a2c046;
}
.post-item p {
    margin-bottom: 20px;
}
.more {
    font-weight: 700;
    text-transform: uppercase;
    font-size: 13px;
    border-bottom: 1px solid transparent;
}
.more:hover {
    border-bottom-color: #98b63c;
}

.slogan-quote {
    margin: 50px 0;
}

.associations {
    align-items: center;
    margin-bottom: 50px;
}

.commitment-quote {
    background-color: #000;
    padding: 50px;
    border: 1px solid #fff;
    margin-bottom: 50px;
}

/* Footer */
.footer {
    background-color: #ffffff;
    border-top: 1px solid #eee;
}
.main-footer {
    padding: 50px 0;
    color: #757575;
}
.main-footer .widget-title {
    color: #757575;
    font-size: 18px;
    margin-bottom: 20px;
}
.bottom-footer {
    background-color: #ffffff;
    padding: 20px 0;
    border-top: 1px solid #f0f0f0;
}
.bottom-footer p {
    color: #777777;
    margin: 0;
}
.bottom-footer a {
    color: #999999;
}
.bottom-footer a:hover {
    color: #a2c046;
}

/* Page Header & Breadcrumbs */
.page-header {
    background-color: #f5f5f5;
    background-image: url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAQAAAAECAYAAACp8Z5+AAAAGklEQVQIW2NkYGD4z8DAwMgAI0AMDA4GBgYAFwQDAXq1AysAAAAASUVORK5CYII=');
    padding: 40px 0;
    border-bottom: 1px solid #e5e5e5;
}
.page-title {
    font-size: 36px;
    font-weight: 700;
    color: #444444;
    font-family: 'Roboto Slab', serif;
}
.breadcrumbs-container {
    padding: 15px 0;
    border-bottom: 1px solid #f0f0f0;
    margin-bottom: 40px;
}
.breadcrumbs {
    list-style: none;
    margin: 0;
    padding: 0;
    font-size: 13px;
    color: #999999;
}
.breadcrumbs li {
    display: inline-block;
}
.breadcrumbs li::after {
    content: " > ";
    margin: 0 5px;
    color: #cccccc;
}
.breadcrumbs li:last-child::after {
    content: "";
}
.breadcrumbs a {
    color: #999999;
}
.breadcrumbs a:hover {
    color: #a2c046;
}

/* Page Content */
.page-content p {
    margin-bottom: 20px;
    font-size: 15px;
}
.page-content ul {
    margin-bottom: 20px;
    padding-left: 40px;
    font-size: 15px;
}
.page-content ul li {
    margin-bottom: 10px;
}
.alignleft {
    float: left;
    margin: 0 20px 20px 0;
}
.wp-caption {
    background: #fff;
    border: 1px solid #f0f0f0;
    max-width: 100%;
    padding: 5px 3px 10px;
    text-align: center;
}
.wp-caption img {
    border: 0 none;
    height: auto;
    margin: 0;
    max-width: 100%;
    padding: 0;
    width: auto;
}
.wp-caption-text {
    font-size: 11px;
    line-height: 17px;
    margin: 0;
    padding: 0 4px 5px;
}
.clearfix::after {
    content: "";
    clear: both;
    display: table;
}
