body, html {
	font-family: sans-serif;
	text-rendering: optimizeLegibility !important;
	-webkit-font-smoothing: antialiased !important;
	color: rgba(21, 19, 19, 0.7);
	width: 100% !important;
	height: 100% !important;
}
h1 {
	font-weight: 400;
	text-transform: text;
}
h2 {
	line-height: 20px;
	margin: 0;
	color: #8d8c8a;
	margin-bottom: 30px;
	font-size: 40px;
	font-weight: 400;
	text-transform: uppercase;
	padding-bottom: 10px;
}
h3, h4 {
	color: #333;
	font-size: 20px;
	font-weight: 400;
}
h5 {
	text-transform: uppercase;
	font-weight: 700;
	line-height: 20px;
}
p {
	font-size: 15px;
}
p.intro {
	font-size: 16px;
	margin: 12px 0 0;
	line-height: 24px;
}
a {
	color: #6d656b;
}
a:hover, a:focus {
	text-decoration: none;
	color: #8d8c8a;
}
ul, ol {
	list-style: none;
}
.clearfix:after {
	visibility: hidden;
	display: block;
	font-size: 0;
	content: " ";
	clear: both;
	height: 0;
}
.clearfix {
	display: inline-block;
}
* html .clearfix {
	height: 1%;
}
.clearfix {
	display: block;
}
ul, ol {
	padding: 0;
	webkit-padding: 0;
	moz-padding: 0;
}
/* Navigation */
#menu {
	padding: 20px;
	transition: all 0.8s;
}
#menu.navbar-default {
	background-color: rgba(248, 248, 248, 0);
	border-color: rgba(231, 231, 231, 0);
}
#menu a.navbar-brand {
	font-size: 30px;
	color: rgba(89, 80, 80, 0.96);
	font-weight: 700;
	text-transform: text;
	letter-spacing: 1px;
}
#menu a.navbar-brand i.fa {
	color: #8d8c8a;
}
#menu .navbar-header {
	display: flex;
	align-items: center;
	gap: 10px;
}

#menu a.navbar-brand {
	display: flex;
	align-items: center;
	padding: 0;
}

#menu .nav-logo {
	height: 63px;
	width: auto;
	display: block;
	background-color: rgba(255, 255, 255, 0.88);
	border-radius: 50%;
	padding: 4px;
}
#menu.navbar-default .navbar-nav > li > a {
	text-transform: uppercase;
	color: rgba(46, 41, 39, 0.8);
	font-size: 12px;
	letter-spacing: 1px;
}
#menu.navbar-default .navbar-nav > li > a:hover {
	color: #5a5553;
}
.on {
	background-color: #8d8c8a !important;
	padding: 0 !important;
}
.navbar-default .navbar-nav > .active > a, .navbar-default .navbar-nav > .active > a:hover, .navbar-default .navbar-nav > .active > a:focus {
	color: #5a5553 !important;
	background-color: transparent;
}
.navbar-toggle {
	border-radius: 0;
	border-color: #3a3533;
}
.navbar-default .navbar-toggle .icon-bar {
	background-color: #3a3533;
}
.navbar-default .navbar-toggle:hover, .navbar-default .navbar-toggle:focus {
	background-color: #8d8c8a;
	border-color: #8d8c8a;
}
.navbar-default .navbar-toggle:hover>.icon-bar,
.navbar-default .navbar-toggle:focus>.icon-bar {
	background-color: #fff;
}
.btn-default {
	color: #655d60;
	background-color: transparent;
	border: 2px solid #8d8c8a;
	padding: 12px 20px;
	margin: 0;
	font-size: 15px;
	border-radius: 0;
	text-transform: uppercase;
}
.btn-default:hover, .btn-default:focus, .btn-default.focus, .btn-default:active, .btn-default.active {
	color: -moz-linear-gradient(top, rgba(255,255,255,0.1) 0%, rgba(73, 77, 78, 0.4) 100%);;
	background-color: #6f6c68;
	border-color: #8d8c8a;
}
.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;
}
/* Home Section */
.intro {
	display: table;
	width: 100%;
	height: auto;
	text-align: center;
	color: #6d656b;
	background: url(../img/img-bgwithquil2.jpg) no-repeat center center;
	-webkit-background-size: cover;
	-moz-background-size: cover;
	background-size: cover;
	-o-background-size: cover;
}
.intro .overlay {
	padding: 100px 0;
	/* Permalink - use to edit and share this gradient: http://colorzilla.com/gradient-editor/-moz-linear-gradient(top, rgba(255,255,255,0.1) 0%, rgba(255,255,255,0.1) 100%);+0,053740+100&1+0,0.6+100 */
	background: -moz-linear-gradient(top, rgba(255,255,255,0.1) 0%, rgba(73, 77, 78, 0.4) 100%); /* FF3.6-15 */
	background: -webkit-linear-gradient(top, rgba(255,255,255,0.1) 0%, rgba(73, 77, 78, 0.4) 100%); /* Chrome10-25,Safari5.1-6 */
	background: linear-gradient(to bottom, rgba(255,255,255,0.1) 0%, rgba(73, 77, 78, 0.4) 100%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='-moz-linear-gradient(top, rgba(255,255,255,0.1) 0%, rgba(73, 77, 78, 0.4) 100%);', endColorstr='#99053740', GradientType=0 ); /* IE6-9 */
}
.section-title {
	padding: 25px 0 60px 0;
}
.intro H1 {
	font-size: 50px;
	text-transform: text;
	letter-spacing: 2px;
	color: rgba(89, 80, 80, 0.9);
}
.intro .brand {
	color: #8d8c8a;
	font-weight: 400;
	font-family: 'Great Vibes', cursive;
	font-size: 60px;
	line-height: 1;
	letter-spacing: 0;
}
.intro .intro-text p {
	font-size: 20px;
	margin-bottom: 40px;
	margin-top: 20px;
	text-transform: none;
	color: rgba(89, 80, 80, 0.9);
}
header .intro-text {
	padding-top: 150px;
	padding-bottom: 150px;
}
/* Services Section */
#services {
	padding: 120px 0;
	background: -moz-linear-gradient(top, rgba(255,255,255,0.1) 0%, rgba(73, 77, 78, 0.4) 100%);;
}
#services .service-icon {
	display: block;
	width: 220px;
	height: 220px;
	margin: 0 auto 18px;
	border-radius: 50%;
	object-fit: cover;
	border: 4px solid #f5f3f3;
	box-shadow: 0 6px 18px rgba(0,0,0,0.10);
	transition: transform 180ms ease, box-shadow 180ms ease;
	max-width: 100%;
}

