
/*=== MEDIA QUERY ===*/
@import url("https://fonts.googleapis.com/css?family=Anaheim|Quattrocento+Sans:400,700");
@import url("https://fonts.googleapis.com/css?family=Montserrat:400,700|Open+Sans:300,400,600");
html {
  background-color: #353b43;
  color: #737f8a;
}

body {
  background-color: #343434;
  color: #8C8C8C;
  -webkit-font-smoothing: antialiased;
  position: relative;
}

.overlay {
  position: relative;
}
.overlay::before {
  content: "";
  background: rgba(0, 0, 0, 0.63);
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  z-index: 1;
  left: 0;
}

.funt {
  font-family:"Anaheim", sans-serif;
  font color: white;
  font-size:;
}
/*=================================================================
  Basic Setup
==================================================================*/
::-moz-selection {
  /* Code for Firefox */
  color: #fff;
  background: #9A9A9A;
}

::selection {
  color: #fff;
  background: #f4dd5b;
}

.border {
  border-top: 2px solid rgba(236, 239, 241, 0.07);
  height: 1px;
  margin: 15px auto 0;
  position: relative;
  width: 30%;
}
.border:before {
  background-color: #fff;
  content: "";
  height: 6px;
  left: 50%;
  margin-left: -20px;
  position: absolute;
  top: -4px;
  width: 50px;
  background-color: #f4dd5b;
}

.kill-margin-bottom {
  margin-bottom: 0 !important;
}

.padding-0 {
  padding: 0 !important;
}

.bg-one {
  background-color: #373737;
}

.bg-dark {
  background: #000000;
}

/* Default Parallax Background */
.parallax-section.bg-1 {
    background-image: url("img/background/bg-1.jpg");
    background-attachment: fixed; /* Default behavior for desktop */
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
}

/* Static Background for Tablets and Mobile Devices */
@media (max-width: 1024px) {
    .parallax-section.bg-1 {
        background-attachment: scroll; /* Change to scroll for mobile/tablet */
    }
}

/* Special Handling for iPad Pro */
@media (min-width: 1024px) and (max-width: 1366px) and (-webkit-min-device-pixel-ratio: 2) {
    .parallax-section.bg-1 {
        background-attachment: scroll; /* Ensure static background on iPad Pro */
    }
}

/* Default Parallax Background */
.parallax-section.bg-2 {
    background-image: url("img/background/bg-2.jpg");
    background-attachment: fixed; /* Default behavior for desktop */
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
}

/* Static Background for Tablets and Mobile Devices */
@media (max-width: 1024px) {
    .parallax-section.bg-2 {
        background-attachment: scroll; /* Change to scroll for mobile/tablet */
    }
}

/* Special Handling for iPad Pro */
@media (min-width: 1024px) and (max-width: 1366px) and (-webkit-min-device-pixel-ratio: 2) {
    .parallax-section.bg-2 {
        background-attachment: scroll; /* Ensure static background on iPad Pro */
    }
}

/* Default Parallax Background */
.parallax-section.bg-3 {
    background-image: url("img/background/bg-3.jpg");
    background-attachment: fixed; /* Default behavior for desktop */
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
}

/* Static Background for Tablets and Mobile Devices */
@media (max-width: 1024px) {
    .parallax-section.bg-3 {
        background-attachment: scroll; /* Change to scroll for mobile/tablet */
    }
}

/* Special Handling for iPad Pro */
@media (min-width: 1024px) and (max-width: 1366px) and (-webkit-min-device-pixel-ratio: 2) {
    .parallax-section.bg-3 {
        background-attachment: scroll; /* Ensure static background on iPad Pro */
    }
}

/* Default Parallax Background */
.parallax-section.bg-4 {
    background-image: url("img/background/bg-4.jpg");
    background-attachment: fixed; /* Default behavior for desktop */
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
}

