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: rgba(69, 151, 84, 1);
  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: rgba(69, 151, 84, 1);
  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;
}
#menu.navbar-default .navbar-nav > li > a:hover {
  color: rgba(69, 151, 84, 1);
}
.on {
  background-color: #333 !important;
  padding: 0 !important;
  padding: 15px 0 !important;
}
.navbar-default .navbar-nav > .active > a,
.navbar-default .navbar-nav > .active > a:hover,
.navbar-default .navbar-nav > .active > a:focus {
  color: rgba(69, 151, 84, 1) !important;
  background-color: transparent;
}
.navbar-toggle {
  border-radius: 0;
}
.navbar-default .navbar-toggle:hover,
.navbar-default .navbar-toggle:focus {
  background-color: #fff;
  border-color: #fff;
}
.navbar-default .navbar-toggle:hover > .icon-bar {
  background-color: rgba(69, 151, 84, 1);
}
.section-title {
  margin-bottom: 70px;
}
.section-title p {
  font-size: 18px;
  color: #666;
}
.btn-custom-1 {
  text-transform: uppercase;
  color: #fff;
  background-color: rgba(69, 151, 84, 1);
  padding: 14px 20px;
  letter-spacing: 1px;
  margin: 0;
  font-size: 17px;
  font-weight: 400;
  border-radius: 6px;
  margin-top: 20px;
  transition: all 0.3s;
  text-shadow: #222;
}
.btn-custom {
  text-transform: uppercase;
  color: #fff;
  background-color: rgba(69, 151, 84, 1);
  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-1:hover,
.btn-custom-1:focus,
.btn-custom-1.focus,
.btn-custom-1:active {
  color: #fff;
  background-color: rgba(69, 151, 84, 0.5);
}
.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: 1020px;
  padding: 0;
  background: url(../img/intro-bg-3.webp) top center no-repeat;
  background-size: cover;
}

.intro .fa {
  font-size: 94px;
  margin-bottom: 40px;
  color: #fff;
  text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.6);
}
.intro h1 {
  color: #fff;
  font-size: 64px;
  font-weight: 700;
  letter-spacing: -1px;
  margin-top: 0;
  margin-bottom: 10px;
  text-transform: uppercase;
  text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.6);
}

.intro p {
  color: #fff;
  font-size: 22px;
  margin-top: 20px;
  line-height: 28px;
  margin-bottom: 40px;
  text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.6);
}
.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: 120px;
  padding-bottom: 200px;
  text-align: center;
}
/* About Section */
#about {
  padding: 120px 0 80px 0;
  background: #f6f6f6;
  text-align: center;
}

#about h2 {
  font-size: 40px;
  font-weight: 700;
  margin-bottom: 20px;
}

#about h2 span {
  display: block;
  font-size: 28px;
  color: #70ad47;
  font-weight: 600;
  margin-top: 10px;
}

#about hr {
  width: 60px;
  height: 3px;
  background: rgba(69, 151, 84, 1);
  border: none;
  margin: 20px auto 40px auto;
}

#about p {
  font-size: 18px;
  line-height: 1.7;
  max-width: 800px;
  margin: 0 auto 20px auto;
  color: #333;
}

#about .btn {
  margin-top: 40px;
}

/* Services Section */
#services {
  padding: 120px 0;
  background: rgba(69, 151, 84, 1);
}
#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;
}
/* 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: rgba(69, 151, 84, 1);
  color: #fff;
}
#footer p {
  color: #666;
  font-size: 15px;
}
#footer a {
  color: #888;
}
#footer a:hover {
  color: #ccc;
}
.hero-heading {
  font-size: 42px;
  font-weight: 700;
  color: #222;
  text-align: center;
  margin-bottom: 30px;
}

.hero-heading .go-to {
  color: #70ad47;
  font-weight: 700;
}
#services .service-desc ul li {
  background: rgba(255, 255, 255, 0.15); /* subtle white background */
  padding: 6px 10px;
  margin: 4px 0;
  border-radius: 6px;
  color: #fff; /* ensure text stays readable */
}
/* =====================================================
   MOBILE  ≤ 768 px
   —  image tight to the top, slim blue strip,
      shorter green field, headline lives inside green
   =====================================================*/
