body,
html {
  overflow-x: hidden;
}

body {
  background-color: #ffffff;
  font-family: "Open Sans", Arial, Helvetice Neue, sans-serif;
  font-size: 12px;

  font-weight: 300;
  font-style: normal;
  -webkit-font-smoothing: antialiased; /* Fix for webkit rendering */
  -webkit-text-size-adjust: 100%;
}

h1,
h2,
h3,
h4,
h5,
h6,
span,
p {
  font-family: "Open Sans", Arial, Helvetice Neue, sans-serif;
}

* {
  -webkit-border-radius: 0 !important;
  -moz-border-radius: 0 !important;
  border-radius: 0 !important;
}

/* top bar and top menu*/

.my-container {
  width: 1500px; /* or any value you want */
  max-width: 100%; /* prevents overflow */
  margin: 0 auto; /* centers the container */
}

.templatemo-top-bar {
  min-height: 40px;
  margin-right: 90px;
  width: 100%;
  background-color: #eeeeee;
}
.templatemo-top-menu {
  /* optional: stays on top */
  top: 0;
  width: 100%;
  z-index: 5000;
  /* FIX: Remove any bottom border from the menu wrapper */
  border-bottom: 0 !important;
  border: none !important;
}

/* Glass blur effect */
.templatemo-top-menu .navbar,
.templatemo-top-menu .navbar-default {
  background: rgba(255, 255, 255, 0.2) !important; /* slightly transparent */
  backdrop-filter: blur(12px); /* blur the background */
  -webkit-backdrop-filter: blur(12px); /* Safari support */
  border: none !important;
  /* FIX: Ensure box-shadow is fully removed, which can look like a line */
  -webkit-box-shadow: none !important;
  box-shadow: none !important;
}

.templatemo_clear {
  clear: both;
}

.height30 {
  height: 30px;
}
.m-container {
  width: 1000px; /* or any value you want */
  max-width: 100%; /* prevents overflow */
  margin: 0 auto;
  align-items: center;
}

/* ------ Carousel ----- */
#templatemo-carousel {
  background: url("../images/COver.jpg") no-repeat center top;
  -webkit-background-size: contain;
  -moz-background-size: contain;
  -o-background-size: contain;

  margin-top: 20px;
  background-size: contain;
  background-size: cover;
  overflow-x: hidden;
  margin-bottom: 0;
  height: 800px;
}

#templatemo-carousel .carousel-caption {
  z-index: 10;
}

#templatemo-carousel .item {
  height: 500px;
}
#templatemo-carousel .carousel-inner > .item > img {
  position: absolute;
  min-width: 100%;
  height: 500px;
  left: 0;
  top: 0;
}

@media (min-width: 768px) {
  #templatemo-carousel .carousel-caption p {
    margin-bottom: 20px;
    line-height: 1.4;
    font-size: 21px;
  }

  #templatemo-carousel .carousel-caption {
    padding-bottom: 140px;
    right: 20%;
    left: 20%;
  }
}

@media (max-width: 768px) {
  #templatemo-carousel .carousel-caption {
    padding-bottom: 120px;
  }
}

/* ------ Welcome & Slogna ------ */
.templatemo-welcome {
  border-bottom: 1px solid #cccccc;
  min-height: 230px;
}

.templatemo-slogan {
  font-family: "Open Sans", sans-serif;
  font-weight: normal;
  font-size: 42px;
  margin: 60px 0;
  color: #333333;
}

.templatemo-service {
  margin-bottom: 100px;
  margin-top: 100px;
}

.templatemo-service-item {
  font-family: "Open Sans", sans-serif;
  margin-bottom: 10px;
  font-size: 20px;
}

.templatemo-service-item p {
  font-weight: lighter;
  text-align: justify;
  margin-top: 25px;
  font-size: 14px;
  color: #929292;
}

.subheader {
  font-family: "Open Sans", sans-serif;
  font-weight: normal;
  margin-top: 12px;
  font-size: 12px;
  color: #e67e22;
}

.btn-orange {
  background-color: #ff7600;
  border-bottom: 2px solid #d35400;
  -webkit-border-radius: 0;
  -moz-border-radius: 0;
  border-radius: 0;
  color: #ffffff;
}

.btn-orange:hover,
.btn-orange:focus,
.btn-orange:active,
.btn-orange.active,
.open .dropdown-toggle.btn-orange {
  background-color: #d35400;
  color: #ffffff;
}

.btn-green {
  background-color: #2ecc71;
  border-bottom: 2px solid #27ae60;
  -webkit-border-radius: 0;
  -moz-border-radius: 0;
  border-radius: 0;
  color: #ffffff;
}

.btn-green:hover,
.btn-green:focus,
.btn-green:active,
.btn-green.active,
.open .dropdown-toggle.btn-green {
  background-color: #27ae60;
  color: #ffffff;
}

.nav > li > a {
  padding: 10px 20px;
}

.nav > li > a:hover,
.nav > li > a:focus {
  background-color: #ff7600;
  color: #fff;
}