/* Static Background for Tablets and Mobile Devices */
@media (max-width: 1024px) {
    .parallax-section.bg-4 {
        background-attachment: scroll; /* Change to scroll for mobile/tablet */
    }
}

/* Special Handling for iPad Pro */
@media (min-width: 1024px) and (max-width: 1366px) and (-webkit-min-device-pixel-ratio: 2) {
    .parallax-section.bg-4 {
        background-attachment: scroll; /* Ensure static background on iPad Pro */
    }
}

.no-padding {
  padding: 0 !important;
}

.inline-block {
  display: inline-block;
}

.btn-main {
  background: #C10000;
  color: #FFFFFF;
  display: inline-block;
  font-size: 14px;
  letter-spacing: 1px;
  padding: 10px 35px;
  text-transform: uppercase;
}
.btn-main:hover {
  background: #760000;
  color: #fff;
}

.mt-20 {
  margin-top: 20px;
}

.section {
  padding: 100px 0;
}

.section-sm {
  padding: 70px 0;
}

.section-xs {
  padding: 50px 0;
}

.title {
  padding-bottom: 60px;
}
.title h2 {
  text-transform: capitalize;
  font-weight: 700;
  font-size: 38px;
  color: #fff;
}
.title h2 span {
  color: #9A9A9A;
}
.title p {
  color: #666;
}
.title.title-white h2 {
  color: #fff;
}

.bg-gray {
  background: #f9f9f9;
}

.section-bg {
  background: #000000;
}

.overly {
  position: relative;
}
.overly:before {
  content: "";
  background: rgba(0, 0, 0, 0.096);
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
}

.slick-slide {
  outline: none;
}


/*=================================================================
 Call To Action 1
==================================================================*/
.call-to-action {
  background-attachment: fixed;
}
.call-to-action h2 {
  font-weight: 700;
  color: #ffffff;
}
.call-to-action p {
  font-size: 16px;
  color: #ffffff;
}
.call-to-action .btn-main {
  margin-top: 20px;
}

.google-map #map_canvas {
  height: 400px;
}

#map {
  height: 370px;
  width: 100%;
}

   
/*=================================================================
  Item counter section
==================================================================*/
.counters-item {
  padding: 25px 0;
  margin-bottom: 10px;
  background: #000000;
}
.counters-item i {
  margin-bottom: 10px;
  font-size: 40px;
  display: inline-block;
}
.counters-item span {
  display: block;
  font-weight: bold;
  font-size: 35px;
  line-height: 50px;
}
.counters-item h3 {
  font-size: 20px;
  margin: 0;
}


/*=================================================================
  Services section
==================================================================*/
.service-block {
  padding: 60px 20px;
  border-left: 1px solid rgba(236, 239, 241, 0.07);
  border-top: 1px solid rgba(236, 239, 241, 0.07);
  margin-bottom: 40px;
  box-shadow: 2px 2px 5px rgba(44, 44, 44, 0.3), 13px 13px 0 rgba(255, 255, 255, 0.7);
}
.service-block .service-icon {
  margin-bottom: 10px;
  font-size: 50px;
}

/*=================================================================
  Services section 2
==================================================================*/
.service-2 .service-item {
  border: 1px solid #eee;
  margin-bottom: 30px;
  padding: 50px 20px;
  transition: all 0.3s ease 0s;
}
.service-2 .service-item:hover {
  box-shadow: 0 5px 65px 0 rgba(0, 0, 0, 0.15);
  -webkit-box-shadow: 0 5px 65px 0 rgba(0, 0, 0, 0.15);
}
.service-2 .service-item:hover i {
  background: #fff;
  color: #9A9A9A;
}
.service-2 .service-item i {
  font-size: 30px;
  display: inline-block;
  background: #9A9A9A none repeat scroll 0 0;
  border-radius: 30px;
  box-shadow: 0 5px 6px 0 rgba(0, 0, 0, 0.1);
  color: #fff;
  height: 55px;
  line-height: 55px;
  margin-bottom: 20px;
  width: 55px;
  transition: all 0.3s ease 0s;
}

