/* Mobile Styles */

body {
	margin: 0;
	padding: 0;
	font-family: Arial, sans-serif;
}

nav {
	background-color: transparent;
	color: black;
	display: flex;
	align-items: center;
	justify-content: space-between;
	margin: 0 auto;
	padding: 20px;
}

.logo {
    border: 2px solid black;
    height: 40px;
    width: 40px;
    text-align: center;
    justify-content: center;
    display: flex;
    align-items: center;
}

.logo img {
	height: 30px;
    width: auto;
}

/* Navigation Bar */
.navbar {
	padding: 20px 20px 0 35px;
  }
  
  .navbar-brand {
	font-family: "Ubuntu";
	font-size: 2.5rem;
	font-weight: bold;
  }
  
  .nav-item {
	padding: 0 18px;
  }
  
  .nav-link {
	font-size: 1.2rem;
	font-weight: 300;
	color: black;
  }

  .nav-link a {
	color: black;
	text-decoration: none;
	font-size: 1rem;
    font-weight: bold;
  }

  nav ul li a:hover {
    color: #BC1E2C;
    transition: all 0.5s ease-in-out;
  }

nav ul {
	list-style: none;
	display: flex;
}

nav ul li {
	margin-left: 20px;
}

nav ul li a {
	color: black;
	text-decoration: none;
    font-size: 1rem;
    font-weight: bold;
}


main {
	max-width: 600px;
	margin: 0 auto;
	padding: 20px;
    /* margin-top: -100px; */
}

h1 {
	font-size: 24px;
	/* margin-top: 10px; */
	margin-bottom: 10px;
}

img {
	width: 100%;
	height: 550px;
	/* margin-top: 20px; */
	/* margin-bottom: 25px; */
}

.house-img {
	margin-bottom: 25px;
}

p {
	font-size: 16px;
	margin-bottom: 20px;
}

hr {
	border: none;
	border-top: 1px solid #ccc;
	margin: 20px 0;
}

.client-img {
    height: auto;
}

.card-container {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	padding-bottom: 60px;
}

.brand-img {
	height: 30px;
	width: auto;
}

.card {
	width: 100%;
	height: 200px;
	border: 0px solid #ccc;
	margin-bottom: 20px;
	padding: 10px;
	box-sizing: border-box;
}

.card img {
	max-width: 20%;
	max-height: 80%;
	margin-bottom: 20px;
}

.card h2 {
	font-size: 18px;
	margin-bottom: 5px;
}

.card p {
	font-size: 14px;
}

.mission-card {
	width: 50%;
	height: 150px;
	/* margin-bottom: 20px; */
	padding: 10px;
	box-sizing: border-box;
}

.mission-card p {
	margin-bottom: 2px;
	width: auto;
}

.client-card {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	align-items: center;
	margin-bottom: 40px;
}

.getintouch {
	width: 100%;
	height: 100px;
	/* border: 1px solid #ccc; */
	margin-bottom: 20px;
	margin-top: 20px;
	/* padding: 10px; */
	box-sizing: border-box;
	display: flex;
	align-items: center;
	justify-content: space-around;
	background-color: rgb(218, 222, 225);
}

.getintouch h2 {
	font-size: 1.7rem;
}

.getintouch button {
	padding: 15px 60px ;
	font-weight: bold;
	color: wheat;
	background-color: #333;
	cursor: pointer;
}

.getintouch button:active {
	transform: scale(0.97);
}

footer {
    display: flex;
    justify-content: space-around;
    align-items: center;
	background-color: transparent;
	padding: 10px 20px;
	text-align: center;
	font-size: 14px;
	color: #333;
    border-top: 2px solid #33333341;
}

.logo-img {
	height: 50px;
	width: 50px;
	padding: 10px;
	border: 1px solid #BC1E2C;
	border-radius: 100%;
	margin: 10px 10px 0 0;
}
.flexContainer {

	display: flex;
	justify-content: space-between;
	align-items: center;
	flex-wrap: wrap;

}

.flexContainerWhy{
	display: flex;
	justify-content: space-between;
	flex-direction: row; /* Stack image and text vertically */
	align-items: center; /* Center items horizontally */
	text-align: center; /* Center text */
	padding: 10px;
}

/* Tablet Styles */

@media only screen and (min-width: 768px) {
	main {
		max-width: 1000px;
		padding: 40px;
	}

	h1 {
		font-size: 36px;
		/* margin-top: 60px; */
		margin-bottom: 30px;
	}

	hr {
		margin: 30px 0;
	}

	.card-container {
		margin-bottom: 60px;
	}

	.card {
		width: calc(33.33% - 20px);
		margin-right: 20px;
	}

	.card:last-child {
		margin-right: 0;
	}

	.card img {
		max-height: 70%;
		/* margin-bottom: 20px; */
	}

	/* .card h2 {
		font-size: 24px;
		margin-bottom: 10px;
	} */

	.card p {
		font-size: 16px;
	}

	footer {
		padding: 20px;
		font-size: 16px;
	}
}

/* Desktop Styles */

@media only screen and (min-width: 1200px) {
	main {
		max-width: 1600px;
		padding: 60px 60px 0 60px;
		margin: 0 100px;
	}

    nav {
        max-width: 1600px;
        padding: 20px 30px 0 30px;
		margin: 0 120px;
    }

	.toph1{
		margin-top: -5px;
	}

	h1 {
		/* margin-top: -5px; */
		font-size: 38px;
		/* margin-top: 80px; */
		margin-bottom: 40px;
	}

	hr {
		margin: 40px 0;
	}

	.card {
		width: calc(25% - 20px);
		margin-right: 20px;
	}

	.card:last-child {
		margin-right: 0;
    }
	
}

@media only screen and (max-width: 477px) {
	.clients {
		margin-top: 100px;
	}
}

@media only screen and (max-width: 362px) {
	.clients {
		margin-top: 170px;
	}
}

/* Custom CSS */

.red {
    color: #BC1E2C;
}