body, html {
	font-family: 'Open Sans', sans-serif;
	text-rendering: optimizeLegibility !important;
	-webkit-font-smoothing: antialiased !important;
	color: #666;
	font-weight: 400;
	width: 100% !important;
	height: 100% !important;
}
h2 {
	margin: 0 0 20px 0;
	font-weight: 600;
	font-size: 36px;
	color: #333;
}
h3, h4 {
	font-size: 20px;
	font-weight: 400;
	color: #333;
}
h5 {
	text-transform: uppercase;
	font-weight: 700;
	line-height: 20px;
}
p {
	font-size: 15px;
}
p.intro {
	margin: 12px 0 0;
	line-height: 24px;
}
a {
	color: #6aaf08;
	font-weight: 400;
}
a:hover, a:focus {
	text-decoration: none;
	color: #222;
}
ul, ol {
	list-style: none;
}
.clearfix:after {
	visibility: hidden;
	display: block;
	font-size: 0;
	content: " ";
	clear: both;
	height: 0;
}
.clearfix {
	display: inline-block;
}
* html .clearfix {
	height: 1%;
}
.clearfix {
	display: block;
}
ul, ol {
	padding: 0;
	webkit-padding: 0;
	moz-padding: 0;
}
hr {
	height: 3px;
	width: 70px;
	text-align: center;
	position: relative;
	background: #6aaf08;
	margin: 0 auto;
	margin-bottom: 20px;
	border: 0;
}
/* Navigation */
#menu {
	padding: 20px;
	transition: all 0.8s;
}
#menu.navbar-default {
	background-color: rgba(248, 248, 248, 0);
	border-color: rgba(231, 231, 231, 0);
}
#menu a.navbar-brand {
	font-size: 26px;
	font-weight: 600;
	color: #eee;
}
#menu.navbar-default .navbar-nav > li > a {
	text-transform: uppercase;
	color: #ddd;
	font-size: 15px;
	font-weight: 400;
	letter-spacing: 1px;
	padding: 8px 2px;
	border-radius: 0;
	margin: 9px 20px 0 20px;
}
/* 1. Initial State (On Slider) */
#menu .logo-main { 
	display: inline-block !important; 
	height: 95px !important; 
	width: auto !important; 
	margin-top: -20px !important; 
}
#menu .logo-scrolled { 
	display: none !important; 
}

/* 2. Scrolled State (Moving Down) */
#menu.on {
	background-color: #ffffff !important; 
	padding: 10px 0 !important;
	border: none !important;
	box-shadow: none !important;
}
#menu.on .logo-main { 
	display: none !important; 
} 
#menu.on .logo-scrolled { 
	display: inline-block !important; 
	height: 75px !important; 
	width: auto !important; 
	margin-top: -10px !important; 
} 

/* Remove the grey box background from menu links completely */
#menu .navbar-nav > li > a:hover,
#menu .navbar-nav > li > a:focus,
#menu .navbar-nav > .active > a,
#menu .navbar-nav > .active > a:hover,
#menu .navbar-nav > .active > a:focus {
	background-color: transparent !important;
	background: transparent !important;
}

/* 1. Initial State (On Slider) */
#menu .logo-main { 
	display: inline-block !important; 
	height: 110px !important; 
	width: auto !important; 
	margin-top: -30px !important; 
}
#menu .logo-scrolled { 
	display: none !important; 
}
/* Fix: Green hover text color on slider mode */
#menu .navbar-nav > li > a:hover {
	color: #6aaf08 !important;
}
/* Green active link color on slider mode */
#menu .navbar-nav > .active > a {
	color: #6aaf08 !important;
}

/* 2. Scrolled State (Moving Down) */
#menu.on {
	background-color: #ffffff !important; 
	padding: 10px 0 !important;
	border: none !important; 
	box-shadow: 0 1px 10px rgba(0, 0, 0, 0.05) !important; 
}
#menu.on .logo-main { 
	display: none !important; 
} 
#menu.on .logo-scrolled { 
	display: inline-block !important; 
	height: 68px !important; 
	width: auto !important; 
	margin-top: -12px !important; 
} 

