body,
html {
  font-family: "Open Sans", sans-serif;
  text-rendering: optimizeLegibility !important;
  -webkit-font-smoothing: antialiased !important;
  color: #777;
  font-weight: 400;
  margin: 0;
  padding: 0;
  height: auto !important;
  width: 100%;
  max-width: 100%;
  background: #a3c6a3;
  overflow-x: hidden;
}

#root {
  width: 100%;
  max-width: 100%;
  margin: 0 auto;   
  overflow-x: hidden;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

img,
video,
svg {
  max-width: 100%;
  height: auto;
}

h2,
h3,
h4 {
  font-family: "Raleway", sans-serif;
}

h2 {
  text-transform: uppercase;
  margin: 0 0 20px;
  font-weight: 800;
  font-size: 36px;
  color: #4a5b3e;
}

h3 {
  font-size: 20px;
  font-weight: 600;
  color: #333;
}

h4 {
  font-size: 18px;
  color: #333;
  font-weight: 600;
}

h5 {
  text-transform: uppercase;
  font-weight: 700;
  line-height: 20px;
}

p.intro {
  margin: 12px 0 0;
  line-height: 24px;
}

a {
  color: #608dfd;
  font-weight: 400;
}

a:hover,
a:focus {
  text-decoration: none;
  color: #608dfd;
}

ul,
ol {
  list-style: none;
  padding: 0;
}

hr {
  height: 2px;
  width: 70px;
  text-align: center;
  position: relative;
  background: #1e7a46;
  margin-bottom: 20px;
  border: 0;
}

/* Navigation */
#menu {
  padding: 15px;
  transition: all 0.8s;
}

#menu.navbar-default {
  background-color: #FFFBB3;
  border-color: rgba(231, 231, 231, 0);
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.15);
}

#menu a.navbar-brand {
  font-family: "Raleway", sans-serif;
  font-size: 24px;
  font-weight: 700;
  color: #333;
  text-transform: uppercase;
}

#menu.navbar-default .navbar-nav>li>a {
  font-family: "Lato", sans-serif;
  text-transform: uppercase;
  color: #555;
  font-size: 15px;
  font-weight: 400;
  padding: 8px 2px;
  border-radius: 0;
  margin: 9px 20px 0;
}

#menu.navbar-default .navbar-nav>li>a:after {
  display: block;
  position: absolute;
  left: 0;
  bottom: -1px;
  width: 0;
  height: 2px;
  background: linear-gradient(to right, #8FB996 0%, #8FB996 100%);
  content: "";
  transition: width 0.2s;
}

#menu.navbar-default .navbar-nav>li>a:hover:after {
  width: 100%;
}

.navbar-default .navbar-nav>.active>a,
.navbar-default .navbar-nav>.active>a:hover,
.navbar-default .navbar-nav>.active>a:focus {
  background-color: transparent;
}