@media (max-width: 768px) {
	#services .service-icon {
		width: 140px;
		height: 140px;
		margin-bottom: 12px;
	}
}

@media (max-width: 480px) {
	#services .service-icon {
		width: 110px;
		height: 110px;
	}
}
#services h4 {
	color: #8d8c8a;
	text-transform: uppercase;
	
}
#services i.fa {
	font-size: 32px;
	margin-bottom: 20px;
	transition: all 0.5s;
	color: -moz-linear-gradient(top, rgba(255,255,255,0.1) 0%, rgba(73, 77, 78, 0.4) 100%);;
	width: 100px;
	height: 100px;
	padding: 33px 0;
	border: 1px solid #8d8c8a;
	background: #8d8c8a;
	border-radius: 50%;
}
/* About Section */
#about {
	padding: 100px 0;
	color: rgba(89, 80, 80, 0.9);
	/* Permalink - use to edit and share this gradient: http://colorzilla.com/gradient-editor/#20a6bb+0,25bad0+50 */
	background: rgb(255,255,255); /* Old browsers */
	background: -moz-linear-gradient(top, rgba(255,255,255,1) 0%, rgba(255,255,255,1) 50%); /* FF3.6-15 */
	background: -webkit-linear-gradient(top, rgba(255,255,255,1) 0%, rgba(255,255,255,1) 50%); /* Chrome10-25,Safari5.1-6 */
	background: linear-gradient(to bottom, rgba(255,255,255,1) 0%, rgba(255,255,255,1) 50%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#20a6bb', endColorstr='#8d8c8a', GradientType=0 ); /* IE6-9 */
}
#about h2 {
	color: rgba(89, 80, 80, 0.8);
}
#about h4 {
	color: #5a5553;
}
#about .about-text {
	margin-left: 10px;
}
#about p {
	margin-top: 20px;
	margin-bottom: 30px;
}
/* Portfolio Section */
#portfolio {
	padding: 100px 0;
	background: -moz-linear-gradient(top, rgba(255,255,255,0.1) 0%, rgba(73, 77, 78, 0.4) 100%);;
}

