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

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body, html {
  font-family: 'Open Sans', sans-serif;
  text-rendering: optimizeLegibility !important;
  -webkit-font-smoothing: antialiased !important;
  color: #333;
  font-weight: 400;
  width: 100% !important;
  height: 100% !important;
  margin: 0;
  padding: 0;
}

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

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

a {
  color: #176a3a;
  font-weight: 400;
  text-decoration: none;
}

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

/* Visible focus for keyboard navigation */
a:focus-visible,
button:focus-visible,
.form-control:focus-visible {
  outline: 2px solid #176a3a;
  outline-offset: 2px;
}

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

hr {
  height: 2px;
  width: 70px;
  text-align: center;
  position: relative;
  background: #176a3a;
  margin: 0 auto 20px;
  border: 0;
}

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

/* ========================================
   Grid System
   ======================================== */
.container {
  width: 100%;
  max-width: 1170px;
  margin: 0 auto;
  padding: 0 15px;
  overflow: hidden;
}

.row {
  display: flex;
  flex-wrap: wrap;
  margin: 0 -15px;
}

.row > * {
  padding: 0 15px;
}

/* Column widths */
.col-md-6 { width: 100%; }
.col-md-8 { width: 100%; }
.col-md-10 { width: 100%; }
.col-xs-12 { width: 100%; }

@media (min-width: 768px) {
  .col-md-6 { width: 50%; }
  .col-md-8 { width: 66.6667%; }
  .col-md-10 { width: 83.3333%; }
  .col-md-offset-1 { margin-left: 8.3333%; }
  .col-md-offset-2 { margin-left: 16.6667%; }
}

/* ========================================
   Utilities
   ======================================== */
.text-center { text-align: center; }
.text-danger { color: #cc0033; text-align: left; }
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}
.img-responsive {
  display: block;
  max-width: 100%;
  height: auto;
}

/* ========================================
   Preloader
   ======================================== */
#preloader {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: #222;
  z-index: 99999;
  height: 100%;
  transition: opacity 0.5s;
}

#preloader.loaded {
  opacity: 0;
  pointer-events: none;
}

/* ========================================
   Navbar
   ======================================== */
#menu {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 20px 0;
  transition: all 0.8s;
  background-color: rgba(27, 109, 63, 0.7);
}

#menu .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

#menu .navbar-brand {
  font-size: 26px;
  font-weight: 600;
  color: #eee;
  text-decoration: none;
}

#menu .navbar-nav {
  display: flex;
  gap: 0;
  margin: 0;
}

#menu .navbar-nav li a {
  text-transform: uppercase;
  color: #fff;
  font-size: 15px;
  font-weight: 400;
  letter-spacing: 1px;
  padding: 8px 2px;
  margin: 9px 20px 0;
  display: block;
  text-decoration: none;
  border-radius: 0;
}

#menu .navbar-nav li a:hover {
  color: #fff;
}

#menu .navbar-nav li.active a {
  color: #fff !important;
  background-color: transparent;
}

#menu.on {
  background-color: #1b6d3f !important;
  padding: 0 !important;
  border-bottom: 5px solid #186138 !important;
}

/* Mobile toggle */
.navbar-toggle {
  display: none;
  background: none;
  border: 1px solid #ccc;
  border-radius: 0;
  padding: 9px 10px;
  cursor: pointer;
}

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

.navbar-toggle .icon-bar {
  display: block;
  width: 22px;
  height: 2px;
  background-color: #eee;
  margin: 4px 0;
  transition: background-color 0.3s;
}

.navbar-toggle:hover .icon-bar {
  background-color: #1b6d3f;
}

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

  #menu .navbar-collapse {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background-color: rgba(27, 109, 63, 0.95);
    padding: 10px 0;
  }

  #menu .navbar-collapse.open {
    display: block;
  }

  #menu .navbar-nav {
    flex-direction: column;
    align-items: center;
  }

  #menu .navbar-nav li a {
    margin: 5px 20px;
  }
}