.navbar-default .navbar-nav>.active>a:after,
.navbar-default .navbar-nav>.active>a:hover:after,
.navbar-default .navbar-nav>.active>a:focus:after {
  display: block !important;
  position: absolute !important;
  left: 0 !important;
  bottom: -1px !important;
  width: 100% !important;
  height: 2px !important;
  background: linear-gradient(to right, #8FB996 0%, #8FB996 100%) !important;
  content: "" !important;
  transition: width 0.2s !important;
}

.navbar-toggle {
  border-radius: 0;
}

.navbar-default .navbar-toggle:hover,
.navbar-default .navbar-toggle:focus {
  background-color: #fff;
  border-color: #608dfd;
}

.navbar-default .navbar-toggle:hover>.icon-bar {
  background-color: #608dfd;
}

.section-title {
  margin-bottom: 70px;
}

.section-title h2 {
  position: relative;
  margin-top: 10px;
  margin-bottom: 15px;
  padding-bottom: 15px;
  display: inline-block;
  position: relative;
}

.section-title h2::after {
  content: "";
  display: block;
  background: linear-gradient(to right, #A8C69F 0%, #8FB996 100%);
  height: 4px;
  width: 100%;
  margin: 10px auto 0;
}

.section-title p {
  font-size: 15px;
}

.btn-custom {
  font-family: "Raleway", sans-serif;
  text-transform: uppercase;
  color: whitesmoke;
  background-color: #A8C69F;
  background-image: linear-gradient(to right, #A8C69F 0%, #8FB996 100%);
  padding: 14px 34px;
  letter-spacing: 1px;
  margin: 0;
  font-size: 15px;
  font-weight: 500;
  border-radius: 25px;
  transition: all 0.5s linear;
  border: 0;
}

.btn-custom:hover,
.btn-custom:focus,
.btn-custom.focus,
.btn-custom:active,
.btn-custom.active {
  color: #fff;
  background-image: none;
  background-color: #8FB996;
}

.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: block;
  width: 100%;
  max-width: 100%;
  padding: 0;
  background: url(../img/intro-bg.jpg) center center no-repeat;
  background-color: #e5e5e5;
  -webkit-background-size: cover;
  -moz-background-size: cover;
  background-size: cover;
  -o-background-size: cover;
  position: relative;
  overflow: hidden;
}

.intro::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -1px;
  width: 100%;
  height: 25px;
  background: #E6F0E6;
  border-top-left-radius: 40px;
  border-top-right-radius: 40px;
  pointer-events: none;
}

.intro .overlay {
  background: rgba(0, 0, 0, 0.2);
}

.intro h1 {
  font-family: "Raleway", sans-serif;
  color: #FFF67A;
  font-size: 200px;
  font-weight: 750;
  text-transform: uppercase;
  margin-top: 0;
  margin-bottom: 5px;
}

.intro h1 span {
  font-weight: 800;
  color: #A8C69F;
}

.intro p {
  color: #EBF0E9;
  font-size: 22px;
  font-weight: 350;
  line-height: 30px;
  margin: 0 auto;
  margin-bottom: 5px;
  text-align: center;
}

header .intro-text {
  margin: 0 auto;
  float: none;
  position: relative;
  padding-top: 300px;
  padding-bottom: 650px;
  text-align: center;
  height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

header .intro-text .btn {
  position: absolute;
  bottom: 90px;
  left: 50%;
  transform: translateX(-50%);
  margin: 0;
}

/* Our Philosophy Section */
#features {
  background: #E6F0E6;
  position: relative;
  padding: 30px 0 80px;
  border-bottom-left-radius: 40px;
  border-bottom-right-radius: 40px;
  overflow: hidden;
  padding-top: 10px;
  padding-bottom: 60px;
}

#features i.fa {
  font-size: 38px;
  margin-bottom: 20px;
  transition: all 0.5s;
  color: #fff;
  width: 100px;
  height: 100px;
  padding: 30px 0;
  border-radius: 50%;
  background: linear-gradient(to right, #A8C69F 0%, #8FB996 100%);
  box-shadow: 10px 10px 10px rgba(0, 0, 0, 0.05);
}

#features .section-title {
  margin-top: 0;
  padding-top: 0;
}

#features .section-title h2 {
  margin-bottom: 0;
}

#features p {
  color: #5b5b5b;
}

.feature-icon {
  width: 100px;
  height: 100px;
  margin-bottom: 20px;
}

#features .feature-card {
  background: rgba(255, 255, 255, 0.5);
  border-radius: 16px;
  backdrop-filter: blur(6px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.05);
  padding: 30px 20px;
  margin: 20px 0;
  transition: all 0.4s ease;
}

#features .feature-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.1);
  background: rgba(255, 255, 255, 0.65);
}

#features .feature-icon {
  width: 90px;
  height: 90px;
  border-radius: 50%;
  margin-bottom: 20px;
  background: linear-gradient(to right, #A8C69F 0%, #8FB996 100%);
  box-shadow: 6px 6px 10px rgba(0, 0, 0, 0.05);
  padding: 20px;
  transition: transform 0.4s ease;
}

#features .feature-card:hover .feature-icon {
  transform: scale(1.05);
}

#features .section-title {
  margin-top: 40px;
  margin-bottom: 30px;
}

/* About Section */
#about {
  padding: 100px 0;
  background: linear-gradient(180deg, #fffcee 0%, #faf7e2 100%);
  margin-top: -50px;
}

#about h3 {
  font-size: 22px;
  margin: 0 0 20px;
  color: #4a5b3e;
}

#about h2 {
  position: relative;
  display: inline-block;
  padding-bottom: 10px;
}

#about h2::after {
  position: static;
  display: block;
  content: "";
  background: linear-gradient(to right, #A8C69F 0%, #8FB996 100%);
  height: 4px;
  width: 100%;
  margin: 8px auto 0;
}

#about .about-text li {
  margin-bottom: 6px;
  margin-left: 6px;
  list-style: none;
  padding: 0;
  color: #5b5b5b;
}

#about .about-text li:before {
  content: "\f00c";
  font-family: "FontAwesome";
  color: #8FB996;
  font-size: 11px;
  font-weight: 300;
  padding-right: 8px;
}

