/*!
 * Teal & Gold theme override
 * Load AFTER your existing Bootstrap/theme stylesheet:
 *   <link rel="stylesheet" href="css/style.css">
	<link rel="stylesheet" href="css/theme-teal-gold.css">
 *   <link rel="stylesheet" href="css/theme-teal-gold.css">
 *
 * Change the variables below to re-tune the whole palette.
 */
:root {
  --theme-primary:      #0f766e; /* was #323edd (royal blue) */
  --theme-primary-dark: #0a5550;
  --theme-primary-mid:  #0d6963;
  --theme-accent:       #e0a526; /* was #ffa41b (orange)     */
  --theme-navy:         #0b1f2a; /* was #090f35              */
  --theme-footer:       #071820; /* was #05091f              */
  --theme-overlay:      #08171e; /* was #060a24              */
  --theme-hero-overlay: #0b5d58; /* was #212cc5              */
  --theme-text:         #5f6b73; /* was #999999 (more legible) */
}

body { color: var(--theme-text); }

/* ---------- Links & text ---------- */
a, a:hover, a:focus { color: var(--theme-primary); }
.text-primary { color: var(--theme-primary) !important; }
a.text-primary:hover, a.text-primary:focus { color: var(--theme-primary-dark) !important; }
.bg-primary { background: var(--theme-primary) !important; }

/* ---------- Top bar ---------- */
.wrap { background: var(--theme-navy); }

/* ---------- Navbar ---------- */
.ftco-navbar-light .navbar-brand,
.ftco-navbar-light .navbar-brand:hover,
.ftco-navbar-light.scrolled .navbar-brand { color: var(--theme-primary); }
.ftco-navbar-light .navbar-brand span { color: var(--theme-navy); }
.ftco-navbar-light.scrolled .navbar-brand span { color: var(--theme-accent); }
@media (max-width: 991.98px) {
  .ftco-navbar-light .navbar-brand span { color: var(--theme-accent); }
  .ftco-navbar-light .navbar-nav > .nav-item.active > a { color: var(--theme-accent); }
}
.ftco-navbar-light .navbar-nav > .nav-item.active > a,
.ftco-navbar-light.scrolled .nav-item.active > a,
.ftco-navbar-light.scrolled .nav-link.active { color: var(--theme-primary) !important; }
.ftco-navbar-light .navbar-toggler:hover,
.ftco-navbar-light .navbar-toggler:focus { color: var(--theme-primary); }
.ftco-navbar-light .navbar-nav > .nav-item.cta > a,
.ftco-navbar-light .navbar-nav > .nav-item.cta > a:hover,
.ftco-navbar-light.scrolled .nav-item.cta > a {
  background: var(--theme-primary);
  border-color: var(--theme-primary);
}
.ftco-navbar-light .navbar-nav > .nav-item.cta.cta-colored a {
  background: var(--theme-accent) !important;
  border-color: var(--theme-accent);
}
.ftco-navbar-light.scrolled .nav-item.cta.cta-colored span { border-color: var(--theme-primary); }

/* ---------- Hero ---------- */
.hero-wrap .overlay { background: var(--theme-overlay); }
.hero-wrap.hero-wrap-2 .overlay { background: var(--theme-hero-overlay); }
.slider-text .breadcrumbs span a:hover,
.slider-text .breadcrumbs span a:focus,
.slider-text .breadcrumbs span a:hover i,
.slider-text .breadcrumbs span a:focus i { color: var(--theme-accent); }