/* Menu Text Colors when scrolled */
#menu.on .navbar-nav > li > a {
	color: #222222 !important; 
	margin-top: 5px !important; 
}
#menu.on .navbar-nav > li > a:hover,
#menu.on .navbar-nav > li > a:focus,
#menu.on .navbar-nav > .active > a {
	color: #6aaf08 !important; 
}
.section-title {
	margin-bottom: 70px;
}
.section-title p {
	font-size: 18px;
	color: #666;
}
.btn-custom {
	text-transform: uppercase;
	color: #fff;
	background-color: #6aaf08;
	padding: 14px 20px;
	letter-spacing: 1px;
	margin: 0;
	font-size: 17px;
	font-weight: 400;
	border-radius: 6px;
	margin-top: 20px;
	transition: all 0.3s;
}
.btn-custom:hover, .btn-custom:focus, .btn-custom.focus, .btn-custom:active, .btn-custom.active {
	color: #fff;
	background-color: #5f9d07;
}
.btn:active, .btn.active {
	background-image: none;
	outline: 0;
	-webkit-box-shadow: none;
	box-shadow: none;
}
a:focus, .btn:focus, .btn:active:focus, .btn.active:focus, .btn.focus, .btn:active.focus, .btn.active.focus {
	outline: none;
	outline-offset: none;
}
/* Header Section */
.intro {
	display: table;
	width: 100%;
	height: 100vh; /* Forces the slider to cleanly scale to the height of the user's screen */
	min-height: 600px; /* Prevents the slider from shrinking too small on shorter windows */
	padding: 0;
	background: url(../img/intro-bg.jpg) center bottom no-repeat;
	background-color: #e5e5e5;
	-webkit-background-size: cover;
	-moz-background-size: cover;
	background-size: cover;
	-o-background-size: cover;
}
.intro .overlay {
	height: 100vh; /* Forces overlay to slide down to the window's bottom */
	min-height: 600px; /* Aligns with the base slider limits */
	/* Permalink - use to edit and share this gradient: http://colorzilla.com/gradient-editor/#000000+0,70ad47+100&0.6+0,0.4+100 */
	background: -moz-linear-gradient(top, rgba(0,0,0,0.6) 0%, rgba(112,173,71,0.4) 100%); /* FF3.6-15 */
	background: -webkit-linear-gradient(top, rgba(0,0,0,0.6) 0%, rgba(112,173,71,0.4) 100%); /* Chrome10-25,Safari5.1-6 */
	background: linear-gradient(to bottom, rgba(0,0,0,0.6) 0%, rgba(112,173,71,0.4) 100%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
	filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#99000000', endColorstr='#6670ad47', GradientType=0 ); /* IE6-9 */
}
.intro .fa {
	font-size: 94px;
	margin-bottom: 40px;
	color: #fff;
}
.intro h1 {
	color: #fff;
	font-size: 64px;
	font-weight: 700;
	letter-spacing: -1px;
	margin-top: 0;
	margin-bottom: 10px;
	text-transform: uppercase;
}
.intro p {
	color: #fff;
	font-size: 22px;
	margin-top: 20px;
	line-height: 28px;
	margin-bottom: 40px;
}
.intro .btn-custom {
	border-top: 1px solid rgba(255,255,255,0.4);
	border-bottom: 1px solid rgba(255,255,255,0.4);
}
header .intro-text {
	padding-top: 400px;
	padding-bottom: 200px;
	text-align: center;
}
/* About Section */
#about {
	padding: 100px 0 50px 0; /* Shrunk top gap */
	background: #f6f6f6;
}
#about h3 {
	font-size: 22px;
	font-weight: 600;
	margin: 20px 0 0 0;
}
#about .about-text span {
	color: #70ad47;
	font-weight: 700;
	letter-spacing: -1px;
}
#about hr {
	margin: 0 auto 40px auto;
}
#about .btn {
	margin-top: 40px;
}
#about .about-media img {
	position: relative;
	display: block;
	width: 100%;
	height: auto;
}
#about .about-text, #about .about-desc {
	margin-bottom: 100px; /* Expanded bottom gap */
}
#about p {
	line-height: 24px;
	margin-top: 20px;
}
/* Services Section */
#services {
	padding: 120px 0;
	background: #6aaf08;
}
#services .service-media {
	margin: 10px;
}
#services .service-media img {
	position: relative;
	width: 225px;
	height: 225px;
	border-radius: 50%;
	border: 10px solid rgba(255,255,255,0.1);
}
#services .service-desc {
	margin: 10px 10px 40px;
	text-align: center;
}
#services h2 {
	color: #fff;
}
#services h3 {
	color: #fff;
	font-size: 24px;
	font-weight: 400;
	padding: 5px 0;
}
#services p {
	color: rgba(255,255,255,0.9);
}
#services hr {
	background: rgba(255,255,255,0.6);
}
/* Portfolio Section */
#portfolio {
	padding: 100px 0;
	background: #f6f6f6;
}
.categories {
	text-align: center;
}
ul.cat li {
	display: inline-block;
}
ol.type li {
	display: inline-block;
	margin: 0 10px 40px 10px;
}
ol.type li a {
	color: #555;
	font-size: 16px;
	font-weight: 400;
	padding: 8px 16px;
	background: #e6e6e6;
	border: 0;
	border-radius: 4px;
	letter-spacing: 1px;
	text-transform: uppercase;
	transition: all 0.3s;
}
ol.type li a.active {
	background: #6aaf08;
	color: #fff;
}
ol.type li a:hover {
	background: #6aaf08;
	color: #fff;
}
.isotope-item {
	z-index: 2
}
.isotope-hidden.isotope-item {
	z-index: 1
}
.isotope, .isotope .isotope-item {
	/* change duration value to whatever you like */
	-webkit-transition-duration: 0.8s;
	-moz-transition-duration: 0.8s;
	transition-duration: 0.8s;
}
.isotope-item {
	margin-right: -1px;
	-webkit-backface-visibility: hidden;
	backface-visibility: hidden;
}
.isotope {
	-webkit-backface-visibility: hidden;
	backface-visibility: hidden;
	-webkit-transition-property: height, width;
	-moz-transition-property: height, width;
	transition-property: height, width;
}
.isotope .isotope-item {
	-webkit-backface-visibility: hidden;
	backface-visibility: hidden;
	-webkit-transition-property: -webkit-transform, opacity;
	-moz-transition-property: -moz-transform, opacity;
	transition-property: transform, opacity;
}
.portfolio-item {
	margin: 15px 0;
}
.portfolio-item .hover-bg {
	overflow: hidden;
	position: relative;
	margin: 0 auto;
}
.hover-bg .hover-text {
	position: absolute;
	text-align: center;
	margin: 0 auto;
	color: #fff;
	background: rgba(0, 0, 0, 0.6);
	padding: 30% 0 0 0;
	height: 100%;
	width: 100%;
	opacity: 0;
	transition: all 0.5s;
}
.hover-bg .hover-text>h4 {
	opacity: 0;
	color: #fff;
	-webkit-transform: translateY(100%);
	transform: translateY(100%);
	transition: all 0.3s;
	font-size: 18px;
	letter-spacing: 1px;
	font-weight: 300;
	text-transform: uppercase;
}
.hover-bg:hover .hover-text>h4 {
	opacity: 1;
	-webkit-backface-visibility: hidden;
	-webkit-transform: translateY(0);
	transform: translateY(0);
}
.hover-bg:hover .hover-text {
	opacity: 1;
}
/* Testimonials Section */
#testimonials {
	background: #444 url(../img/testimonials-bg.jpg) center center no-repeat fixed;
	background-size: cover;
}
#testimonials .overlay {
	padding: 120px 0;
	background: rgba(106, 175, 8, 0.85);
}
#testimonials h2 {
	color: #fff;
}
#testimonials hr {
	background: rgba(255,255,255,0.6);
}
#testimonial p {
	color: #fff;
	font-size: 16px;
	font-weight: 400;
	line-height: 32px;
}
.owl-theme .owl-controls .owl-page span {
	display: block;
	width: 12px;
	height: 12px;
	margin: 5px 7px;
	filter: Alpha(Opacity=1);
	opacity: 1;
	border-radius: 50%;
	background: rgba(255,255,255,0.4);
	transition: all 0.5s;
	border: 1px solid rgba(255,255,255,0.3);
}
.owl-theme .owl-controls .owl-page.active span, .owl-theme .owl-controls.clickable .owl-page:hover span {
	filter: Alpha(Opacity=100);
	opacity: 1;
	background: #fff;
	border: 1px solid #fff;
}
.owl-theme .owl-controls .owl-page.active span {
	background: #fff;
	border: 1px solid #fff;
}
/* Contact Section */
#contact {
	padding: 100px 0;
	background: #F6F6F6;
}
#contact .section-title p {
	color: #777;
}
#contact form {
	padding: 0;
	margin-top: 40px;
}
#contact h3 {
	text-transform: uppercase;
	font-size: 17px;
	font-weight: 600;
}
#contact .text-danger {
	color: #cc0033;
	text-align: left;
}
label {
	font-size: 12px;
	font-weight: 400;
	font-family: 'Open Sans', sans-serif;
	float: left;
}
#contact .form-control {
	display: block;
	width: 100%;
	padding: 20px 20px;
	font-size: 16px;
	line-height: 1.42857143;
	color: #444;
	background-color: #fff;
	background-image: none;
	border: 1px solid #ddd;
	border-radius: 0;
	-webkit-box-shadow: none;
	box-shadow: none;
	-webkit-transition: none;
	-o-transition: none;
	transition: none;
}
#contact .form-control:focus {
	outline: 0;
	-webkit-box-shadow: 0 0 15px #ddd;
	box-shadow: 0 0 15px #ddd;
}
.form-control::-webkit-input-placeholder {
color: #777;
}
.form-control:-moz-placeholder {
color: #777;
}
.form-control::-moz-placeholder {
color: #777;
}
.form-control:-ms-input-placeholder {
color: #777;
}
#contact .contact-info {
	margin-bottom: 30px;
}
#contact .contact-info hr {
	background: #ddd;
}
#contact .contact-item {
	margin: 20px 0 40px 0;
}
/* Footer Section*/
#footer {
	background: #333;
	padding: 30px 0 20px;
}
#footer h3 {
	color: #1e7a46;
	font-weight: 400;
	font-size: 18px;
	text-transform: uppercase;
	margin-bottom: 20px;
}
#footer .social {
	margin: 10px 0 50px 0;
}
#footer .social ul li {
	display: inline-block;
	margin: 0 20px;
}
#footer .social i.fa {
	font-size: 22px;
	width: 40px;
	height: 40px;
	padding: 10px;
	background: #444;
	color: #6aaf08;
	border-radius: 50%;
	transition: all 0.3s;
}
#footer .social i.fa:hover {
	background: #6aaf08;
	color: #fff;
}
#footer p {
	color: #666;
	font-size: 15px;
}
#footer a {
	color: #888;
}
#footer a:hover {
	color: #ccc;
}
@media (max-width: 767px) {
    /* On the slider: Pushes menu and line down */
    #menu .navbar-collapse {
        margin-top: 40px !important;
    }
    
    /* While scrolling down: Resets back to default */
    #menu.on .navbar-collapse {
        margin-top: 0 !important;
    }
}
/* Infinite Left-to-Right Client Logo Ticker */
#clients {
	padding: 50px 0;
	background: #ffffff;
	overflow: hidden;
	border-bottom: 1px solid #eaeaea;
}
.logo-slider {
	width: 100%;
	overflow: hidden;
	position: relative;
}
.logo-track {
	display: flex;
	align-items: center;
	width: max-content;
	animation: slideRight 25s linear infinite;
}
.logo-track img {
	height: 60px; /* Adjust height to scale logos evenly */
	width: auto;
	margin: 0 60px;
	filter: grayscale(100%);
	opacity: 0.5;
	transition: all 0.3s ease;
}
.logo-track img:hover {
	filter: grayscale(0%);
	opacity: 1;
}
@keyframes slideRight {
	0% {
		transform: translateX(-50%);
	}
	100% {
		transform: translateX(0);
	}
}
#clients {
    min-height: 40vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    background: #ffffff !important;
}
/* Fixed Infinite Logo Ticker */
#clients {
	padding: 50px 0;
	background: #ffffff !important;
	overflow: hidden;
}
.logo-slider {
	width: 100%;
	overflow: hidden;
}
.logo-track {
	display: inline-flex !important; /* Forces all 10 logos into a single line */
	align-items: center;
	animation: slideLeft 40s linear infinite; /* Seamless loop animation */
}
.logo-track img {
	height: 60px; 
	width: auto;
	margin: 0 40px;
	flex-shrink: 0 !important; /* Stops logos from squeezing/disappearing */
	filter: grayscale(100%);
	opacity: 0.5;
}
@keyframes slideLeft {
	0% {
		transform: translateX(0);
	}
	100% {
		transform: translateX(-50%); /* Seamlessly loops exactly halfway through the 10 images */
	}
}
#testimonials .section-title {
    margin-bottom: 45px !important; /* Increase this number to drop it back down a bit */
}
@media (max-width: 767px) {

    #clients {
        min-height: auto !important;
        display: block !important;
        padding-top: 60px !important;
    }

}
@media (max-width: 767px) {
    /* On the slider: Pushes menu and line down */
    #menu .navbar-collapse {
        margin-top: 40px !important;
    }
    
    /* While scrolling down: Resets back to default */
    #menu.on .navbar-collapse {
        margin-top: 0 !important;
    }

    /* Shrunk written matter for mobile slider */
    .intro h1 {
        font-size: 34px; 
        letter-spacing: 0px;
        margin-bottom: 15px;
    }

    .intro p {
        font-size: 15px; 
        line-height: 22px; 
        margin-bottom: 25px;
    }

    /* This slides the text down */
    header .intro-text {
        padding-top: 400px !important; 
        padding-bottom: 100px;
        padding-left: 15px;  
        padding-right: 15px; 
    }
}

/* ==========================================================================
   Horizontal Stats Counter Adjustments (Fixed & Cleaned)
   ========================================================================== */
#about .about-text {
    margin-bottom: 15px !important; /* Overrides the old 100px gap right above the stats */
}

.style-stats-row {
    margin-top: 40px !important; /* Sets a tight, clean gap right underneath the text */
    margin-bottom: 20px !important;
    clear: both !important;
}

.stat-item {
    margin-bottom: 10px;
    border-right: 1px solid rgba(0, 0, 0, 0.1);
}

.stat-item:last-child {
    border-right: none;
}

.stat-title {
    font-size: 52px !important; 
    font-weight: 700 !important; 
    color: #6aaf08 !important; 
    margin: 0 0 5px 0 !important;
    font-family: 'Open Sans', sans-serif;
}

.stat-label {
    font-size: 14px !important;
    color: #000000 !important; 
    font-weight: 600 !important;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin: 0 !important;
}

/* Responsive adjustment for mobile screens */
@media (max-width: 767px) {
    .stat-item {
        border-right: none; 
    }
    .stat-title {
        font-size: 38px !important;
    }
}