/* Testimonial Carousel */
#testimonials {
	padding: 100px 0;
	background: #a39f9f; /* bright pink base to match template */
	position: relative;
}
#testimonials .section-title h2,
#testimonials .section-title p {
	color: #fff;
}
.testimonial-carousel {
	position: relative;
	width: 100%;
	max-width: 800px; /* enlarged from 800px */
	margin: 0 auto;
	box-sizing: border-box;
	padding: 10px 10px; /* slightly more horizontal padding */
	overflow: hidden;
	aspect-ratio:  3/ 1.5; /* slightly less stretched rectangular shape */
}
.testimonial-slide {
	display: none;
	color: rgba(89, 80, 80, 0.8);
	font-size: 18px;
	padding: 40px 50px;
	background-color: #fff;
	border: none;
	border-radius: 0;
	box-shadow: 0 2px 8px rgba(0,0,0,0.05);
	transition: opacity 0.5s ease;
	width: 100%;
	height: 100%;
	box-sizing: border-box;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	text-align: center;
}
.testimonial-slide.active {
	display: flex;
}
.testimonial-slide.active {
	display: block;
}
.testimonial-author {
	margin-top: 15px;
	font-weight: 700;
	color: #5a5553;
}
.testimonial-img {
	display: block;
	margin: 0 auto 20px;
	width: 120px;
	height: 120px;
	border-radius: 50%;
	object-fit: cover;
	border: 4px solid #f5f3f3;
	box-shadow: 0 6px 18px rgba(0,0,0,0.10);
}
#testimonials .section-title h2 {
	color: #fff;
}
#testimonials .section-title p {
	color: #fff;
}
.testimonial-arrow {
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	font-size: 30px;
	color: #8d8c8a;
	cursor: pointer;
	padding: 10px;
	transition: color 0.3s, background-color 0.3s;
	user-select: none;
	box-shadow: 0 2px 6px rgba(0,0,0,0.2);
}
.testimonial-arrow:hover {
	color: #6f6c68;
}
.prev { left: 10px; }
.next { right: 10px; }
.categories {
	padding-bottom: 30px;
	text-align: center;
}
ul.cat li {
	display: inline-block;
}
ol.type li {
	display: inline-block;
	margin-left: 20px;
	text-transform: uppercase;
}
ol.type li a {
	background: transparent;
	border: 2px solid #8d8c8a;
	color: #5a5553;
	padding: 10px 20px;
}
ol.type li a.active {
	background: #8d8c8a;
	color: -moz-linear-gradient(top, rgba(255,255,255,0.1) 0%, rgba(73, 77, 78, 0.4) 100%);;
}
ol.type li a:hover {
	background: #8d8c8a;
	color: -moz-linear-gradient(top, rgba(255,255,255,0.1) 0%, rgba(73, 77, 78, 0.4) 100%);;
}
.isotope-item {
	z-index: 2
}
.isotope-hidden.isotope-item {
	z-index: 1
}
.isotope, .isotope .isotope-item {
	/* change duration value to whatever you like */
	-webkit-transition-duration: 0.8s;
	-moz-transition-duration: 0.8s;
	transition-duration: 0.8s;
}
.isotope-item {
	margin-right: -1px;
	-webkit-backface-visibility: hidden;
	backface-visibility: hidden;
}
.isotope {
	-webkit-backface-visibility: hidden;
	backface-visibility: hidden;
	-webkit-transition-property: height, width;
	-moz-transition-property: height, width;
	transition-property: height, width;
}
.isotope .isotope-item {
	-webkit-backface-visibility: hidden;
	backface-visibility: hidden;
	-webkit-transition-property: -webkit-transform, opacity;
	-moz-transition-property: -moz-transform, opacity;
	transition-property: transform, opacity;
}
/* Portfolio items container — behaves like Bootstrap row */
.portfolio-items {
	margin-left: -15px;
	margin-right: -15px;
}
/* Portfolio scroll wrapper — shows 2 rows, scrollable beyond */
.portfolio-scroll-wrapper {
	position: relative;
	max-height: 290px; /* 1 row × (260px image + 30px margin) */
	overflow-y: auto;
	overflow-x: hidden;
	padding-bottom: 10px;
	border-radius: 4px;
	scrollbar-width: thin;
	scrollbar-color: #8d8c8a #e8e5e2;
}
.portfolio-scroll-wrapper::-webkit-scrollbar {
	width: 6px;
}
.portfolio-scroll-wrapper::-webkit-scrollbar-track {
	background: #e8e5e2;
	border-radius: 3px;
}
.portfolio-scroll-wrapper::-webkit-scrollbar-thumb {
	background: #8d8c8a;
	border-radius: 3px;
}
.portfolio-scroll-wrapper::-webkit-scrollbar-thumb:hover {
	background: #5a5553;
}