.navbar-default .navbar-nav > li > a:hover,
.navbar-default .navbar-nav > li > a:focus {
  background-color: #ff7600;
  color: #fff;
}

.nav > li > a {
  color: #929292;
}
.navbar-default {
  background-color: #fff;
  border: none;
  /* FIX: Specific targeting to eliminate the default Bootstrap line */
  border-width: 0 !important;
}

.navbar-default .navbar-nav > .active > a,
.navbar-default .navbar-nav > .active > a:hover,
.navbar-default .navbar-nav > .active > a:focus {
  background-color: #ff7600;
  color: #fff;
}

.navbar {
  margin-bottom: 0px;
  /* FIX: Ensure the general navbar class has no bottom border */
  border-bottom: 0 !important;
  border: none !important;
}
/* Ensure the margin bottom for the service item is zero */
.templatemo-service-item {
  /* ... other styles ... */
  margin-bottom: 0;
}
.templatemo-service-item-header {
  margin-left: -10px;
  padding: 16px 20px 20px;
  font-weight: bold;
  display: inline-block;
}

.templatemo-header-orange {
  background-color: #ff7600;
  min-width: 298px;
  height: 67px;
  color: #fff;
}

.team_hr {
  border: 1px solid #fff;
  width: 39.5%;
  float: left;
}

.team_hr_left {
  margin-right: 50px;
  margin-left: 15px;
}

.team_hr_right {
  margin-left: 30px;
}


.team_hr_leftt {
  margin-right: 20px;
  margin-left: 15px;
}

.team_hr_rightt {
  margin-left: 30px;
}


.hr_gray {
  border: 1px solid #cccccc;
}

.templatemo-line-header {
  margin-top: 90px;
  margin-bottom: 80px;
}


.team-inner {
  margin-top: 10px;
}

.team-inner-header {
  font-family: "Open Sans", sans-serif;
  font-weight: 600;
  font-size: 16px;
}

.team-inner-subtext {
  font-weight: normal;
  font-size: 12px;
}

.row_team {
  margin-left: -50px;
  margin-top: 70px;
}

.row_team li {
  list-style: none;
}

.templatemo-project-box {
  background-size: cover;
  position: relative;
  overflow: hidden;
  cursor: pointer;
  height: 200px;
  width: 200px;
}

.templatemo-project-box:hover .project-overlay {
  transition: all 0.3s ease-in-out 0s;
  visibility: visible;
  opacity: 1;
}

.project-overlay {
  background: rgba(0, 0, 0, 0.75);
  border: 2px solid #ff7600;
  visibility: hidden;
  position: absolute;
  text-align: center;
  padding-top: 40px;
  color: #ffffff;
  height: 100%;
  width: 100%;
  opacity: 0;
  right: 0;
  top: 0;
}

.project-overlay hr {
  width: 70%;
}

.templatemo-project-gallery li {
  margin: 15px;
}

.txt_darkgrey {
  color: #333333;
}

.txt_orange {
  color: #e67e22;
}

.txt_slogan {
  font-size: 14px;
  color: #929292;
}

.templatemo-line-header span {
  font-size: 18px;
  float: left;
  margin-top: 10px;
}

.team_box div {
  text-align: center;
  padding-top: 100px;
}

.span_blog {
  margin-bottom: 80px;
}

.blog_post {
  color: #333333;
  padding: 10px;
}

.blog_header {
  font-weight: bold;
  font-size: 16px;
}

.blog_text {
  text-align: justify;
  font-size: 14px;
  margin-top: 20px;
}

#templatemo-contact {
  margin-top: 100px;
  border-top: 1px solid #cccccc;
  font-size: 14px;
}

.blog_box {
  margin-left: -12px;
}

@media (min-width: 991px) and (max-width: 1200px) {
  .templatemo-project-box,
  .project-overlay {
    height: 170px;
    width: 170px;
  }

  .templatemo-project-gallery {
    margin-left: -70px;
  }

  .templatemo-service-item-header {
    padding: 16px 10px 20px;
  }

  .templatemo-header-orange {
    min-width: 230px;
  }

  .team_box,
  .team_box_over {
    height: 220px;
    width: 220px;
  }
}

@media (max-width: 991px) {
  .team-inner {
    margin-top: 20px;
    margin-bottom: 20px;
  }

  .templatemo-btn-read-more {
    float: right;
    margin-bottom: 40px;
  }
}

