body,
html {
  font-family: "Open Sans", sans-serif;
  text-rendering: optimizeLegibility !important;
  -webkit-font-smoothing: antialiased !important;
  color: #777;
  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: #fff;
}
h3 {
  font-size: 20px;
  font-weight: 600;
  color: #fff;
}
h4 {
  font-size: 18px;
  color: #fff;
  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: #ffffff;
  font-weight: 400;
}
a:hover,
a:focus {
  text-decoration: none;
  color: #7c2020;
}
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: #1e7a46;
  margin-bottom: 20px;
  border: 0;
}

/* Navigation */
#menu {
  padding: 15px;
  transition: all 0.8s;
}
#menu.navbar-default {
  background-color: #202020;
  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: #ffffff;
  text-transform: uppercase;
}
#menu.navbar-default .navbar-nav > li > a {
  font-family: "Lato", sans-serif;
  text-transform: uppercase;
  color: #ffffff;
  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, #961919 0%, #833434 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, #ad7f7f 0%, #873d3d 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: #7a1f1f;
}
.navbar-default .navbar-toggle:hover > .icon-bar {
  background-color: #7f2020;
}
.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: linear-gradient(to right, #fff 0%, #fff 100%);

  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: #fff;
  background-color: #961919;
  background-image: linear-gradient(to right, #5a3c3c9b 0%, #832121c3 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: #b61a1a;
}
.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;
}

.collapse.navbar-collapse {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.nav.navbar-nav.navbar-right {
  margin-right: auto;
}

.navbar-right {
  display: flex;
  align-items: center;
}

/* Show nav always on desktop */
@media (min-width: 768px) {
  .responsive-nav {
    display: block !important;
  }
}

/* Hide nav by default on mobile */
@media (max-width: 767px) {
  .responsive-nav {
    display: none !important;
  }

  .responsive-nav.open {
    display: block !important;
  }

  /* Stack nav items vertically in mobile */
  .responsive-nav .navbar-nav {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }

  .responsive-nav .navbar-nav li {
    width: 100%;
  }

  .responsive-nav .navbar-nav li a {
    display: block;
    width: 100%;
    padding: 10px 15px;
  }
}

/* Banner */
.top-banner {
  position: relative;
  width: 100%;
  background-color: #f9ff9f; /* Tailwind's blue-600 */
  color: black;
  padding: 1rem;
  z-index: 999;
  display: flex;
  justify-content: space-between;
  align-items: center;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.banner-close {
  background: none;
  border: none;
  font-size: 1.5rem;
  color: black;
  cursor: pointer;
  transition: color 0.2s;
}

.banner-close:hover {
  color: #000000; /* Tailwind's gray-200 */
}

/* Header Section */
.full-screen {
  height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  background: #000;
  color: #fff;
  position: relative;
}

@media (max-width: 767px) {
  .full-screen {
    height: 67vh;
    padding: 20px;
  }
}

.intro {
  height: 100vh;
  width: 100%;
  background-color: #e5e5e5;
  -webkit-background-size: cover;
  -moz-background-size: cover;
  background-size: cover;
  -o-background-size: cover;
  position: absolute;
  top: 0;
  left: 0;
  transition: opacity 1s ease-in-out;
}

@media (max-width: 767px) {
  .intro {
    height: 67vh;
    width: 100%;
    background-color: #e5e5e5;
    -webkit-background-size: cover;
    -moz-background-size: cover;
    background-size: cover;
    -o-background-size: cover;
    background-position: center;
    position: absolute;
    top: 0;
    left: 0;
    transition: opacity 1s ease-in-out;
  }
}

.intro.fade {
  opacity: 0;
}

.overlay {
  height: 100vh;
  width: 100%;
  background: rgba(0, 0, 0, 0.2);
  position: absolute;
  top: 0;
  left: 0;
  display: flex;
  justify-content: center;
  align-items: center;
}

@media (max-width: 767px) {
  .overlay {
    height: 67vh;
    width: 100%;
    background: rgba(0, 0, 0, 0.2);
    position: absolute;
    top: 0;
    left: 0;
    display: flex;
    justify-content: center;
    align-items: center;
  }
}

.overlay h1 {
  font-family: "Raleway", sans-serif;
  color: #fff;
  font-size: 82px;
  font-weight: 700;
  text-transform: uppercase;
  margin-top: 0;
  margin-bottom: 10px;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 1);
}

.overlay h1 span {
  font-weight: 800;
  color: #7b2424;
}

.overlay p {
  color: #fff;
  font-size: 22px;
  font-weight: 300;
  line-height: 30px;
  margin: 0 auto;
  margin-bottom: 60px;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 1);
}