#about img {
  width: 100%;
  max-width: 520px;
  height: auto;
  margin-top: 10px;
  background: #fff;
  border-right: 0;
  box-shadow: 0 0 50px rgba(0, 0, 0, 0.06);
  border-radius: 16px;
}

#about p {
  line-height: 24px;
  margin: 30px 0;
  color: #5b5b5b;
}

#about h2+p {
  margin-top: 6px;
}

/* Services Section */
#services {
  padding: 30px;
  background: linear-gradient(180deg, #faf7e2 0%, #e8f3e8 100%);
  color: #fff;
  padding-top: 40px;
}

#services .service-desc {
  margin: 10px 10px 20px;
}

#services h2 {
  color: #4a5b3e;
}

#services .section-title h2 {
  display: inline-block;
  position: relative;
  padding-bottom: 10px;
}

#services .section-title h2::after {
  content: "";
  display: block;
  width: 100%;
  height: 4px;
  background: linear-gradient(to right, #A8C69F 0%, #8FB996 100%);
  margin: 8px auto 0;
  position: static;
}

#services i.fa {
  font-size: 42px;
  width: 120px;
  height: 120px;
  padding: 40px 0;
  background: linear-gradient(to right, #6372ff 0%, #5ca9fb 100%);
  border-radius: 50%;
  color: #fff;
  box-shadow: 10px 10px 10px rgba(0, 0, 0, 0.05);
}

#services h3 {
  font-weight: 500;
  padding: 5px 0;
  color: #5b5b5b;
}

#services p {
  color: #5b5b5b;
}

#services .service-desc {
  margin-bottom: 40px;
}

#services .service-card {
  background: rgba(255, 255, 255, 0.4);
  backdrop-filter: blur(10px);
  border-radius: 16px;
  padding: 30px 20px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

#services .service-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
}

/* Gallery Section */
#portfolio {
  padding: 0;
  padding-top: 40px;
  background: linear-gradient(180deg, #e8f3e8 0%, #cde3cd 100%);
}

#portfolio p {
  color: #5b5b5b;
}

.portfolio {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  margin: 0;
  padding: 0;
}

.portfolio-item {
  margin: 0;
  padding: 0;
  width: 100%;
  height: 300px;
  object-fit: cover;
  display: block;
}

.portfolio-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border-radius: 8px;
}

.portfolio-item .hover-bg {
  overflow: hidden;
  position: relative;
  margin: 0;
}

.hover-bg .hover-text {
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  position: absolute;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #4a5b3e;
  background: linear-gradient(to right,
      #FFFBB3 0%,
      #FFF67A 100%);
  padding: 0;
  opacity: 0;
  transition: all 0.5s;
}

.hover-bg .hover-text>h4 {
  opacity: 0;
  color: #4a5b3e;
  -webkit-transform: translateY(100%);
  transform: translateY(100%);
  transition: all 0.3s;
  font-size: 18px;
  letter-spacing: 1px;
  font-weight: 500;
  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 {
  padding: 100px 0;
  background: linear-gradient(180deg, #cde3cd 0%, #b5d3b5 100%);
}

#testimonials .section-title {
  margin-bottom: 20px;
}

#testimonials i {
  color: #e6e6e6;
  font-size: 32px;
  margin-bottom: 20px;
}

.testimonial {
  position: relative;
  padding: 20px;
}

.testimonial-image {
  float: left;
  margin-right: 15px;
}

.testimonial-image,
.testimonial-image img {
  display: block;
  width: 64px;
  height: 64px;
  border-radius: 50%;
}

.testimonial-content {
  position: relative;
  overflow: hidden;
}

.testimonial-content p {
  margin-bottom: 0;
  font-size: 15px;
  font-style: italic;
  color: #5b5b5b;
}

.testimonial-meta {
  margin-top: 10px;
  font-size: 13px;
  font-weight: 600;
  color: #666;
}

/* Team Section */
#team {
  padding: 100px 0;
  background: linear-gradient(180deg, #b5d3b5 0%, #a3c6a3 100%);
  position: relative;
  padding-bottom: 120px;
  padding-top: 40px;
}

#team::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -1px;
  width: 100%;
  height: 80px;
  background: #FFFBB3;
  border-top-left-radius: 40px;
  border-top-right-radius: 40px;
}

#team .section-title {
  margin-bottom: 40px;
}

#team .section-title h2::after {
  display: none;
}

#team p {
  color: #555;
}

#team h2 {
  color: #FFFBB3;
}