/* =====================================================
  *** TARGETED TABLET MEDIA QUERY (768px - 990px) ***
  FIXED Centering and Font Size for Contact Banner
=====================================================
*/
@media (min-width: 768px) and (max-width: 990px) {
  .member-thumb .thumb-overlay {
    padding-left: 30%;
  }
  .templatemo-project-box,
  .project-overlay {
    height: 130px;
    width: 130px;
    padding-top: 0px;
  }

  .templatemo-project-gallery {
    margin-left: 10px;
  }

  .blog_box {
    margin-right: -140px;
  }
  
  /* ------------------------------------------- */
  /* --- NEW CONTACT PAGE STYLES FOR TABLET --- */
  /* ------------------------------------------- */

  .contact-header-banner {
    height: 250px; 
    margin-bottom: 30px; 
    /* Ensures the banner container is ready for centering */
    text-align: center; 
    width: 100%;
  }

  /* Key Fix: Ensure the overlay is centering the text inside the banner */
  .contact-header-banner .overlay {
    width: 100%;
    /* Flexbox properties already exist, but explicitly centering here helps */
    align-items: center; 
    justify-content: center;
    text-align: center;
  }
  
  .contact-header-banner .header-title {
      /* Reduced font size for better fit on 820px screen */
      font-size: 2.5em; 
  }

  

  /* 3. Contact Info Columns (Spacing adjustments) */
  .contact-info-section .col-md-4, 
  .contact-info-section .col-sm-4 {
      margin-bottom: 20px;
  }

  .contact-column {
      /* Reduce internal padding on the columns */
      padding: 10px;
  }
}

@media (min-width: 768px) {
  .navbar-nav > li > a {
    padding-top: 9px;
    padding-bottom: 9px;
  }
}

@media (max-width: 768px) {
  .member-thumb .thumb-overlay {
    padding-left: 40%;
  }
  .templatemo-btn-read-more {
    float: right;
    margin-bottom: 40px;
  }
}

@media (max-width: 380px) {
  .member-thumb .thumb-overlay {
    padding-left: 30%;
  }
  .templatemo-service-item-header {
    font-size: 16px;

    padding: 23px 10px 22px;
  }
  .templatemo-header-orange {
    min-width: 0px;
  }
}

@media (min-width: 991px) and (max-width: 1200px) {
  .team_hr {
    width: 37%;
  }
}

@media (min-width: 683px) and (max-width: 991px) {
  .team_hr {
    width: 33%;
  }
}

@media (min-width: 585px) and (max-width: 683px) {
  .member-thumb .thumb-overlay {
    padding-left: 25%;
  }
  .team_hr {
    width: 30%;
  }
}

@media (min-width: 536px) and (max-width: 585px) {
  .team_hr {
    width: 28%;
  }
}

@media (min-width: 410px) and (max-width: 536px) {
  .team_hr {
    width: 21%;
  }
}

@media (max-width: 410px) {
  .team_hr {
    width: 11%;
  }
}

.templatemo-about {
  height: 2000px;
}

/* -------------------------------------- */
/* --- NEW: Brixton Contact Page CSS --- */
/* -------------------------------------- */

.contact-header-banner {
  /* Replace 'images/contact-bg.jpg' with your desired background image path if different from the carousel */
  background-image: url("../images/IMG_9452.JPG");
  background-size: cover;
  background-position: center;
  height: 300px; /* Adjust height as needed */
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  position: relative;
  color: #fff;
  margin-bottom: 50px;
}

.contact-header-banner .overlay {
  background-color: rgba(0, 0, 0, 0.5); /* Dark overlay for text readability */
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.header-subtitle {
  font-size: 14px;
  letter-spacing: 2px;
  text-transform: uppercase;
  font-weight: 400;
  margin-bottom: 10px;
  color: #fff;
}

.header-title {
  font-size: 4em;
  font-weight: 700;
  text-transform: uppercase;
  color: #fff;
  margin: 0;
}

/* --- Contact Info Section (Three Columns) --- */
.contact-info-section {
  padding-bottom: 30px;
}

.contact-column {
  padding: 20px;
}

.column-title {
  font-size: 1.2em;
  font-weight: 600;
  text-transform: uppercase;
  margin-bottom: 20px;
  color: #333;
}

.column-detail {
  font-size: 1.1em;
  color: #666;
  margin-bottom: 0;
}

.link-detail {
  /* Style for the link/number detail, using theme orange */
  color: #ff7600;
  text-decoration: underline;
}

.order-status {
  margin-bottom: 50px;
}

.link-orange {
  color: #ff7600; /* Your theme's orange color */
  text-decoration: underline;
}

.link-orange:hover {
  color: #d35400;
}


/* Simple centering for Bootstrap columns when using col-md-offset-2 */
.mx-auto {
  margin-left: auto;
  margin-right: auto;
}

.orange-box {
  border: 3px solid #ff9900;
  border-radius: 12px;
  padding: 25px;
  margin-bottom: 30px;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s, box-shadow 0.3s;
  background-color: #fff;
}

.orange-box:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 25px rgba(0, 0, 0, 0.15);
}

.service-header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 15px;
}

.templatemo-service-item-header {
  font-weight: bold;
  font-size: 1.2em;
  color: #ff9900;
}
.tm-brand-box {
  box-sizing: content-box;
  width: 100%;
  max-width: 600px;
  min-height: 200px;
  color: white;
  text-align: center;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

tm-border-gray {
  border-color: #cdcecf;
}

.tm-brand {
  padding: 30px;
}

#templatemo-nav-bar .nav.navbar-nav a {
  font-weight: bold;
  font-size: 1.2em;
}