.portfolio-item {
	margin: 15px 0;
	-webkit-transition: all 0.5s ease-out;
	-moz-transition: all 0.5s ease-out;
	-ms-transition: all 0.5s ease-out;
	-o-transition: all 0.5s ease-out;
	transition: all 0.5s ease-out;
}
.portfolio-item:hover {
	-webkit-transform: scale(1.1);
	-moz-transform: scale(1.1);
	-ms-transform: scale(1.1);
	-o-transform: scale(1.1);
	transform: scale(1.1);
}
.portfolio-item .hover-bg {
	height: 260px;
	overflow: hidden;
	position: relative;
}
.hover-bg .hover-text {
	position: absolute;
	text-align: center;
	margin: 0 auto;
	color: #fff;
	background: rgba(0, 0, 0, 0.66);
	padding: 33% 0 0 0;
	height: 100%;
	width: 100%;
	opacity: 0;
	transition: all 0.5s;
}
.hover-bg .hover-text>h4 {
	opacity: 0;
	color: #fff;
	font-weight: 400;
	-webkit-transform: translateY(100%);
	transform: translateY(100%);
	transition: all 0.3s;
}
.hover-bg:hover .hover-text>h4 {
	opacity: 1;
	-webkit-backface-visibility: hidden;
	-webkit-transform: translateY(0);
	transform: translateY(0);
}
.hover-bg .hover-text>i {
	opacity: 0;
	-webkit-transform: translateY(0);
	transform: translateY(0);
	transition: all 0.3s;
}
.hover-bg:hover .hover-text>i {
	opacity: 1;
	-webkit-backface-visibility: hidden;
	-webkit-transform: translateY(100%);
	transform: translateY(100%);
}
.hover-bg:hover .hover-text {
	opacity: 1;
}

/* On touch devices there is no true hover — hide the overlay so the first
   tap goes directly to the image instead of needing two taps. */
@media (hover: none) {
	.hover-bg .hover-text {
		display: none !important;
	}
}
#portfolio i.fa {
	font-size: 20px;
	padding: 5px;
	color: #E87E04;
}
/* Team Section */
#team {
	padding: 100px 0;
	color: rgba(89, 80, 80, 0.9);
	/* Permalink - use to edit and share this gradient: http://colorzilla.com/gradient-editor/#20a6bb+0,25bad0+50 */
	background: rgb(255,255,255); /* Old browsers */
	background: -moz-linear-gradient(top, rgba(255,255,255,1) 0%, rgba(255,255,255,1) 50%); /* FF3.6-15 */
	background: -webkit-linear-gradient(top, rgba(255,255,255,1) 0%, rgba(255,255,255,1) 50%); /* Chrome10-25,Safari5.1-6 */
	background: linear-gradient(to bottom, rgba(255,255,255,1) 0%, rgba(255,255,255,1) 50%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#20a6bb', endColorstr='#8d8c8a', GradientType=0 ); /* IE6-9 */
}
#team h2 {
	color: rgba(89, 80, 80, 0.8);
}
#team h3 {
	color: #5a5553;
}
img.img-circle.team-img {
	width: 160px;
	height: 160px;
}
#team .thumbnail {
	background: transparent;
	border: 0;
}
#team .thumbnail .caption {
	padding: 9px;
	color: rgba(89, 80, 80, 0.9);
}
/* Contact Section */
#contact {
	background: url(../img/contact-bg.jpg) no-repeat center top;
	background-color: #7bc3d1;
	-webkit-background-size: cover;
	-moz-background-size: cover;
	background-size: cover;
	-o-background-size: cover;
}
#contact .overlay {
	padding: 100px 0 40px 0;
	/* Permalink - use to edit and share this gradient: http://colorzilla.com/gradient-editor/-moz-linear-gradient(top, rgba(255,255,255,0.1) 0%, rgba(73, 77, 78, 0.4) 100%);+0,053740+100&1+0,0.75+100 */
	background: -moz-linear-gradient(top, rgba(255,255,255,0.1) 0%, rgba(73, 77, 78, 0.4) 100%); /* FF3.6-15 */
	background: -webkit-linear-gradient(top, rgba(255,255,255,0.1) 0%, rgba(73, 77, 78, 0.4) 100%); /* Chrome10-25,Safari5.1-6 */
	background: linear-gradient(to bottom, rgba(255,255,255,0.1) 0%, rgba(73, 77, 78, 0.4) 100%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='-moz-linear-gradient(top, rgba(255,255,255,0.1) 0%, rgba(73, 77, 78, 0.4) 100%);', endColorstr='#bf053740', GradientType=0 ); /* IE6-9 */
}
#contact h3 {
	padding-top: 20px;
	font-size: 20px;
	font-weight: 400;
	color: #6d656b;
}
#contact form {
	padding: 20px 0;
}
#contact i.fa {
	color: #121d1f;
	margin-bottom: 10px;
}
#contact .text-danger {
	color: #ff6600;
	text-align: left;
}
label {
	font-size: 12px;
	font-weight: 400;
	float: left;
}
#contact .form-control {
	display: block;
	width: 100%;
	padding: 6px 12px;
	margin: 10px 0;
	font-size: 14px;
	line-height: 1.42857143;
	color: #6d656b;
	background-color: rgba(255,255,255,0.7);
	background-image: none;
	border: 0;
	border-radius: 2px;
	-webkit-box-shadow: none;
	box-shadow: none;
	-webkit-transition: none;
	-o-transition: none;
	transition: none;
}
#contact .form-control:focus {
	border-color: inherit;
	outline: 0;
	-webkit-box-shadow: transparent;
	box-shadow: transparent;
}
.form-control::-webkit-input-placeholder {
color: #655d5d;
}
.form-control:-moz-placeholder {
color: #655d5d;
}
.form-control::-moz-placeholder {
color: #655d5d;
}
.form-control:-ms-input-placeholder {
color: #655d5d;
}
#contact .btn {
	margin-top: 20px;
}
#contact .social {
	margin-top: 80px;
}
#contact .social ul li {
	display: inline-block;
	margin: 0 20px;
}
#contact .social i.fa {
	font-size: 30px;
	padding: 4px 5px;
	color: #6d656b;
	transition: all 0.5s;
}
#contact .social i.fa:hover {
	color: #8d8c8a;
}
/* Footer Section*/
#footer {
	background: #8d8c8a;
	padding: 25px 0 20px 0;
}
#footer p {
	font-size: 13px;
}
#footer a {
	color: #aaa;
}
#footer a:hover {
	color: #8d8c8a;
}