#team h4 {
  margin: 5px 0;
  color: #FFFBB3;
  font-size: 20px;
  font-weight: bold;
}

#team .team-img {
  border-radius: 16px;
  width: 100%;
  display: block;
  transition: transform 0.4s ease, opacity 0.3s ease;
}

#team .thumbnail {
  background: rgba(255, 255, 255, 0.15);
  border-radius: 20px;
  padding: 18px;
  transition: transform 0.35s ease, box-shadow 0.35s ease;
  cursor: pointer;
}

#team .thumbnail:hover {
  transform: translateY(-8px);
  box-shadow: 0 14px 28px rgba(0, 0, 0, 0.18);
}

#team .thumbnail:hover .team-img {
  transform: scale(1.04);
  opacity: 0.95;
}

#team .caption h4 {
  margin-top: 12px;
  font-weight: 600;
  transition: color 0.3s ease;
}

#team .thumbnail:hover .caption h4 {
  color: #FFF67A;
}

#team .caption p {
  font-size: 14px;
  opacity: 0.9;
  margin-bottom: 0;
}

#team .thumbnail .caption {
  padding: 10px 0 0;
  color: #888;
}

/* Contact Section */
#contact {
  background: #FFFBB3;
  color: #4a5b3e;
  padding-top: 20px;
  padding-bottom: 40px;
  border-bottom-left-radius: 40px;
  border-bottom-right-radius: 40px;
  overflow: hidden;
}

#contact .section-title {
  margin-top: 0;
  padding-top: 0;
  margin-bottom: 12px;
}

#contact .section-title p {
  font-size: 16px;
}

#contact h2 {
  color: #4a5b3e;
  margin-top: 0;
  margin-bottom: 8px;
}

#contact .section-title h2 {
  display: inline-block;
  position: relative;
}

#contact .section-title h2::after {
  content: "";
  display: block;
  width: 100%;
  height: 4px;
  background: linear-gradient(to right, #A8C69F 0%, #8FB996 100%);
  margin: 8px auto 0;
  position: static;
}

#contact h3 {
  color: #4a5b3e;
  margin-top: 40px;
  margin-bottom: 15px;
  padding-bottom: 15px;
  font-weight: 400;
}

#contact form {
  padding-top: 20px;
}

#contact .text-danger {
  color: #cc0033;
  text-align: left;
}

#contact .btn-custom {
  margin: 30px 0;
  background: transparent;
  border: 2px solid #4a5b3e;
  color: #4a5b3e;
}

#contact .btn-custom:hover {
  color: #4a5b3e;
  background: #E6F0E6;
}

label {
  font-size: 12px;
  font-weight: 400;
  font-family: "Open Sans", sans-serif;
  float: left;
}

#contact .form-control {
  display: block;
  width: 100%;
  padding: 6px 12px;
  font-size: 16px;
  line-height: 1.42857143;
  color: #444;
  background-color: #fff;
  background-image: none;
  border: 1px solid #4a5b3e;
  border-radius: 0;
  -webkit-box-shadow: none;
  box-shadow: none;
  -webkit-transition: none;
  -o-transition: none;
  transition: none;
}

#contact .form-control:focus {
  border-color: #999;
  outline: 0;
  -webkit-box-shadow: transparent;
  box-shadow: transparent;
}

.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-item {
  margin: 20px 0;
}

#contact .contact-item span {
  color: #4a5b3e;
  margin-bottom: 10px;
  display: block;
}

#contact .contact-item i.fa {
  margin-right: 10px;
}

#contact .social {
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  padding-top: 15px;
  margin-top: 15px;
  text-align: center;
}

#contact .social ul li {
  display: inline-block;
  margin: 0 20px;
}

#contact .social i.fa {
  font-size: 22px;
  width: 48px;
  height: 48px;
  padding: 12px 0;
  border: 2px solid #4a5b3e;
  color: #4a5b3e;
  border-radius: 50%;
  transition: all 0.3s;
}

#contact .social i.fa:hover {
  color: #4a5b3e;
  background: #E6F0E6;
}

/* Footer Section*/
#footer {
  background: #a3c6a3;
  padding: 10px 10px;
}

#footer p {
  color: white;
  font-size: 14px;
}

#footer a {
  color: #608dfd;
}

#footer a:hover {
  border-bottom: 2px solid #608dfd;
}

@media (max-width: 768px) {
  #about img {
    margin: 50px 0;
  }
}

body,
p,
li {
  font-size: 14px;
}

