/* LR Multiservices — site styles.
   Hand-written replacement for the old Bootstrap 3 + animate.css theme.
   Sizes, colors and breakpoints match the previous design. */

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Lato, sans-serif;
  font-weight: 300;
  font-size: 14px;
  line-height: 1.42857;
  color: #666;
  background: #fff;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  margin: 0 0 30px;
  font-family: Raleway, sans-serif;
  font-weight: 400;
  line-height: 1.1;
  letter-spacing: 1px;
  text-transform: uppercase;
}
h2 { font-size: 30px; }
h3 { font-size: 24px; }
h4 { font-size: 18px; }
h5 { font-size: 14px; }

p {
  margin: 0 0 20px;
  font-size: 16px;
  line-height: 1.6em;
}

a {
  color: #104c43;
  text-decoration: none;
  transition: all .2s ease-in-out;
}
a:hover,
a:focus {
  color: #176e61;
}

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

hr {
  margin: 10px 0 50px;
  border: 0;
  border-top: 1px solid #eee;
}

.icon {
  display: inline-block;
  width: 1em;
  height: 1em;
  fill: currentColor;
  vertical-align: -.125em;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

.skip-link {
  position: absolute;
  left: 8px;
  top: -60px;
  z-index: 2000;
  padding: 10px 16px;
  background: #fff;
  color: #104c43;
  font-weight: 700;
}
.skip-link:focus {
  top: 8px;
}

/* ---------- Layout ---------- */

.container {
  margin: 0 auto;
  padding: 0 15px;
}
@media (min-width: 768px)  { .container { width: 750px; } }
@media (min-width: 992px)  { .container { width: 970px; } }
@media (min-width: 1200px) { .container { width: 1170px; } }

.text-center { text-align: center; }

.list-unstyled {
  padding: 0;
  list-style: none;
}

.home-section {
  position: relative;
  z-index: 120;
  display: block;
  padding: 50px 0;
}
.bg-gray { background: #f8f8f8; }

/* Section title: heading, chevron, short rule */
.section-heading {
  margin: 0 auto;
  text-align: center;
}
.section-heading h1,
.section-heading h2 {
  font-size: 40px;
  margin-bottom: 30px;
}
.section-heading .icon {
  display: block;
  margin: 0 auto 30px;
  font-size: 28px;
}
.section-rule {
  margin-left: auto;
  margin-right: auto;
}
@media (min-width: 1200px) {
  .section-heading { width: 66.6667%; }
  .section-rule { width: 165px; }
}

.page-heading {
  padding-top: 110px;
}
@media (max-width: 767px) {
  .page-heading { padding-top: 80px; }
}

/* ---------- Navigation ---------- */

.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1030;
  min-height: 50px;
  border-bottom: 1px solid rgba(255, 255, 255, .3);
  background-color: rgba(85, 148, 122, .7);
}
.navbar .container {
  position: relative;
}
.navbar .container::after {
  content: "";
  display: table;
  clear: both;
}

.navbar-brand {
  float: left;
  height: 40px;
  padding: 5px 15px;
  margin-left: -15px;
}
.navbar-brand img {
  display: block;
  width: 150px;
  min-width: 150px;
}

.navbar-toggle {
  display: none;
}

.nav {
  margin: 0;
  padding: 0;
  list-style: none;
  background-color: rgba(255, 255, 255, .4);
}
.nav > li {
  position: relative;
}
.nav > li.active,
.nav > li > a:hover,
.nav > li > a:focus,
.nav > li > button:hover,
.nav > li > button:focus {
  background-color: rgba(255, 255, 255, .2);
  outline: 0;
}
.nav > li > a,
.nav > li > button {
  display: block;
  padding: 15px;
  border: 0;
  background: none;
  font-family: inherit;
  font-size: 12px;
  font-weight: 700;
  line-height: 20px;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: #444;
  cursor: pointer;
  transition: background .3s ease-in-out, color .2s ease-in-out;
}
.nav > li > a:focus-visible,
.nav > li > button:focus-visible,
.dropdown-menu a:focus-visible {
  outline: 2px solid #fff;
  outline-offset: -2px;
}

.caret {
  display: inline-block;
  width: 0;
  height: 0;
  margin-left: 2px;
  vertical-align: middle;
  border-top: 4px solid;
  border-right: 4px solid transparent;
  border-left: 4px solid transparent;
}

.dropdown-menu {
  display: none;
  margin: 0;
  padding: 5px 0;
  list-style: none;
  background: #fff;
}
.dropdown.open .dropdown-menu {
  display: block;
}
.dropdown-menu li {
  border-bottom: 1px solid #f5f5f5;
}
.dropdown-menu li:last-child {
  border-bottom: 0;
}
.dropdown-menu a {
  display: block;
  padding: 10px 20px;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.42857;
  letter-spacing: 1px;
  text-transform: uppercase;
  white-space: nowrap;
  color: #444;
}
.dropdown-menu a:hover,
.dropdown-menu a:focus {
  background: #fefefe;
  color: #262626;
}

/* Scrolled state */
.navbar.top-nav-collapse .nav {
  background-color: transparent;
}
.navbar.top-nav-collapse .nav > li > a,
.navbar.top-nav-collapse .nav > li > button {
  color: #fff;
}
.navbar.top-nav-collapse .dropdown-menu a {
  color: #666;
}

/* Desktop navigation */
@media (min-width: 768px) {
  .navbar {
    padding: 20px 0;
    border-bottom: 0;
    letter-spacing: 1px;
    transition: background .5s ease-in-out, padding .5s ease-in-out;
  }
  .navbar.top-nav-collapse {
    padding: 0;
    background-color: #000;
    border-bottom: 1px solid rgba(255, 255, 255, .3);
  }
  .navbar-collapse {
    float: right;
  }
  .nav {
    display: flex;
  }
  .dropdown-menu {
    position: absolute;
    top: 100%;
    right: 0;
    z-index: 1000;
    min-width: 160px;
    border: 1px solid rgba(0, 0, 0, .15);
    box-shadow: 0 6px 12px rgba(0, 0, 0, .175);
  }
}

/* Mobile navigation */
@media (max-width: 767px) {
  .navbar-toggle {
    display: block;
    float: right;
    margin: 8px 0 8px 0;
    padding: 4px 6px;
    border: 1px solid transparent;
    background: none;
    color: #fff;
    font-size: 20px;
    line-height: 1;
    cursor: pointer;
  }
  .navbar-collapse {
    display: none;
    clear: both;
    margin: 0 -15px;
    padding: 0 15px;
  }
  .navbar.menu-open .navbar-collapse {
    display: block;
  }
  .nav {
    margin: 7.5px -15px;
  }
  .nav > li > a,
  .nav > li > button {
    padding: 10px 15px;
    width: 100%;
    text-align: left;
  }
  .dropdown-menu {
    padding: 0;
    background: transparent;
  }
  .dropdown-menu li {
    border-bottom: 0;
  }
  .dropdown-menu a {
    padding: 5px 15px 5px 25px;
    line-height: 20px;
  }
  .dropdown-menu a:hover,
  .dropdown-menu a:focus {
    background: rgba(255, 255, 255, .2);
  }
  .navbar.top-nav-collapse .dropdown-menu a {
    color: #fff;
  }
}

/* ---------- Hero ---------- */

.intro {
  position: relative;
  width: 100%;
  padding: 20% 0 0;
  background: url(../img/bg1.jpg) no-repeat top center;
  background-size: cover;
  text-align: center;
}
@media (min-width: 767px) {
  .intro { min-height: 100vh; }
}

.intro .slogan h1 {
  margin-bottom: 30px;
  font-size: 60px;
  line-height: 60px;
  color: #fff;
  text-shadow: 1px 1px 6px #000;
}
.intro .slogan p {
  margin: 0 0 30px;
  font-family: Raleway, sans-serif;
  font-size: 18px;
  font-weight: 400;
  line-height: 1.1;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: #fff;
  text-shadow: 1px 1px 6px #000;
}

.btn-circle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 70px;
  height: 70px;
  margin: 15px 0;
  border: 2px solid #fff;
  border-radius: 50%;
  font-size: 40px;
  color: #fff;
  background: transparent;
  transition: background .3s ease-in-out;
}
.btn-circle:hover,
.btn-circle:focus {
  color: #fff;
  background: rgba(255, 255, 255, .1);
}
.btn-circle:hover .icon {
  animation: pulse 1.5s linear infinite;
}
.btn-circle.btn-dark {
  border-color: #666;
  color: #666;
}
.btn-circle.btn-dark:hover,
.btn-circle.btn-dark:focus {
  color: #999;
  border-color: #999;
  background: transparent;
}