header .overlay-text {
  padding-top: 200px;
  padding-bottom: 200px;
  text-align: center;
}

/* Features Section */
#features {
  background: #f6f6f6;
}
#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, #961919 0%, #833434 100%);
  box-shadow: 10px 10px 10px rgba(0, 0, 0, 0.05);
}
/* About Section */
#about {
  padding: 100px 0;
  background: linear-gradient(to right, #961919 0%, #833434 100%);
}

@media (max-width: 767px) {
  #about {
    padding: 50px 0;
    /*background: linear-gradient(to right, #961919 0%, #833434 100%);*/
    background: linear-gradient(to right, #424242 0%, #535353 100%);
    color: #ffffff;
  }
}

#about h3 {
  font-size: 22px;
  margin: 0 0 20px;

}
#about p{
  color: #ffffff;
  text-align: left;
    margin: 10px 0;
}
#about h2 {
  position: relative;
  margin-bottom: 15px;
  padding-bottom: 15px;
}
#about h2::after {
  position: absolute;
  content: "";
  background: linear-gradient(to right, #ffffff 0%, #ffffff 100%) ;
  height: 4px;
  width: 60px;
  bottom: 0;
  left: 0;
}
/* Mobile styles */
@media (max-width: 767px) {
  #about h2::after {
    left: 50%;           /* move left edge to 50% of h2 */
    transform: translateX(-50%);  /* shift left by 50% of its own width to center */
  }
}
#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: #ffffff;
  font-size: 11px;
  font-weight: 300;
  padding-right: 8px;
}
#about img {
  width: 520px;
  margin-top: 10px;
  background: #fff;
  border-right: 0;
  box-shadow: 0 0 50px rgba(0, 0, 0, 0.06);
}
#about p {
  line-height: 24px;
  margin: 30px 0;
}
@media (max-width: 767px) {
  #about .row {
    display: flex;
    flex-direction: column-reverse;
  }
}
/* Center align only on small/mobile screens */
@media (max-width: 767px) {
  .about-text-container {
    text-align: center;
  }
}
@media (max-width: 767px) {
  /* Center image container */
  .image-container {
    text-align: center;
  }

  /* Make image inline-block for better centering */
  .image-container img {
    display: inline-block;
    max-width: 100%;
    height: auto;
  }

  /* Center the about-text content (heading, paragraphs) */
  .about-text-container {
    text-align: center;
  }

  /* Center the divider */
  .divider {
    margin-left: auto;
    margin-right: auto;
    /* if divider has fixed width */
    width: 50px; /* or whatever width your divider is */
  }
}
/* Services Section */
#services .row {
  margin-left: 0;
  margin-right: 0;
}

#services .row > [class*='col-'] {
  padding-left: 0;
  padding-right: 0;
}
#services {
  padding: 100px 0;
  background: linear-gradient(to right, #424242 0%, #535353 100%);
  color: #ffffff;
}
@media (max-width: 767px) {
  #services {
    padding: 50px 0;
    background: linear-gradient(to right, #424242 0%, #535353 100%);
    color: #ffffff;
  }
}
#services .service-desc {
  margin: 10px 10px 20px;
}
#services h2 {
  color: #e8e8e8;
}
#services .section-title h2::after {
  position: absolute;
  content: "";
  background: rgba(255, 255, 255, .80);
  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: linear-gradient(to right, #961919 0%, #833434 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: #e8e8e8;
}
#services p {
  color: #e8e8e8;
}
#services .service-desc {
  margin-bottom: 40px;
}
/* Portfolio Section */
#portfolio {
  padding: 100px 0;
  background: linear-gradient(to right, #961919 0%, #833434 100%);

}
#portfolio p {
  color: #fff;
}