/* Media Queries */
@media (max-width: 1024px) {
.intro H1 {
	font-size: 42px;
}
header .intro-text {
	padding-top: 100px;
	padding-bottom: 100px;
}
#about img {
	margin-bottom: 20px;
}
}

/* ---- Mobile portrait fixes (≤ 767px) ---- */
@media (max-width: 767px) {
  /* Scale down section headings */
  h2 {
    font-size: 26px;
    margin-bottom: 16px;
  }

  /* Hero section */
  .intro H1 {
    font-size: 30px;
  }
  .intro .brand {
    display: block;
    font-size: 38px;
  }
  .intro .brand-sub {
    display: block;
  }
  .intro .intro-text p {
    font-size: 16px;
    margin-top: 10px;
    margin-bottom: 20px;
  }
  header .intro-text {
    padding-top: 70px;
    padding-bottom: 70px;
  }

  /* Reduce section vertical spacing */
  .section-title {
    padding: 20px 0 35px;
  }
  #services {
    padding: 60px 0;
  }
  #about {
    padding: 60px 0;
  }
  #portfolio {
    padding: 60px 0;
  }
  #testimonials {
    padding: 60px 0;
  }

  /* Portfolio filter buttons — fix wrapping distortion */
  ol.type {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px;
    padding: 0;
    margin: 0;
  }
  ol.type li {
    display: block;
    margin-left: 0;
  }
  ol.type li a {
    padding: 7px 12px;
    font-size: 11px;
    display: block;
    white-space: nowrap;
  }
  .categories {
    padding-bottom: 16px;
  }

  /* Testimonial carousel — remove fixed aspect-ratio, reduce padding */
  .testimonial-carousel {
    aspect-ratio: unset;
    min-height: 320px;
    padding: 10px 6px;
  }
  .testimonial-slide {
    padding: 24px 18px;
    font-size: 15px;
  }
  .testimonial-img {
    width: 80px;
    height: 80px;
  }
  .testimonial-arrow {
    font-size: 22px;
    padding: 8px;
  }

  /* Contact section */
  #contact .social {
    margin-top: 40px;
  }
  #contact .social ul li {
    margin: 0 10px;
  }
}