/*=================================================================
  Our Team
==================================================================*/
.team-member {
  background-color: #000000;
  margin: 15px 0;
}
.team-member:hover .mask {
  cursor: pointer;
  opacity: 1;
  filter: alpha(opacity=100);
  transform: rotateY(0deg) scale(1, 1);
}

.member-photo {
  display: flex;            /* Use flexbox */
  justify-content: center; /* Center horizontally */
  align-items: center;     /* Center vertically */
  overflow: hidden;
  position: relative;
}

.member-photo img {
  max-width: 100%;          /* Ensure the image scales correctly */
  height: auto;             /* Maintain aspect ratio */
  transition: all 0.4s ease 0s;
}

.member-photo:hover img {
  transform: scale(1.2);
}

.member-photo .mask {
  background-color: rgba(52,52,52,0.74);
  position: absolute;
  text-align: center;
  height: 100%;
  width: 100%;
  left: 0;
  top: 0;
  opacity: 0;
  filter: alpha(opacity=0);
  transition: all 0.5s ease-out 0s;
  transform: rotateY(180deg) scale(0.5, 0.5);
}

.member-photo .mask ul {
  text-align: center;
  position: relative;
  top: 125px;
}

.member-photo .mask ul li a {
  border: 1px solid #fff;
  color: #fff;
  display: block;
  font-size: 20px;
  height: 35px;
  line-height: 35px;
  text-align: center;
  width: 35px;
}

.member-photo .mask ul li a:hover {
  background-color: #fff;
  color: #9A9A9A;
  border: 1px solid transparent;
}

.member-meta {
  padding: 15px;
}

.member-meta h4 {
  margin: 0 0 5px;
}

.member-meta span {
  font-size: 12px;
}
/*=================================================================
  Testimonial section
==================================================================*/
.testimonial:before {
  background: rgba(0, 0, 0, 0.45);
}

.testimonial2:before {
  background: rgba(0, 0, 0, 0.60);
}

.client-info {
  margin: 0 auto;
  width: 55%;
}
@media (max-width: 992px) {
  .client-info {
    width: 75%;
  }
}
@media (max-width: 768px) {
  .client-info {
    width: 90%;
  }
}

.client-comment p {
  color: #ffffff;
  font-size: 18px;
  margin-bottom: 0;
}

.client-thumb img {
  border-radius: 50%;
  margin: 0 auto;
  max-width: 115px;
  width: 100%;
}

.client-meta {
  margin: 0 0 10px;
}
.client-meta h3 {
  margin: 15px 0 5px 0;
}
.client-meta span {
  font-size: 12px;
}

.owl-pagination,
.owl-buttons {
  text-align: center;
}

.owl-controls .owl-page {
  display: inline-block;
}

.owl-controls .owl-page span {
  background-color: transparent;
  border: 2px solid #fff;
  border-radius: 50px;
  display: block;
  height: 13px;
  margin: 0 4px;
  width: 13px;
  opacity: 1;
  filter: alpha(opacity=100);
}

.owl-controls .owl-page.active span,
.owl-controls .owl-page:hover span {
  background-color: #9A9A9A;
  border: 2px solid transparent;
}

.our-clients {
  margin: 30px 0 0;
}

#our-clietns .item img {
  max-width: 150px;
  width: 100%;
}

#our-clietns .owl-next,
#our-clietns .owl-prev {
  border: 1px solid #ddd;
  border-radius: 50px;
  display: inline-block;
  margin: 45px 0 0;
  padding: 3px 15px;
  position: relative;
  text-align: center;
}

#our-clietns .owl-next i,
#our-clietns .owl-prev i {
  line-height: 34px;
}

#our-clietns .owl-prev {
  margin-right: 15px;
}

#our-clients .item {
  margin: 10px;
}