@keyframes pulse {
  0%   { transform: scale(1); }
  50%  { transform: scale(1.2); }
  100% { transform: scale(1); }
}

@media (max-width: 480px) {
  .intro .slogan h1 {
    font-size: 32px;
    line-height: 60px;
  }
  .btn-circle {
    width: 40px;
    height: 40px;
    margin-top: 10px;
    font-size: 20px;
  }
}

/* ---------- Grid helpers ---------- */

.row {
  display: flex;
  flex-wrap: wrap;
  margin: 0 -15px;
}
.col {
  width: 100%;
  padding: 0 15px;
}
@media (min-width: 992px) {
  .col-md-2  { width: 16.6667%; }
  .col-md-6  { width: 50%; }
}
@media (min-width: 1200px) {
  .col-lg-8  { width: 66.6667%; }
  .col-lg-4  { width: 33.3333%; }
}

/* ---------- Services ---------- */

.service-icon {
  margin-bottom: 20px;
  font-size: 42px;
  line-height: 1;
}
.service-icon .icon {
  display: block;
  margin: 0 auto;
}
.service-box h3 {
  font-size: 14px;
  margin-bottom: 30px;
}

/* ---------- About ---------- */

.boxed-grey {
  background: #f9f9f9;
  padding: 20px;
}
.team h3 {
  font-size: 14px;
  margin-bottom: 10px;
}
.team .subtitle {
  margin-bottom: 10px;
}
.team .avatar {
  margin-bottom: 20px;
}
.team img {
  border-radius: 50%;
  vertical-align: middle;
}
@media (max-width: 991px) {
  .team.boxed-grey { margin-bottom: 30px; }
}

