:root {
  /* Backgrounds */
  --bg-base: #14110d; /* page base — deep warm charcoal */
  --bg-alt: #1c1712; /* alternating section surface */
  --bg-elevated: #241d15; /* cards / form fields / image mattes */
  --bg-nav: #110e0a; /* navbar background */
  --bg-band-start: #221a10; /* #services/#contact full-bleed band gradient start */
  --bg-band-end: #3c2611; /* #services/#contact full-bleed band gradient end */

  /* Text (one unified palette now, since every section is dark) */
  --text-heading: #f5efe4;
  --text-body: #c9c2b5;
  --text-muted: #9a9285;
  --text-on-accent: #1a1207; /* dark text/glyphs on bright amber fills */

  /* Amber / gold accent — primary */
  --accent-amber: #f2a93c;
  --accent-amber-light: #ffce7a;
  --accent-amber-deep: #c9781f;
  --accent-gradient: linear-gradient(to right, #c9781f 0%, #ffce7a 100%);
  --accent-gradient-rev: linear-gradient(to right, #ffce7a 0%, #c9781f 100%);

  /* Cool secondary accent — used sparingly (form focus, quote icon) */
  --accent-cool: #8fd6ff;

  /* Status */
  --color-error: #ff6b5b;

  /* Borders / overlays / shadows */
  --border-warm-subtle: rgba(242, 169, 60, 0.18);
  --border-warm-medium: rgba(242, 169, 60, 0.35);
  --border-input: rgba(242, 169, 60, 0.25);
  --overlay-scrim: rgba(10, 7, 4, 0.62);
  --glow-shadow: rgba(242, 169, 60, 0.35);
}
body,
html {
  font-family: "Open Sans", sans-serif;
  text-rendering: optimizeLegibility !important;
  -webkit-font-smoothing: antialiased !important;
  color: var(--text-body);
  background-color: var(--bg-base);
  font-weight: 400;
  width: 100% !important;
  height: 100% !important;
}
h2,
h3,
h4 {
  font-family: "Raleway", sans-serif;
}
h2 {
  text-transform: uppercase;
  margin: 0 0 20px;
  font-weight: 800;
  font-size: 36px;
  color: var(--text-heading);
}
h3 {
  font-size: 20px;
  font-weight: 600;
  color: var(--text-heading);
}
h4 {
  font-size: 18px;
  color: var(--text-heading);
  font-weight: 600;
}
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: var(--accent-amber);
  font-weight: 400;
}
a:hover,
a:focus {
  text-decoration: none;
  color: var(--accent-amber-light);
}
ul,
ol {
  list-style: none;
}
ul,
ol {
  padding: 0;
  webkit-padding: 0;
  moz-padding: 0;
}
hr {
  height: 2px;
  width: 70px;
  text-align: center;
  position: relative;
  background: var(--accent-amber);
  margin-bottom: 20px;
  border: 0;
}
/* Navigation */
#menu {
  padding: 15px;
  transition: all 0.8s;
}
#menu.navbar-default {
  background-color: var(--bg-nav);
  border-color: rgba(231, 231, 231, 0);
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.4);
}
#menu a.navbar-brand {
  font-family: "Raleway", sans-serif;
  font-size: 24px;
  font-weight: 700;
  color: var(--text-heading);
  text-transform: uppercase;
}
#menu.navbar-default .navbar-nav > li > a {
  font-family: "Lato", sans-serif;
  text-transform: uppercase;
  color: var(--text-body);
  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: var(--accent-gradient);
  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: var(--accent-gradient) !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: var(--bg-elevated);
  border-color: var(--accent-amber);
}
.navbar-default .navbar-toggle:hover > .icon-bar {
  background-color: var(--accent-amber);
}
.section-title {
  margin-bottom: 70px;
}
.section-title h2 {
  position: relative;
  margin-top: 10px;
  margin-bottom: 15px;
  padding-bottom: 15px;
}
.section-title h2::after {
  position: absolute;
  content: "";
  background: var(--accent-gradient-rev);
  height: 4px;
  width: 60px;
  bottom: 0;
  margin-left: -30px;
  left: 50%;
}
.section-title p {
  font-size: 18px;
}
.btn-custom {
  font-family: "Raleway", sans-serif;
  text-transform: uppercase;
  color: var(--text-on-accent);
  background-color: var(--accent-amber);
  background-image: var(--accent-gradient);
  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: var(--text-on-accent);
  background-image: none;
  background-color: var(--accent-amber-deep);
}
.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 {
  position: relative;
  display: table;
  width: 100%;
  padding: 0;
  background-color: var(--bg-base);
  overflow: hidden;
}
.intro-carousel {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
}
.intro-carousel-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-position: center center;
  background-repeat: no-repeat;
  -webkit-background-size: cover;
  -moz-background-size: cover;
  background-size: cover;
  -o-background-size: cover;
  opacity: 0;
  transition: opacity 1.5s ease-in-out;
}
.intro-carousel-slide.active {
  opacity: 1;
}
.intro .overlay {
  position: relative;
  z-index: 1;
  background: var(--overlay-scrim);
}
.intro h1 {
  font-family: "Raleway", sans-serif;
  color: var(--text-heading);
  font-size: 82px;
  font-weight: 700;
  text-transform: uppercase;
  margin-top: 0;
  margin-bottom: 10px;
}
.intro h1 span {
  font-weight: 800;
  color: var(--accent-amber-light);
}
.intro-subtitle {
  font-family: "Raleway", sans-serif;
  color: var(--accent-amber-light);
  font-size: 24px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 3px;
  margin: 0 0 20px;
}
.intro p {
  color: var(--text-heading);
  font-size: 22px;
  font-weight: 300;
  line-height: 30px;
  margin: 0 auto;
  margin-bottom: 60px;
}
header .intro-text {
  padding-top: 350px;
  padding-bottom: 200px;
  text-align: center;
}
/* Features Section */
#features {
  padding: 100px 0;
  background: var(--bg-alt);
}
#features i.fa {
  font-size: 38px;
  margin-bottom: 20px;
  transition: all 0.5s;
  color: var(--text-on-accent);
  width: 100px;
  height: 100px;
  padding: 30px 0;
  border-radius: 50%;
  background: var(--accent-gradient);
  box-shadow: 10px 10px 10px var(--glow-shadow);
}
/* About Section */
#about {
  padding: 100px 0;
}
#about h3 {
  font-size: 22px;
  margin: 0 0 20px;
}
#about h2 {
  position: relative;
  margin-bottom: 15px;
  padding-bottom: 15px;
}
#about h2::after {
  position: absolute;
  content: "";
  background: var(--accent-gradient-rev);
  height: 4px;
  width: 60px;
  bottom: 0;
  left: 0;
}
#about .about-text li {
  margin-bottom: 6px;
  margin-left: 6px;
  list-style: none;
  padding: 0;
}
#about .about-text li:before {
  content: "\f00c";
  font-family: "FontAwesome";
  color: var(--accent-amber);
  font-size: 11px;
  font-weight: 300;
  padding-right: 8px;
}
#about img {
  max-width: 520px;
  width: 100%;
  height: auto;
  margin-top: 10px;
  background: var(--bg-elevated);
  border-right: 0;
  box-shadow: 0 0 50px rgba(0, 0, 0, 0.5);
}
#about p {
  line-height: 24px;
  margin: 30px 0;
}
/* Services Section */
#services {
  padding: 100px 0;
  background: linear-gradient(to right, var(--bg-band-start), var(--bg-band-end));
  border-top: 1px solid var(--border-warm-medium);
  border-bottom: 1px solid var(--border-warm-medium);
  color: var(--text-heading);
}
#services .service-desc {
  margin: 10px 10px 20px;
}
#services h2 {
  color: var(--text-heading);
}
#services .section-title h2::after {
  position: absolute;
  content: "";
  background: var(--accent-amber);
  height: 4px;
  width: 60px;
  bottom: 0;
  margin-left: -30px;
  left: 50%;
}
#services i.fa {
  font-size: 42px;
  width: 120px;
  height: 120px;
  padding: 40px 0;
  background: var(--accent-gradient);
  border-radius: 50%;
  color: var(--text-on-accent);
  box-shadow: 10px 10px 10px var(--glow-shadow);
}
#services h3 {
  font-weight: 500;
  padding: 5px 0;
  color: var(--text-heading);
}
#services p {
  color: var(--text-body);
}
#services .service-desc {
  margin-bottom: 40px;
}
/* Portfolio Section */
#portfolio {
  padding: 100px 0;
}
.portfolio-item {
  margin: 1px -15px 0 -14px;
  padding: 0;
}
.portfolio-item .hover-bg {
  overflow: hidden;
  position: relative;
  margin: 0;
}
.hover-bg .hover-text {
  position: absolute;
  text-align: center;
  margin: 0 auto;
  color: var(--text-heading);
  background: linear-gradient(
    to right,
    rgba(34, 26, 16, 0.92) 0%,
    rgba(201, 120, 31, 0.88) 100%
  );
  padding: 30% 0 0;
  height: 100%;
  width: 100%;
  opacity: 0;
  transition: all 0.5s;
}
.hover-bg .hover-text > h4 {
  opacity: 0;
  color: var(--text-heading);
  -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: var(--bg-alt);
}
#testimonials i {
  color: rgba(143, 214, 255, 0.3);
  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: 14px;
  font-style: italic;
}
.testimonial-meta {
  margin-top: 10px;
  font-size: 15px;
  font-weight: 600;
  color: var(--text-muted);
}
/* Team Section */
#team {
  padding: 100px 0;
}
#team h4 {
  margin: 5px 0;
}
#team .team-img {
  width: 240px;
  max-width: 100%;
  height: auto;
}
#team .thumbnail {
  background: transparent;
  border: 0;
}
#team .thumbnail .caption {
  padding: 10px 0 0;
  color: var(--text-muted);
}
/* Contact Section */
#contact {
  padding: 100px 0 60px;
  background: linear-gradient(to right, var(--bg-band-start), var(--bg-band-end));
  border-top: 1px solid var(--border-warm-medium);
  border-bottom: 1px solid var(--border-warm-medium);
  color: var(--text-body);
}
#contact .section-title {
  margin-bottom: 40px;
}
#contact .section-title p {
  font-size: 16px;
}
#contact h2 {
  color: var(--text-heading);
  margin-top: 10px;
  margin-bottom: 15px;
  padding-bottom: 15px;
}
#contact .section-title h2::after {
  position: absolute;
  content: "";
  background: var(--accent-amber);
  height: 4px;
  width: 60px;
  bottom: 0;
  left: 30px;
}
#contact h3 {
  color: var(--text-heading);
  margin-top: 80px;
  margin-bottom: 25px;
  padding-bottom: 20px;
  font-weight: 400;
}
#contact form {
  padding-top: 20px;
}
#contact .text-danger {
  color: var(--color-error);
  text-align: left;
}
#contact .btn-custom {
  margin: 30px 0;
  background: transparent;
  border: 2px solid var(--accent-amber);
  color: var(--accent-amber);
}
#contact .btn-custom:hover {
  color: var(--text-on-accent);
  background: var(--accent-amber);
}
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: var(--text-heading);
  background-color: var(--bg-elevated);
  background-image: none;
  border: 1px solid var(--border-input);
  border-radius: 0;
  -webkit-box-shadow: none;
  box-shadow: none;
  -webkit-transition: none;
  -o-transition: none;
  transition: none;
}
#contact .form-control:focus {
  border-color: var(--accent-cool);
  outline: 0;
  -webkit-box-shadow: 0 0 0 3px rgba(143, 214, 255, 0.25);
  box-shadow: 0 0 0 3px rgba(143, 214, 255, 0.25);
}
.form-control::-webkit-input-placeholder {
  color: var(--text-muted);
}
.form-control:-moz-placeholder {
  color: var(--text-muted);
}
.form-control::-moz-placeholder {
  color: var(--text-muted);
}
.form-control:-ms-input-placeholder {
  color: var(--text-muted);
}
#contact .contact-item {
  margin: 20px 0;
}
#contact .contact-item span {
  color: var(--text-heading);
  margin-bottom: 10px;
  display: block;
}
#contact .contact-item i.fa {
  margin-right: 10px;
}
#contact .social {
  border-top: 1px solid var(--border-warm-subtle);
  padding-top: 50px;
  margin-top: 50px;
  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 var(--accent-amber);
  color: var(--accent-amber);
  border-radius: 50%;
  transition: all 0.3s;
}
#contact .social i.fa:hover {
  color: var(--text-on-accent);
  background: var(--accent-amber);
}
/* Footer Section*/
#footer {
  background: var(--bg-alt);
  padding: 30px 0;
}
#footer p {
  color: var(--text-muted);
  font-size: 14px;
}
#footer a {
  color: var(--accent-amber);
}
#footer a:hover {
  border-bottom: 2px solid var(--accent-amber-light);
}

@media (max-width: 768px) {
  #features .col-xs-12 {
    padding-bottom: 30px;
  }
  #features .col-xs-12:last-child {
    padding-bottom: 0;
  }
  #about img {
    margin: 50px 0;
  }
  .intro h1 {
    font-size: 42px;
  }
  .intro p {
    font-size: 18px;
    margin-bottom: 30px;
  }
  header .intro-text {
    padding-top: 150px;
    padding-bottom: 100px;
  }
}

@media (max-width: 400px) {
  .intro h1 {
    font-size: 32px;
  }
}