/* ========================================
   Buttons
   ======================================== */
.btn {
  display: inline-block;
  padding: 6px 12px;
  font-size: 14px;
  font-weight: 400;
  text-align: center;
  cursor: pointer;
  border: none;
  text-decoration: none;
}

.btn-custom {
  text-transform: uppercase;
  color: #fff;
  background-color: #176a3a;
  border-bottom: 4px solid #145e33;
  padding: 14px 20px;
  letter-spacing: 1px;
  margin: 0;
  font-size: 17px;
  font-weight: 400;
  border-radius: 4px;
  margin-top: 20px;
  transition: all 0.3s;
}

.btn-custom:hover, .btn-custom:focus, .btn-custom:active {
  color: #fff;
  background-color: #145e33;
  border-bottom: 4px solid #145e33;
}

.btn-lg {
  padding: 14px 20px;
  font-size: 17px;
}

/* ========================================
   Forms
   ======================================== */
.form-group {
  margin-bottom: 15px;
}

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

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

.form-control::placeholder {
  color: #666;
}

.help-block {
  display: block;
  margin-top: 5px;
  margin-bottom: 10px;
  font-size: 12px;
}

/* ========================================
   Header / Intro
   ======================================== */
.intro {
  display: table;
  width: 100%;
  padding: 0;
  background: url(../img/mur2.jpg) top center no-repeat;
  background-color: #e5e5e5;
  background-size: cover;
}

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

.intro h1 {
  color: #fff;
  font-size: 64px;
  font-weight: 700;
  letter-spacing: -1px;
  margin-top: 0;
  margin-bottom: 10px;
}

.intro p {
  color: #fff;
  font-size: 19px;
  margin-top: 20px;
  line-height: 28px;
  margin-bottom: 40px;
}

header .intro-text {
  padding-top: 275px;
  padding-bottom: 250px;
  text-align: center;
}

.header-line-effect {
  position: relative;
  overflow: hidden;
  height: 90px;
  margin-top: -85px;
  z-index: 9;
}

.header-line-effect span {
  width: 55%;
  height: 90px;
  position: absolute;
  left: -10px;
  bottom: 0;
  background: #f6f6f6;
  transition: all 0.6s;
  transform: rotate(3deg) translate(3px, 45px);
}

.header-line-effect span:last-child {
  left: auto;
  right: -10px;
  transform: rotate(-3deg) translate(-3px, 45px);
}

/* ========================================
   About
   ======================================== */
#about {
  padding: 120px 0;
  background: #f6f6f6;
}

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

#about .about-text hr {
  margin-left: 0;
}

#about .vcenter {
  float: none;
  display: table-cell;
  vertical-align: middle;
}

#about img {
  margin: 0 auto;
  max-width: 100%;
  width: 400px;
  padding: 10px;
  box-shadow: 0 0 40px #ddd;
  border-right: 0;
}

#about p {
  line-height: 28px;
  margin: 30px 0;
}

/* ========================================
   Services
   ======================================== */
#services {
  padding: 120px 0;
}

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

#services .service-media img {
  position: relative;
  display: block;
  width: 100%;
  height: auto;
  border-radius: 20px 20px 20px 0;
}

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

#services h3 {
  font-weight: 600;
  padding: 5px 0;
  text-transform: uppercase;
}

#services .service-desc hr {
  margin-left: 0;
}

/* ========================================
   Testimonials
   ======================================== */
#testimonials {
  padding: 100px 0;
}

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

#testimonials p {
  color: #333;
  font-weight: 400;
  line-height: 34px;
}

/* Carousel */
.carousel {
  position: relative;
  overflow: hidden;
  max-width: 100%;
}

.carousel-track {
  display: flex;
  transition: transform 0.5s ease;
}

.carousel-track .item {
  width: 100%;
  min-width: 0;
  flex: 0 0 100%;
  padding: 0 20px;
  overflow-wrap: break-word;
  word-wrap: break-word;
}

