/* Root variables */
:root {
  --primary-color: #f58533;   /* orange */
  --secondary-color: #892740; /* deep wine red */
  --neutral-color: #727377;   /* slate gray */

  --background-light: #ffffff;
  --text-color: var(--neutral-color);
  --heading-color: var(--secondary-color);

  --transition: transform 0.3s ease-in-out;
  --hover-translateY: -8px;
  --icon-scale: 1.2;

  scroll-padding-top: 70px;
  
}

/* Font face declarations */
@font-face {
  font-family: 'Playfair Display';
  src: url('fonts/PlayfairDisplay-Regular.ttf') format('truetype');
  font-weight: normal;
  font-style: normal;
}

@font-face {
  font-family: 'Poppins';
  src: url('fonts/Poppins-Regular.ttf') format('truetype');
  font-weight: normal;
  font-style: normal;
}

/* Global styles */
body {
	overflow-x: hidden;
	padding-top: 4.375rem;
}

h1 {
	font-size: 2.5rem;
	font-family: 'Popin', sans-serif;
	font-weight: bold;
}
h2{
	font-size: 1.8rem;
	line-height: 2.8125rem;
}

.secondary-color {
	color: var(--secondary-color);
}

.btn {
	padding: 0.9375rem 1.5625rem;
  border-radius: 10px;
}

.secondary-bg {
	background-color: var(--secondary-color);
	color: #ffffff;
}

.neutral-bg {
	background-color: var(--neutral-color);
	color: #ffffff;
}

.primary-bg {
	color: #ffffff;
	background-color: var(--primary-color);
}

.logo span{
	font-size: 1.7rem;
	font-weight: bold;
	color: #6d6e71;
}

.drawer {
  position: fixed;
  top: 0;
  right: -15.625rem;
  height: 100%;
  width: 250px;
  background-color: #f8f9fa;
  box-shadow: -2px 0 5px rgba(0,0,0,0.1);
  transition: right 0.3s ease-in-out;
  z-index: 1050;
}

.drawer.open {
  right: 0;
}

.drawer a {
  display: block;
  padding: 1rem;
  color: #000;
  text-decoration: none;
  border-bottom: 1px solid #dee2e6;
}

.drawer a:hover {
  background-color: #e9ecef;
}


.backdrop {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: 1040;
}

.backdrop.show {
  display: block;
}

section {
	min-height: 100vh;
	padding-block: min(5em, 8%);
}

html {
  scroll-behavior: smooth;
}

.counter-section {
	padding-block: 5rem;
}

.counter-section .box {
	background-color: var(--neutral-color);
	border-radius: 10px;
	color: #ffffff;
	transition: var(--transition);
	transform: translateY(0);
}

.counter-section .icons {
	width: 4.375rem;
	height: 4.375rem;
	background-color: #333333;
	color: #ffffff;
	transition: var(--transition);
}

.counter-section .box:hover {
	transform: translateY(var(--hover-translateY));
}

.counter-section .icons:hover {
	transform: scale(var(--icon-scale));
}

.services {
	transition: var(--transition);
	transform: translateY(0);
}

.services .icons {
	background: rgba(129, 126, 133, 0.1);
	color: #817e85;
	width: 4.375rem;
	height: 4.375rem;
	transition: var(--transition);
}

.services:hover {
	transform: translateY(var(--hover-translateY));
}

.services:hover .icons {
	background: var(--secondary-color);
	color: #ffffff;
}

.responsive-img img {
	width: 100%;
	border-radius: 20px;
}

.span-area {
	background-color: var(--secondary-color);
	border-radius: 5px;
	padding: 0.3125rem 0.625rem;
	color: #ffffff;
	text-transform: uppercase;
	font-size: .9rem;
}

.principles {
	border-radius: 20px;
	padding: 10px;
	background-color: var(--secondary-color);
	text-align: center;
	margin-right: 10px;
	margin-bottom: 10px;
}

.name-tag {
	margin-top: -50px;
	color: #ffffff;
	border-radius: 10px;
	background: rgba(138, 39, 64, 0.8);
	padding: 1.25rem;
	width: 200px;
	position: absolute;
	z-index: 2000;
}

.contact-transition {
	transition: var(--transition);
	transform: translateY(0);
	opacity: 0.7;
}

.contact-transition:hover {
	transform: translateY(var(--hover-translateY));
	box-shadow: 2px 5px 5px #cccccc;
	opacity: 1;
}

.swiper-button-next, .swiper-button-prev {
	color:#dddddd !important;
}
.swiper-img img, .swiper-img .card {
	border-radius: 13px 13px 0 0;
}

.swiper-img .card {
	border: 1px solid #ededed;
	color: #000000;
}

.swiper-img .custom-list {
	list-style: none;
	padding-left: 0;
}