/* Section titles */
h2 {
  font-size: 30px;
}

/* Hero section */
.intro h1 {
  font-size: 180px;
}

.intro p {
  font-size: 20px;
  line-height: 26px;
}

header .intro-text {
  padding-top: 250px;
  padding-bottom: 500px;
}

/* Gallery items */
.portfolio-item {
  height: 240px;
}

/* Navbar */

#menu {
  padding: 8px 12px;
}

#menu a.navbar-brand {
  font-size: 18px;
}

#menu.navbar-default .navbar-nav>li>a {
  font-size: 13px;
  padding: 6px 0;
  margin: 5px 15px 0;
}

#menu .navbar-nav {
  display: flex;
  justify-content: space-between;
  width: 70%;
  margin: 0 auto;
}

@media (max-width: 768px) {

  header,
  header .intro,
  header .intro-text {
    width: 100%;
    max-width: none;
  }

  header .intro {
    width: 100% !important;
    max-width: 100% !important;
    left: auto !important;
    transform: none !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    overflow: hidden;
  }

  header .intro-text {
    min-height: 100svh;
    height: auto;
    padding-top: 140px;
    padding-bottom: 190px;
    justify-content: flex-start;
    align-items: center;
  }

  .intro p {
    font-size: 16px;
    line-height: 1.35;
    max-width: 320px;
    text-align: center;
    margin: 0 auto 10px;
  }

  .intro h1 {
    font-size: min(110px, 18vw);
    line-height: 0.95;
    margin: 4px 0 16px;
    text-align: center;
    max-width: 100%;
    padding: 0 12px;
    box-sizing: border-box;
  }

  header .intro-text .btn {
    bottom: 32px;
  }
}

@media (max-width: 900px) and (orientation: landscape) {

  header .intro {
    width: 100%;
    max-width: 100%;
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
  }

  header .intro-text {
    position: relative;
    min-height: 100svh;
    padding-top: 70px;
    padding-bottom: 60px;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
  }

  .intro p {
    font-size: 14px;
    max-width: 600px;
    margin: 0 auto 8px;
    text-align: center;
  }

  .intro h1 {
    font-size: clamp(56px, 10vw, 120px);
    line-height: 0.9;
    margin: 8px 0 0;
    text-align: center;
  }

  header .intro-text .btn {
    position: absolute;
    left: 50%;
    bottom: 18px;
    transform: translateX(-50%);
    padding: 10px 18px;
    font-size: 14px;
    border-radius: 999px;
  }
}

@media (max-width: 900px) {
  .navbar-toggle {
    display: block !important;
  }

  .navbar-collapse {
    border-top: 0;
  }

  .navbar-collapse.collapse {
    display: none !important;
  }

  .navbar-collapse.collapse.in {
    display: block !important;
  }

  .navbar-nav {
    float: none !important;
  }
}

@media (max-width: 768px) {
  #features .col-xs-6 {
    width: 100% !important;
    float: none !important;
  }


  #features .feature-card {
    float: none !important;
    width: 100% !important;
    max-width: 360px;
    margin: 16px auto !important;
    padding: 24px 20px !important;
  }


  #features .feature-card p {
    padding: 0 4px;
    font-size: 14px;
    line-height: 1.4;
  }

  #features .feature-icon {
    width: 70px;
    height: 70px;
    padding: 16px;
    margin-bottom: 12px;
  }

  #features h3 {
    font-size: 18px;
    margin-bottom: 10px;
  }

  #features {
    padding-top: 40px;
    padding-bottom: 50px;
  }
}

@media (pointer: coarse) and (max-width: 1024px) {
  .navbar-toggle {
    display: block !important;
  }

  .navbar-collapse {
    border-top: 0;
  }

  .navbar-collapse.collapse {
    display: none !important;
  }

  .navbar-collapse.collapse.in {
    display: block !important;
  }

  .navbar-nav {
    float: none !important;
  }
}

@media (min-width: 992px) {
  #menu .navbar-nav {
    display: flex;
    justify-content: space-between;
    width: 70%;
    margin: 0 auto;
  }
}

@media (max-width: 768px) {
  #menu .navbar-nav {
    display: block !important;
    width: 100% !important;
    margin: 0 !important;
  }

  #menu.navbar-default .navbar-nav>li>a {
    margin: 0 !important;
    padding: 10px 15px;
  }
}

.sr-only {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  clip-path: inset(50%) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

@media (max-width: 768px) {
  #features, #about, #services, #portfolio, #testimonials, #team, #contact, #footer {
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
  }
}