/* ---------- Intro service boxes ---------- */
.ftco-intro .services-1          { background: var(--theme-primary); }
.ftco-intro .services-1.color-1  { background: #0d6f68; }
.ftco-intro .services-1.color-2  { background: #0c6862; }
.ftco-intro .services-1:hover    { background: #0a5f59; }
.ftco-intro .services-1:hover:after,
.ftco-intro .services-1:hover:before,
.ftco-intro .services-1:hover .line:before,
.ftco-intro .services-1:hover .line:after { background: var(--theme-accent); }
.ftco-intro .services-1:hover .icon span,
.ftco-intro .services-1:hover h3 { color: var(--theme-accent); }

/* ---------- Buttons ---------- */
.btn.btn-primary {
  background: var(--theme-primary) !important;
  border: 1px solid var(--theme-primary) !important;
  color: #fff !important;
}
.btn.btn-primary:hover {
  background: var(--theme-primary-dark) !important;
  border-color: var(--theme-primary-dark) !important;
  color: #fff !important;
}
.btn.btn-primary.btn-outline-primary {
  background: transparent !important;
  color: var(--theme-primary) !important;
}
.btn.btn-primary.btn-outline-primary:hover {
  background: var(--theme-primary) !important;
  color: #fff !important;
}
.btn.btn-outline-white:hover,
.btn.btn-outline-white:focus,
.btn.btn-outline-white:active { color: var(--theme-primary); }

/* ---------- Projects ---------- */
.project .text h3,
.project .text h3 a,
.project .text .star span { color: var(--theme-primary); }
.project:hover .text .price,
.project:focus .text .price { background: var(--theme-primary); }

/* ---------- Services ---------- */
.services { background: var(--theme-primary); }
.services:hover { background: var(--theme-accent); }
.services-2 .icon span { color: var(--theme-primary); }

/* ---------- FAQ accordion ---------- */
.ftco-faqs button[aria-expanded="true"] { background-color: var(--theme-primary); }
.ftco-faqs .card-body { background: var(--theme-accent); color: #1d1a10; }

/* ---------- Forms ---------- */
.form-control:focus,
.form-control:active { border-color: var(--theme-primary); }
.contactForm .label { color: var(--theme-primary) !important; }
.contactForm .form-control:focus,
.contactForm .form-control:active { border-color: var(--theme-primary) !important; }
.appointment .form-control { color: rgba(0, 0, 0, 0.8) !important; }
.ftco-appointment .overlay { background: var(--theme-overlay); }

/* ---------- Footer ---------- */
.ftco-footer { background: var(--theme-footer); }
.ftco-footer .ftco-footer-logo { color: var(--theme-accent) !important; }
.ftco-footer .ftco-footer-logo span { color: #fff; }
.ftco-footer-social li a:hover span { color: var(--theme-accent) !important; }

/* ---------- Headings ---------- */
.heading-section h2 span { color: var(--theme-primary); }
.heading-section.heading-section-white h2 span { color: var(--theme-accent); }

/* ---------- Contact ---------- */
.dbox p a { color: var(--theme-primary); }
.dbox .icon { background: var(--theme-primary); }

/* ---------- Testimonials ---------- */
.testimony-section .overlay-1 { background: var(--theme-overlay); }
.testimony-section .owl-carousel .owl-stage-outer .owl-item.active.center .testimony-wrap .text .name { color: var(--theme-accent); }
.testimony-section .owl-carousel .owl-stage-outer .owl-item.active.center .testimony-wrap .text .line:before,
.testimony-section .owl-carousel .owl-stage-outer .owl-item.active.center .testimony-wrap .text .line:after,
.testimony-section .owl-carousel .owl-stage-outer .owl-item.active.center .testimony-wrap .text:before,
.testimony-section .owl-carousel .owl-stage-outer .owl-item.active.center .testimony-wrap .text:after { background: var(--theme-accent); }
.testimony-section .owl-dots .owl-dot.active { background: var(--theme-accent); }
.testimony-wrap .overlay { background: var(--theme-overlay); }

/* ---------- Blog & sidebar ---------- */
.blog-entry .text .heading a:hover,
.blog-entry .text .heading a:focus,
.blog-entry .text .heading a:active,
.block-21 .text .heading a:hover,
.block-21 .text .heading a:focus,
.block-21 .text .heading a:active { color: var(--theme-primary); }
.blog-entry span.day,
.blog-entry span.yr,
.blog-entry span.mos { color: var(--theme-primary); }
.comment-list li .comment-body .meta { color: var(--theme-primary); }
.block-27 ul li a,
.block-27 ul li span { color: var(--theme-accent); }
.block-27 ul li.active a,
.block-27 ul li.active span { background: var(--theme-accent); color: #1d1a10; }

/* ---------- Bootstrap core blue -> teal ---------- */
.btn-primary { background-color: var(--theme-primary); border-color: var(--theme-primary); }
.btn-primary:hover { background-color: var(--theme-primary-mid); border-color: var(--theme-primary-dark); }
.btn-outline-primary { color: var(--theme-primary); border-color: var(--theme-primary); }
.btn-outline-primary:hover { background-color: var(--theme-primary); border-color: var(--theme-primary); }
.btn-link { color: var(--theme-primary); }
.btn:focus, .form-control:focus, .custom-select:focus, .page-link:focus {
  box-shadow: 0 0 0 0.2rem rgba(15, 118, 110, 0.25);
}
.form-control:focus, .custom-select:focus { border-color: #5fb8b0; }
.page-link { color: var(--theme-primary); }
.page-item.active .page-link { background-color: var(--theme-primary); border-color: var(--theme-primary); }
.nav-pills .nav-link.active, .nav-pills .show > .nav-link,
.dropdown-item.active, .dropdown-item:active,
.list-group-item.active { background-color: var(--theme-primary); border-color: var(--theme-primary); }
.badge-primary { background-color: var(--theme-primary); }
.progress-bar { background-color: var(--theme-primary); }
.custom-control-input:checked ~ .custom-control-label::before {
  border-color: var(--theme-primary);
  background-color: var(--theme-primary);
}
.alert-primary { color: #0a4a45; background-color: #d0ede9; border-color: #b6e2dd; }
.table-primary, .table-primary > th, .table-primary > td { background-color: #b6e2dd; }