/* =====================================================
   MOBILE  ≤ 768 px  –  image on top, green text box below
   =====================================================*/
/* =====================================================
   MOBILE  ≤ 768 px  –  image on top, green text box below
   =====================================================*/
@media (max-width: 768px) {
  /* ----- HERO WRAPPER ----- */
  header .intro {
    background: none; /* remove layered background */
    margin: 0;
    padding: 0;
    display: block; /* natural flow: image then container */
    height: auto; /* NEW – collapse wrapper to content */
    min-height: 0; /* NEW – override the 120vh desktop rule */
  }

  /* ----- HERO IMAGE (mobile only) ----- */
  .hero-img-mobile {
    width: 100%;
    height: auto; /* full image, no cropping */
    display: block;
    margin: 0;
  }

  /* ----- GREEN TEXT PANEL ----- */
  header .intro > .container {
    background: rgba(69, 151, 84, 1);
    width: 100%;
    max-width: none; /* edge-to-edge colour */
    margin: 0;
    padding: 6vh 6vw; /* inner spacing */
  }

  /* ----- TEXT BLOCK OFFSETS ----- */
  header .intro-text {
    padding: 0; /* drop large desktop offsets */
    text-align: center;
  }

  /* keep existing responsive type-sizing */
  .intro-text h1 {
    font-size: clamp(30px, 7vw, 50px);
    line-height: 1.15;
  }
  .intro-text h1 span {
    font-size: clamp(34px, 8.5vw, 58px);
    line-height: 1.15;
  }
  .intro p {
    margin-top: 1.6rem;
  }
}

/* Hide the mobile hero image on desktop only (not tablets) */
@media (min-width: 1025px) {
  .hero-img-mobile {
    display: none;
  }
}

/* Phone landscape mode - target phones specifically (including large phones) */
@media only screen and (orientation: landscape) and (max-width: 926px) and (max-height: 428px) {
  header .intro {
    height: auto; /* Let content determine height */
    position: relative;
    background: rgba(69, 151, 84, 1); /* Green background to fill any gaps */
    display: block; /* Use block instead of flex */
    min-height: 100vh; /* Ensure full viewport coverage */
  }

  .hero-img-mobile {
    width: 100%;
    height: 155vh; /* Increased from 80vh for bigger image */
    display: block; /* Ensure it's a block element */
    object-fit: contain; /* Show entire image without cropping */
    object-position: center center; /* Center the image */
    background: rgba(69, 151, 84, 1); /* Green background for any gaps */
  }

  /* Adjust green text panel for landscape */
  header .intro > .container {
    background: rgba(69, 151, 84, 1);
    width: 100%;
    max-width: none;
    margin: 0;
    padding: 2vh 6vw; /* Reduce vertical padding for landscape */
    position: static; /* Ensure it flows naturally after the image */
  }

  /* Reset the intro-text positioning */
  header .intro-text {
    padding: 0; /* Remove default padding */
    text-align: center;
  }

  /* Reduce text sizes for landscape */
  .intro-text h1 {
    font-size: clamp(20px, 4.5vw, 32px) !important;
    line-height: 1.1;
    margin-bottom: 6px;
  }

  .intro-text h1 span {
    font-size: clamp(24px, 5.5vw, 38px) !important;
    line-height: 1.1;
  }

  .intro p {
    font-size: clamp(12px, 2.8vw, 16px);
    margin-top: 0.8rem;
    margin-bottom: 0.8rem;
    line-height: 1.3;
  }

  .btn-custom-1 {
    font-size: 12px;
    padding: 8px 14px;
    margin-top: 10px;
  }
}

