/*
 * style CSS
 */

body {
  scroll-behavior: smooth!important;
}

/* Navbar */
.navbar-brand {
    color: #fff;
}

a.navbar-brand {
	  color: #ffffff!important;
}

.navbar-nav .nav-link {
    color: #ffffff!important;
	
}

a .dropdown-item {
	  display: block;
    width: 100%;
    padding: 0.25rem 1.5rem;
    clear: both;
    font-weight: 400;
    color: #54AF3A!important;
    text-align: inherit;
    white-space: nowrap;
    background-color: #ffffff!important;
    border: 0px;
}

.dropdown-content a:hover {
  background-color: #f1f1f1;
}


/* Sticky Footer */
body {
    display: flex;
    min-height: 100vh;
    flex-direction: column;
}
main {
    flex: 1 0 auto;
}

.site-header-image {
	display: block;
	margin: auto;
}

.alignleft {
	float: left;
}

.alignright {
	float: right;
}

.aligncenter {
	clear: both;
	display: block;
}

/* Max img widths */

img,
.size-auto,
.size-full,
.size-large,
.size-medium,
.size-thumbnail {
	max-width: 100%;
	height: auto;
}

/* Author bio */

.author-bio .avatar {
	border: 1px solid #dee2e6;
	border-radius: 50%;
}

/* Main content */

/* Content */

a:not(.mega-menu-link) {
	color:#FFFFFF!important;
}

a #alert-danger {
	color:#721c24!important;
}

/* Custom bg */

.bg-green {
  background: #54AF3A!important;
}
.bg-light-green {
    background: #D6EAD9 !important;
}

.m-element {
  height: 100vh; /* Fallback for browsers that do not support Custom Properties */
  height: calc(var(--vh, 1vh) * 100);
}

/* Sidebar */

/* Hide form placeholders on focus */

input:focus::-webkit-input-placeholder { color: transparent; }
input:focus:-moz-placeholder { color: transparent; } /* FF 4-18 */
input:focus::-moz-placeholder { color: transparent; } /* FF 19+ */
textarea:focus::-webkit-input-placeholder { color: transparent; }
textarea:focus:-moz-placeholder { color: transparent; } /* FF 4-18 */
textarea:focus::-moz-placeholder { color: transparent; } /* FF 19+ */

/* Comments */

#comments,
#reply-title {
	margin-top: 1.5rem;
	margin-bottom: 1rem;
}

.commentlist,
.commentlist ul {
	padding-left: 0;
}

.commentlist li {
	padding: 1rem;
}

.comment-meta {
	margin-bottom: 1rem;
}

.comment > .children {
	margin-top: 1rem;
	margin-right: -0.625rem;
	margin-bottom: -1.625rem;
}
/* Site footer */

ul#menu-footer.menu{
    display: block;
    list-style-type: none;
    margin-block-start: 1em;
    margin-block-end: 1em;
    margin-inline-start: 0px;
    margin-inline-end: 0px;
    padding-inline-start: 0px;
}

/* NEW MENU & HERO SECTION */
#mega-menu-wrap-navbar,
#mega-menu-wrap-navbar #mega-menu-navbar > li.mega-menu-item > a.mega-menu-link {
    background: transparent !important;
}
#mega-menu-wrap-navbar #mega-menu-navbar > li.mega-menu-item > a.mega-menu-link {
    color: #1b1e21 !important;
    text-transform: uppercase !important;
    font-size: .9rem !important;
    font-weight: 600 !important;
}
#mega-menu-wrap-navbar #mega-menu-navbar > li.mega-menu-item:is(:focus, :hover) > a.mega-menu-link {
    color: #54AF3A !important;
}
.hero {
    position: relative;
    background-size: cover;
    background-position: center center; /* Center horizontally, middle vertically */;
    background-repeat: no-repeat;
	background-attachment: fixed;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #FFFFFF;
    opacity: .7;
    z-index: 0;
    pointer-events: none;
}
.hero .title {
    font-weight: bolder;
    font-size: 4rem;
    line-height: 1;
    text-transform: uppercase;
}
.hero .text {
    font-weight: 500;
    font-size: 1.6rem;
}
.hero .form-text {
    text-align: center;
    font-weight: 500;
    font-size: 1.6rem;
}
.nav-bar {
    position: sticky !important;
    top: 0 !important;
    z-index: 999 !important;
}
.mega-sub-menu {
    background-color: #54AF3A !important;
}
#mega-menu-wrap-navbar #mega-menu-navbar > li.mega-menu-flyout ul.mega-sub-menu li.mega-menu-item a.mega-menu-link {
    padding-left: 10px !important;
    color: #fff !important;
}
@media screen and (max-width: 768px) {
    .hero .title {
        font-size: 2.8rem;
    }
    .hero .text {
        font-size: 1.4rem;
    }
    #mega-menu-wrap-navbar .mega-menu-toggle {
        background: transparent !important;
    }
    .mega-toggle-blocks-right {
        background: #54AF3A !important;
    }
    #mega-menu-wrap-navbar {
        position: relative !important;
    }
    #mega-menu-navbar {
        position: fixed !important;
        background: white !important;
        z-index: 999 !important;
        width: 100vw !important;
        left: 0 !important;
        top: 130px !important;
    }
}

/* NEW CAT BOXES */
.card-row {
    display: flex;
    flex-wrap: wrap;
    justify-content: start;
    gap: 16px;
    margin: 40px auto;
    max-width: 1200px;
}
.card {
    position: relative;
    flex: 1 1 calc(25% - 16px);
    max-width: calc(25% - 16px);
    box-sizing: border-box;
    border: 1px solid #ddd;
    border-radius: 4px;
    overflow: hidden;
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1);
    text-align: center;
    transition: transform 0.3s;
    display: flex;
    flex-direction: column;
}
.card:hover {
    transform: translateY(-5px);
}
.card img.card-image {
    width: 100%;
    height: 180px;
    object-fit: cover;
    border-bottom: 1px solid #ddd;
}
.card .card-content {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    flex-grow: 1;
    padding: 16px;
}
.card .text-wrapper {
    text-align: center;
}
.card .card-title {
    font-size: 18px;
    font-weight: bold;
    margin-bottom: 12px;
    color: #333;
}
.card .card-text {
    font-size: 14px;
    color: #555;
    margin-bottom: 16px;
}
.card .card-button-wrapper {
    text-decoration: none;
    position: absolute;
    inset: 0;
}
.card .card-button {
    display: block;
    padding: 10px 16px;
    background-color: #54af3a!important;
    color: #fff;
    border-radius: 20px;
    font-weight: bold;
    text-align: center;
    transition: all .3s ease;
}
.card:hover .card-button {
    background-color: #025c27;
}
@media (max-width: 1024px) and (min-width: 768.02px) {
  .card { flex: 1 1 50%; max-width: 50%; }
}
@media (max-width: 767.98px) {
  .card { flex: 1 1 100%; max-width: 100%; }
}