/* ---------- Contact ---------- */

.contact-form .row {
  margin: 0 -15px;
}
.form-group {
  margin-bottom: 15px;
  text-align: left;
}
.form-group label {
  display: block;
  margin-bottom: 5px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
}
.form-group .optional {
  font-weight: 300;
  text-transform: none;
  letter-spacing: 0;
}
.form-control {
  display: block;
  width: 100%;
  height: 34px;
  padding: 6px 12px;
  font-family: inherit;
  font-size: 14px;
  font-weight: 300;
  line-height: 1.42857;
  color: #555;
  background: #fff;
  border: 1px solid #eee;
  border-radius: 0;
  box-shadow: none;
  transition: border-color .15s ease-in-out, box-shadow .15s ease-in-out;
}
.form-control:focus {
  border-color: #66afe9;
  outline: 0;
  box-shadow: 0 1px 2px rgba(0, 0, 0, .05);
}
textarea.form-control {
  height: auto;
  min-height: 178px;
  resize: vertical;
}
.form-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 10px 20px;
}
.form-note {
  flex: 1 1 260px;
  margin: 0;
  font-size: 13px;
  line-height: 1.5;
  text-align: left;
}
.btn {
  display: inline-block;
  padding: 6px 12px;
  border: 1px solid transparent;
  border-radius: 0;
  font-family: Raleway, sans-serif;
  font-size: 14px;
  font-weight: 400;
  line-height: 1.42857;
  text-transform: uppercase;
  color: #666;
  background: #efefef;
  cursor: pointer;
  transition: all .3s ease-in-out;
}
.btn:hover,
.btn:focus {
  color: #fff;
  background-color: #666;
  border-color: #666;
}
.btn .icon {
  margin-right: 6px;
}

.form-status {
  margin-bottom: 15px;
  padding: 15px;
  border: 1px solid;
  font-weight: 600;
  text-align: center;
}
.form-status[hidden] {
  display: none;
}
.form-status.is-error {
  color: #c00;
  border-color: #c00;
}
.form-status.is-info {
  color: #2c6b3f;
  border-color: #2c6b3f;
  font-weight: 400;
}
.form-status.is-info strong {
  font-weight: 700;
}
.link-button {
  padding: 0;
  border: 0;
  background: none;
  font: inherit;
  color: #104c43;
  text-decoration: underline;
  cursor: pointer;
}

.widget-contact {
  text-align: left;
}
.widget-contact h3 {
  font-size: 14px;
  margin-bottom: 30px;
}
.widget-contact address {
  margin-bottom: 20px;
  font-style: normal;
  line-height: 1.42857;
}
.widget-contact strong {
  font-weight: 700;
}
@media (max-width: 1199px) {
  .contact-form-col { margin-bottom: 30px; }
}

.company-social {
  margin: 10px 0 0;
  padding: 0;
  list-style: none;
}
.company-social li {
  display: inline-block;
}
.company-social a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  color: #fff;
  background: #3873ae;
  transition: background .3s ease-in-out;
}
.company-social a:hover,
.company-social a:focus {
  background: #4893ce;
  color: #fff;
}

/* ---------- Legal pages ---------- */

.legal {
  text-align: left;
}
.legal h2 {
  margin: 40px 0 15px;
  font-size: 18px;
}
.legal ul {
  margin: 0 0 20px;
  padding-left: 20px;
  font-size: 16px;
  line-height: 1.6em;
}
.legal .updated {
  font-size: 14px;
  color: #888;
}
.legal address {
  margin: 0 0 20px;
  font-size: 16px;
  font-style: normal;
  line-height: 1.6em;
}

/* ---------- Footer ---------- */

footer {
  padding-bottom: 1px;
  text-align: center;
}
footer p {
  color: #999;
}
footer .footer-links {
  font-size: 14px;
}

/* ---------- Reveal on scroll (replaces wow.js + animate.css) ---------- */

.js .reveal {
  opacity: 0;
  transform: translate3d(0, 20px, 0);
}
.js .reveal.is-visible {
  opacity: 1;
  transform: none;
  transition: opacity 1s ease, transform 1s ease;
  transition-delay: var(--delay, 0s);
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .reveal { opacity: 1; transform: none; }
  .btn-circle:hover .icon { animation: none; }
}