/* Tablet landscape mode - target tablets specifically */
@media only screen and (orientation: landscape) and (min-width: 768px) and (min-height: 700px) and (max-width: 1366px) {
  header .intro {
    height: auto; /* Let content determine height */
    position: relative;
    background: rgba(69, 151, 84, 1); /* Green background to fill any gaps */
    display: block; /* Use block instead of flex */
    min-height: 100vh; /* Ensure full viewport coverage */
  }

  .hero-img-mobile {
    width: 100%;
    height: 95vh; /* Same as phones for consistency */
    display: block; /* Ensure it's a block element */
    object-fit: contain; /* Show entire image without cropping */
    object-position: center center; /* Center the image */
    background: rgba(69, 151, 84, 1); /* Green background for any gaps */
  }

  /* Adjust green text panel for landscape */
  header .intro > .container {
    background: rgba(69, 151, 84, 1);
    width: 100%;
    max-width: none;
    margin: 0;
    padding: 2vh 6vw; /* Same padding as phones */
    position: static; /* Ensure it flows naturally after the image */
  }

  /* Reset the intro-text positioning */
  header .intro-text {
    padding: 0; /* Remove default padding */
    text-align: center;
  }

  /* Text sizes for tablets (slightly larger than phones) */
  .intro-text h1 {
    font-size: clamp(24px, 4.5vw, 36px) !important;
    line-height: 1.1;
    margin-bottom: 6px;
  }

  .intro-text h1 span {
    font-size: clamp(28px, 5.5vw, 42px) !important;
    line-height: 1.1;
  }

  .intro p {
    font-size: clamp(14px, 2.8vw, 18px);
    margin-top: 0.8rem;
    margin-bottom: 0.8rem;
    line-height: 1.3;
  }

  .btn-custom-1 {
    font-size: 14px;
    padding: 10px 16px;
    margin-top: 10px;
  }
}

/* Tablet portrait mode - target tablets specifically */
@media only screen and (orientation: portrait) and (min-width: 768px) and (min-height: 900px) and (max-width: 1366px) {
  header .intro {
    height: auto; /* Let content determine height */
    position: relative;
    background: rgba(69, 151, 84, 1); /* Green background to fill any gaps */
    display: block; /* Use block instead of flex */
    min-height: 100vh; /* Ensure full viewport coverage */
  }

  .hero-img-mobile {
    width: 100%;
    height: 53.5vh; /* Same as phones for consistency */
    display: block; /* Ensure it's a block element */
    object-fit: contain; /* Show entire image without cropping */
    object-position: center center; /* Center the image */
    background: rgba(69, 151, 84, 1); /* Green background for any gaps */
  }

  /* Adjust green text panel for portrait */
  header .intro > .container {
    background: rgba(69, 151, 84, 1);
    width: 100%;
    max-width: none;
    margin: 0;
    padding: 2vh 6vw; /* Same padding as phones */
    position: static; /* Ensure it flows naturally after the image */
  }

  /* Reset the intro-text positioning */
  header .intro-text {
    padding: 0; /* Remove default padding */
    text-align: center;
  }

  /* Text sizes for tablet portrait (slightly larger than phones) */
  .intro-text h1 {
    font-size: clamp(26px, 4.5vw, 38px) !important;
    line-height: 1.1;
    margin-bottom: 6px;
  }

  .intro-text h1 span {
    font-size: clamp(30px, 5.5vw, 44px) !important;
    line-height: 1.1;
  }

  .intro p {
    font-size: clamp(15px, 2.8vw, 19px);
    margin-top: 0.8rem;
    margin-bottom: 0.8rem;
    line-height: 1.3;
  }

  .btn-custom-1 {
    font-size: 15px;
    padding: 11px 17px;
    margin-top: 10px;
  }
}

.btn-custom-2 {
  background: #3b5998; /* Facebook blue */
  color: #fff;
  border: none;
}
.btn-custom-2:hover,
.btn-custom-2:focus {
  background: #314d86;
  color: #fff;
}

/* 150 % size boost for icon + label */
.fb-big {
  font-size: 1.3em; /* scales both icon & text together */
  line-height: 1.2; /* keeps button height tidy */
}