.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: #fff;
  background: linear-gradient(
    to right,
    rgba(214, 140, 140, 0.8) 0%,
    rgba(156, 76, 76, 0.8) 50%
  );
  padding: 30% 0 0;
  height: 100%;
  width: 100%;
  opacity: 0;
  transition: all 1s;
}
.hover-bg .hover-text > h4 {
  opacity: 0;
  color: #fff;
  -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;
}

/* Team Section */
#team {
  padding: 100px 0;
  background: linear-gradient(to right, #424242 0%, #535353 100%);

}
#team h2::after {
  position: absolute;
  content: "";
  background: linear-gradient(to right, #fff 0%, #fff 100%) ;
  height: 4px;
  width: 60px;
  bottom: 0;
  margin-left: -30px;
  left: 50%;
}

#team h2 {
  color: #d6d6d6;
}
#team p {
  color: #d6d6d6;
}


#team h4 {
  font-weight: 600;
  padding: 5px 0;
  color: #dfdfdf;
}

#team .team-img {
  width: 240px;
}
#team .thumbnail {
  background: transparent;
  border: 0;
}
#team .thumbnail .caption {
  padding: 10px 0 0;
  color: #e4e4e4;
}
/* Contact Section */
#contact {
  padding: 100px 0 60px;
  background: linear-gradient(to right, #961919 0%, #833434 100%);
  color: rgba(255, 255, 255, 0.75);
}
@media (max-width: 767px) {
  #contact {
    padding: 50px 0 60px;
    /*background: linear-gradient(to right, #961919 0%, #833434 100%);
    color: rgba(255, 255, 255, 0.75);*/
    background: linear-gradient(to right, #424242 0%, #535353 100%);
    color: #ffffff;
  }
}
#contact .section-title {
  margin-bottom: 40px;
}
#contact .section-title p {
  font-size: 16px;
}
#contact h2 {
  color: #fff;
  margin-top: 10px;
  margin-bottom: 15px;
  padding-bottom: 15px;
}

#contact .section-title h2::after {
  position: absolute;
  content: "";
  background: #fff;
  height: 4px;
  width: 60px;
  bottom: 0;
  left: 30px;
}

@media (max-width: 767px) {
  #contact .section-title {
    margin-bottom: 70px;
  }
  #contact .section-title h2 {
    position: relative;
    margin-bottom: 15px;
    padding-bottom: 15px;
    text-align: center;
  }
  #contact .section-title h2::after {
    position: absolute;
    content: "";
    background: linear-gradient(to right, #fff 0%, #fff 100%);

    height: 4px;
    width: 60px;
    bottom: 0;
    margin-left: -30px;
    left: 50%;
  }
  #contact .section-title p {
    font-size: 18px;
  }
}
#contact h3 {
  color: #fff;
  margin-top: 80px;
  margin-bottom: 25px;
  padding-bottom: 20px;
  font-weight: 400;
}
#contact form {
  padding-top: 0px;
}
#contact .text-danger {
  color: #cc0033;
  text-align: left;
}
#contact .btn-custom {
  margin: 30px 0;
  background: transparent;
  border: 2px solid #fff;
}
#contact .btn-custom:hover {
  color: #1f386e;
  background: #fff;
}
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 #ddd;
  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: rgba(255, 255, 255, 1);
  margin-bottom: 10px;
  display: block;
}
#contact .contact-item i.fa {
  margin-right: 10px;
}
#contact .social {
  /*border-top: 1px solid rgba(0, 0, 0, 0.15);*/
  padding-top: 10px;
  margin-top: 10px;
  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 #fff;
  color: #fff;
  border-radius: 50%;
  transition: all 0.3s;
}
#contact .social i.fa:hover {
  color: #db0000;
  background: #fff;
}
/* Footer Section*/
#footer {
  /* background: #424242; */
  background: #202020;
  padding: 30px 0;
}
#footer p {
  color: #888;
  font-size: 16px;
}
#footer a {
  color: #db0000;
}
#footer a:hover {
  border-bottom: 2px solid #db0000;
}

@media (max-width: 768px) {
  #about img {
    margin: 10px 0;
  }
}