.swiper-img .custom-list li {
	position: relative;
	padding-left: 1.5em;
}

.swiper-img .custom-list li i {
	position: absolute;
	color: var(--neutral-color);
	left: 0;
}

.swiper-img .small-text {
	font-size: .9rem;
	color: var(--neutral-color);
	font-weight: bold;
}

.swiper-img .card {
	transition: var(--transition);
	transform: translateY(0);
}

.swiper-img .card:hover {
	transform: translateY(var(--hover-translateY));
}

.underline {
  width: 100px;
  height: 3px;
  background-color: var(--secondary-color);
}

/* Sweep To Right */
.hvr-sweep-to-right {
  display: inline-block;
  vertical-align: middle;
  -webkit-transform: perspective(1px) translateZ(0);
  transform: perspective(1px) translateZ(0);
  box-shadow: 0 0 1px rgba(0, 0, 0, 0);
  position: relative;
  -webkit-transition-property: color;
  transition-property: color;
  -webkit-transition-duration: 0.3s;
  transition-duration: 0.3s;
}
.hvr-sweep-to-right:before {
  content: "";
  position: absolute;
  z-index: -1;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--primary-color);
  -webkit-transform: scaleX(0);
  transform: scaleX(0);
  -webkit-transform-origin: 0 50%;
  transform-origin: 0 50%;
  -webkit-transition-property: transform;
  transition-property: transform;
  -webkit-transition-duration: 0.3s;
  transition-duration: 0.3s;
  -webkit-transition-timing-function: ease-out;
  transition-timing-function: ease-out;
  border-radius: 10px;
}
.hvr-sweep-to-right:hover, .hvr-sweep-to-right:focus, .hvr-sweep-to-right:active {
  color: white;
}
.hvr-sweep-to-right:hover:before, .hvr-sweep-to-right:focus:before, .hvr-sweep-to-right:active:before {
  -webkit-transform: scaleX(1);
  transform: scaleX(1);

}

/* Bounce To Bottom */
.hvr-sweep-to-right2 {
  display: inline-block;
  vertical-align: middle;
  -webkit-transform: perspective(1px) translateZ(0);
  transform: perspective(1px) translateZ(0);
  box-shadow: 0 0 1px rgba(0, 0, 0, 0);
  position: relative;
  -webkit-transition-property: color;
  transition-property: color;
  -webkit-transition-duration: 0.3s;
  transition-duration: 0.3s;
}
.hvr-sweep-to-right2:before {
  content: "";
  position: absolute;
  z-index: -1;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--primary-color);
  -webkit-transform: scaleX(0);
  transform: scaleX(0);
  -webkit-transform-origin: 0 50%;
  transform-origin: 0 50%;
  -webkit-transition-property: transform;
  transition-property: transform;
  -webkit-transition-duration: 0.3s;
  transition-duration: 0.3s;
  -webkit-transition-timing-function: ease-out;
  transition-timing-function: ease-out;
  border-radius: 10px;
}
.hvr-sweep-to-right2:hover, .hvr-sweep-to-right2:focus, .hvr-sweep-to-right2:active {
  color: white;
}
.hvr-sweep-to-right2:hover:before, .hvr-sweep-to-right2:focus:before, .hvr-sweep-to-right2:active:before {
  -webkit-transform: scaleX(1);
  transform: scaleX(1);

}

.portfolio-area {
  border-radius: 15px;
  padding-inline: 20px;
  padding-block: 25px;
}

.portfolio-area a {
  color: inherit;
  margin-block: 4px;
}

.portfolio-area a:hover {
  color: #ffffff;
  background-color: var(--secondary-color);
}

.portfolio-area .nav-link.active {
  background-color: var(--secondary-color) !important;
  color: #fff;
  border-left: 5px solid var(--primary-color);
}

.card {
  border: none;
}

.card-hover {
overflow: hidden;
position: relative;
}

.card-hover img {
transition: transform 0.5s ease;
width: 100%;
vertical-align: middle;
}

.card-hover:hover img {
transform: scale(1.1);
}

.small-brand {
    font-size: 1.3rem !important;
  }

@media (min-width: 576px) {
  .nav-brand {
    font-size: .6rem;
  }
}


@media (width >= 576px) {
	h1 {
		font-size: 2.5rem;
	}

	h2 {
		font-size: 2rem;
	}
}

@media (width >= 768px) {
	h1 {
		font-size: 3rem;
	}
	h2 {
		font-size: 2.2rem;
	}
}

@media (width >= 992px) {
	h1 {
		font-size: 3.5rem;
	}
	h2 {
		font-size: 2.2rem;
	}

}

@media (width >= 1200px) {
	h1 {
		font-size: 3.75rem;
	}

	h2 {
		font-size: 2.5rem;
	}
}