.carousel-dots {
  display: flex;
  justify-content: center;
  gap: 14px;
  margin-top: 20px;
}

.carousel-dots button {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #fff;
  border: 1px solid #ccc;
  cursor: pointer;
  padding: 0;
  transition: all 0.5s;
}

.carousel-dots button.active {
  background: #176a3a;
  border-color: #176a3a;
}

/* ========================================
   Quote Call
   ======================================== */
#quote-call {
  color: #fff;
  background: #444 url(../img/mur2.jpg) center center no-repeat fixed;
  background-size: cover;
}

#quote-call .overlay {
  padding: 110px 20px;
  background: rgba(0, 0, 0, 0.5);
}

#quote-call h2 {
  color: #fff;
  font-weight: 400;
  margin: 0;
  font-size: 28px;
}

@media (min-width: 768px) {
  #quote-call h2 {
    font-size: 36px;
  }
}

/* ========================================
   Contact
   ======================================== */
#contact {
  padding: 100px 0 40px;
  background: #f6f6f6;
}

#contact .section-title p {
  color: #444;
}

#contact form {
  padding: 0;
}

#contact h3 {
  text-transform: uppercase;
  font-size: 17px;
  font-weight: 600;
}

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

#contact .contact-info {
  margin-top: 60px;
  padding-top: 20px;
}

#contact .contact-item {
  margin: 20px 0 40px;
}

/* ========================================
   Footer
   ======================================== */
#footer {
  background: #333;
  padding: 30px 0 20px;
}

#footer h3 {
  color: #2ecc71;
  font-weight: 400;
  font-size: 18px;
  text-transform: uppercase;
  margin-bottom: 20px;
}

#footer .social {
  margin: 10px 0 50px;
}

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

#footer .social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: #555;
  color: #fff;
  border-radius: 50%;
  transition: all 0.3s;
  text-decoration: none;
}

#footer .social a:hover {
  background: #bbb;
}

#footer .social svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
}

#footer p {
  color: #aaa;
  font-size: 15px;
}

#footer a {
  color: #bbb;
}

#footer a:hover {
  color: #ccc;
}

/* ========================================
   Animations (scroll-triggered)
   ======================================== */
.animate-on-scroll {
  opacity: 0;
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.animate-on-scroll.fadeInRight {
  transform: translateX(40px);
}

.animate-on-scroll.fadeInLeft {
  transform: translateX(-40px);
}

.animate-on-scroll.fadeInUp {
  transform: translateY(40px);
}

.animate-on-scroll.fadeInDown {
  transform: translateY(-40px);
}

.animate-on-scroll.visible {
  opacity: 1;
  transform: translate(0, 0);
}

/* ========================================
   Cookie Consent
   ======================================== */
#cookie-consent {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: #333;
  color: #fff;
  padding: 20px 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  z-index: 10000;
  flex-wrap: wrap;
}

#cookie-consent p {
  margin: 0;
  font-size: 15px;
  color: #ddd;
}

#cookie-consent a {
  color: #fff;
  text-decoration: underline;
}

.cookie-consent-buttons {
  display: flex;
  gap: 10px;
  flex-shrink: 0;
}

#cookie-consent .btn-custom {
  margin-top: 0;
  padding: 10px 20px;
  font-size: 14px;
}

.btn-cookie-decline {
  background: transparent;
  color: #ccc;
  border: 1px solid #777;
  padding: 10px 20px;
  font-size: 14px;
  border-radius: 4px;
  cursor: pointer;
  transition: all 0.3s;
}

.btn-cookie-decline:hover {
  border-color: #fff;
  color: #fff;
}

/* ========================================
   Responsive
   ======================================== */
@media (max-width: 768px) {
  #about .vcenter {
    float: left;
  }

  #about img {
    margin: 50px 0;
  }

  .intro h1 {
    font-size: 40px;
  }

  header .intro-text {
    padding-top: 150px;
    padding-bottom: 120px;
  }
}
