/* poppins-200 - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Poppins';
  font-style: normal;
  font-weight: 200;
  src: url('../fonts/poppins-v21-latin-200.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}
/* poppins-regular - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Poppins';
  font-style: normal;
  font-weight: 400;
  src: url('../fonts/poppins-v21-latin-regular.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}
/* poppins-700 - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Poppins';
  font-style: normal;
  font-weight: 700;
  src: url('../fonts/poppins-v21-latin-700.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

* {
	margin: 0;
	padding: 0;
	box-sizing: border-box;
	font-family: 'Poppins', sans-serif;
	scroll-behavior: smooth;
}

body {
	background-color: #F8FDFF;
}

body::-webkit-scrollbar {
	display: none;
}

h1,h2,h3 {
	font-weight: 700;
}

p,a,button,span {
	font-weight: 200;
}

a {
	text-decoration: none;
}

a:hover,
button:hover {
	cursor: pointer;
}

a, button {
	border-radius: 8px;
}

li {
	list-style-type: none;
}

.container {
	padding: 4rem 0;
}

button {
	border: none;
}

.row {
	padding: 0 24px;
	margin: 0 auto;
	width: 100%;
	max-width: 1500px;
}

.heading-top1 {
	text-align: center;
}

.heading-top1,
.heading-top2 {
	color: #00000075;
	font-weight: 700;
	font-size: 12px;
}

.heading1 {
	text-align: center;
}

.color_white {
	color: #F8FDFF;
}

.color_white-faded {
	color: #F8FDFF50;
}

/* nav, home */
nav {
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	z-index: 100;
	padding: 16px;
	background-color: transparent;
	transition: background-color 300ms ease;
}

.nav_container {
	display: flex;
	align-items: center;
	justify-content: space-between;
}

#hamburger_menu {
	background-color: transparent;
	border: none;
	display: none;
}

#nav_modal {
	position: fixed;
	inset: 0;
	background-color: #333333;
	z-index: 100;
	visibility: hidden;
	opacity: 0;
	transition: visibility 500ms ease-in-out, opacity 300ms ease;
}

#nav_modal.show_modal {
	visibility: visible;
	opacity: 1;
}

.nav_modal--container {
	position: relative;
}

.nav_modal--container {
	width: 100%;
	height: 100%;
	padding: 16px;

	display: flex;
	align-items: center;
	justify-content: flex-end;
}

#exit-btn {
	background-color: transparent;
	border: none;
	position: absolute;
	top: 34px;
	right: 26px;
}

.nav_modal--list {
	color: #fff;
	font-size: 16px;
	text-align: end;
	display: flex;
	flex-direction: column;
	gap: 32px;
}

#license_number {
	position: absolute;
	color: #fff;
	bottom: 24px;
	right: 16px;
}

.nav_list {
	display: flex;
	align-items: center;
	gap: 32px;
}

.contact_btn-nav {
	padding: 8px 16px;
	background-color: #1B5083;
}

.nav_link {
	color: #fff;
}

.company_logo {
	width: 50px;
}

.page_h1 {
	font-size: 56px;
}

#home {
	position: relative;
	width: 100%;
	height: 100vh;
}

video {
	object-fit: cover;
	object-position: center;
	display: block;
	width: 100%;
	height: 100vh;
}

.overlay {
	position: absolute;
	inset: 0;
	background-color: #000;
	opacity: 0.5;
}

.home_text-container {
	top: 30%;
	left: 24px;
	width: 680px;
	position: absolute;
	color:#fff;
	z-index: 5;
}

.home_sub-heading {
	width: 600px; 
}

.home_btn,
.contact_btn {
	color: #fff;
	padding: 12px;
}

.btn-container {
	margin-top: 24px;
	display: flex;
	align-items: center;
	gap: 32px;
}

.contact_btn {
	background-color: #1B5083;
}

.home_btn {
	border: 1px solid #fff;
}

.service_home-container {
	position: absolute;
	bottom: 0;
	left: 0;
	right: 0;
	height: 75px;
	background-color: #1b518375;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 24px;
	font-size: 14px;
	gap: 56px;
}

.home_service-box {
	color: #fff;
	display: flex;
	align-items: center;
	gap: 12px;
}

.home_service-icon {
	width: 20px;
}

/* about */
#about {
	position: relative;
	overflow: hidden;
}

.location_name-container {
	margin: 32px 0 56px 0;
	display: flex;
	justify-content: space-evenly;
	gap: 32px;
}

.location-box {
	display: flex;
	align-items: center;
	gap: 4px;
	z-index: 10;
}

.location_text {
	text-align: center;
	width: 60%;
	margin: 0 auto;
}

.crab {
	position: absolute;
	top: 130px;
	right: -50px;
	width: 200px;
	z-index: 5;
}

.company_statement-container {
	border-top: 1px solid #00000025;
	background-color: #F8FDFF;
	z-index: 20;
}

.about_row {
	display: flex;
	justify-content: space-between;
	align-items: center;
}

.about_text-container {
	width: 50%;
}

.about_text {
	width: 100%;
	margin: 24px 0;
	line-height: 2rem;
}

.about_img-wrapper {
	width: 45%;
	border-radius: 16px;
	overflow: hidden;
}

.about_img {
	display: block;
	width: 100%;
}

/* services */
#services {
	background-color: #25303B;
}

.service_container {
	margin-top: 50px;
  display: grid;
  grid-template-columns: repeat(2, 300px);
	justify-content: center;
  gap: 25px;
}

.service-box {
	position: relative;
	width: 300px;
  overflow: hidden;
  z-index: 80;
  transition: scale 300ms ease;
	border-radius: 8px;
}

.service-box:hover {
	scale: .98;
}

.service_img {
	width: 300px;
  height: 200px;
  display: block;
}

.service_info-container {
	width: 300px;
  background-color: #25303B;
  border-bottom: .5px solid #fff;
  border-left: .5px solid #fff;
  border-right: .5px solid #fff;
  height: 200px;
  color: #fff;
  padding: 8px;
	border-bottom-left-radius: 8px;
	border-bottom-right-radius: 8px;
}

.service_name {
	margin-bottom: 12px;
  font-size: 18px;
}

.service-icon {
	position: absolute;
	bottom: 8px;
	width: 25px;
	right: 8px;
}

/* keypoints */

#keypoints {
	background-image: url('assets/painting-project-materials.webp');
	background-position: center;
	background-size: cover;
	height: 400px;
	background-attachment: local;
	position: relative;
}

.keypoints_text-container {
	position: absolute;
	top: 40px;
	color: #F8FDFF;
	width: 50%;
	display: flex;
	flex-direction: column;
	gap: 24px;
	z-index: 2;
}

.keypoints_overlay {
	opacity: 0.65;
}

.keypoints-container {
	position: absolute;
	z-index: 2;
	bottom: 56px;
	left: 24px;
	right: 24px;
	display: flex;
	justify-content: space-between;
	align-items: flex-end;
}

.keypoint-box {
	color: #F8FDFF;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 8px;
}

.keypoints-icon {
	width: 40px;
}

.group-icon {
	width: 50px;
}

/* portfolio */
#portfolio {
	border-bottom: 1px solid #00000025;
}

.portfolio_row {
	display: flex;
	justify-content: space-between;
	align-items: center;
}

.portfolio_text-container {
	width: 45%;
}

.portfolio_text-container p {
	margin-top: 24px;
	width: 100%;
}

.slider {
	height: 400px;
	position: relative;
	width: 500px;
	display: flex;
	overflow: hidden;
}

.slide-track {
	display: flex;
	align-items: center;
	width: calc(250px * 15);
	animation: slide 30s linear infinite;
}

.slider .slide-track:hover {
	animation-play-state: paused;
}

.slide {
	height: 400px;
	width: 400px;
	display: flex;
	align-items: center;
	padding: 12px;
}

.slider_img {
	width: 100%;
	height: 100%;
	border-radius: 8px;
}

@keyframes slide {
	0% {
		transform: translate(0);
	}
	100% {
		transform: translate(calc(-400px * 6));
	}
}

/* testimonial */
.testimonial_container {
	margin-top: 40px;
	display: flex;
	justify-content: center;
	gap: 40px;
}

.review_box {
	width: 600px;
	height: 400px;
	background-color: #25303B;
	color: #F8FDFF;
	padding: 40px 24px;
	border-radius: 16px;
	box-shadow: 5px 5px 10px 1px #00000075;

	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: space-between;
}

.review_box p {
	text-align: center;
	line-height: 1.8rem;
}

.review_text {
	margin: 80px 0 32px 0;
	text-align: center;
}

.review_btn-container {
	display: flex;
	flex-direction: column;
	align-items: center;
}

.review_btn {
	color: #F8FDFF;
	background-color: #1B5083;
	padding: 16px 24px;
}

/* contact */
.contact_container {
	width: 800px;
	margin: 0 auto;
	background-color: #25303B;
	padding: 40px 200px;
	border-radius: 16px;
}

form {
	border-bottom: 1px solid #F8FDFF50;
}

.form-group-container {
  display: grid;
  gap: 1rem;
  margin-top: 2rem;
}

.form-group {
  display: flex;
  flex-direction: column;
}

.form-label {
  margin-bottom: 0.5rem;
	color: #fff;
}

.form-input,
.form-textarea {
  padding: 0.5rem;
  border: 1px solid #e5e7eb;
  display: flex;
  height: 2.5rem;
  width: 100%;
  border-radius: 0.375rem;
  font-size: 0.875rem;
  line-height: 1.25rem;
}

.form-input::placeholder,
.form-textarea:focus-visible {
  color: #6b7280;
}

.form-input:focus-visible,
.form-textarea:focus-visible {
  outline: none;
}

.form-textarea {
  min-height: 120px;
}

.form-submit {
  width: 100%;
  margin: 1.2rem 0 2rem 0;
  background-color: #1B5083;
  color: #fff;
  padding: 13px 5px;
  border: none;
}

.contact_info-container {
	margin-top: 32px;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 16px;
}

.contact_info-container a {
	color: #F8FDFF;
}

.email::before {
	content: url('assets/email-icon.svg');
	width: 25px;
	height: 25px;
	vertical-align: -2px;
	margin-right: 8px;
}

.phone::before {
	content: url('assets/phone-icon.svg');
	width: 25px;
	height: 25px;
	vertical-align: -4px;
	margin-right: 8px;
}

.address::before {
	content: url('assets/address-icon.svg');
	vertical-align: -4px;
	margin-right: 8px;
}

/* footer */
footer {
	position: relative;
	background-color: #333333;
}

.footer_container {
	padding: 56px 0;
}

.footer_row {
	display: flex;
	justify-content: space-between;
}

.footer_link-container {
	display: flex;
	gap: 100px;
}

.footer_list h3 {
	color: #F8FDFF;
	font-weight: 200;
	margin-bottom: 24px;
}

.footer_list li {
	margin-bottom: 12px;
}

.footer_link {
	color: #F8FDFF;
}

.footer_info-text {
	top: 32px;
	right: 24px;
}

.footer_info-text,
.footer_info-text2 {
	position: absolute;
	color: #F8FDFF;
	text-align:end;
	width: 312px;
}

.footer_info-text2 {
	right: 24px;
	bottom: 4px;
	font-size: 12px;
}

/* service page */
#service_home {
	position: relative;
	background: linear-gradient(to bottom, #25303B 43%, #6483A1 100%);
	width: 100%;
	height: 100vh;
}

.service_page-container {
	position: absolute;
	top: 30%;
	left: 24px;
	right: 24px;
	text-align: center;
	color: #F8FDFF;
	display: flex;
	flex-direction: column;
	align-items: center;
}

.service-h1 {
	font-size: 48px;
}

.service-para {
	margin-bottom: 16px;
}

.service_home-wrapper {
	position: absolute;
	bottom: 16px;
	left: 16px;
	right: 16px;
	height: 300px;
	overflow: hidden;
	border-radius: 16px;
}

.paint_service {
	background: url('assets/painting-services-section-image.webp');	
	background-size: cover;
	background-position: center;
}

.repair_service {
	background: url('assets/repair-services-residential-commercial.webp');
	background-size: cover;
	background-position: center;
}

.maintenance_service {
	background: url('assets/maintenance-services-power-washing.webp');
	background-size: cover;
	background-position: center;
}

.remodel_service {
	background: url('assets/remodeling-services-flooring.webp');
	background-size: cover;
	background-position: center;
}

#service_statement {
	display: flex;
	justify-content: center;
}

.statement {
	text-align: center;
	width: 100%;
	max-width: 800px;
}

.residential_text-container {
	width: 50%;
}

.service-container {
	margin-top: 32px;
	display: flex;
	flex-direction: column;
	gap: 24px;
}

.service_page-box {
	width: 100%;
	background-color: #25303B;
	border-radius: 8px;
	padding: 16px;
}

.service_page-name {
	color: #F8FDFF;
	margin-bottom: 8px;
	font-size: 16px;
}

.service_description {
	color: #F8FDFF;
}

.residential_img-wrapper {
	position: relative;
	border-radius: 8px;
	width: 500px;
	height: 500px;
	overflow: hidden;
}

.residential_service-img {
	position: absolute;
	width: 800px;
	height: 500px;
	left: -150px;
	border-radius: 8px;
}

.residential_row {
	display: flex;
	align-items: center;
	gap: 8px;
	justify-content: space-between;
}

.commercial_row {
	display: flex;
	flex-direction: row-reverse;
	align-items: center;
	justify-content: space-between;
}

.line {
	width: 80%;
	height: 1px;
	background-color: #00000025;
	margin: 0 auto;
}

/* JS classes */
.solid {
	background-color: #333333EE;
	transition: background-color 300ms ease;
}

/* 1175px */
@media (max-width: 1175px) {
	/* about */
	.about_row {
		flex-direction: column-reverse;
		gap: 40px;
	}

	.about_img-wrapper {
		width: 100%;
	}

	.about_text-container {
		width: 80%;
	}

	.heading-top2,
	.heading2 {
		text-align: center;	
	}

	/* portfolio */
	.portfolio_row {
		flex-direction: column;
		gap: 40px;
	}

	.portfolio_text-container {
		width: 80%;
	}

	.residential_row,
	.commercial_row {
		flex-direction: column;
		gap: 56px;
	}

	.residential_text-container {
		width: 100%;
	}

	.residential_img-wrapper {
		width: 100%;
		margin: 0 auto;
	}

	.residential_service-img {
		width: 100%;
		height: auto;
		left: 0;
	}
}

/* 950px */
@media (max-width: 950px) {
	.page_h1 {
		font-size: 40px;
	}

	.page_h1,
	.home_sub-heading,
	.home_text-container {
		width: 500px;
	}

	.home_service-icon {
		width: 16px;
	}

	.home_service-box p {
		font-size: 12px;
	}

	.service_home-container {
		gap: 16px;
		flex-wrap: wrap;
		padding: 2px;
	}

	.location_name-container {
		flex-wrap: wrap;
	}

	.location_text {
		width: 80%;
	}

	.testimonial_container {
		flex-direction: column;
		align-items: center;
	}

	#keypoints {
		height: 600px;
	}

	.keypoints-container {
		flex-wrap: wrap;
	}

	.keypoint-box {
		width: calc(100% / 2);
		padding: 12px;
	}

	.keypoints_text-container {
		width: 80%;
	}

	#hamburger_menu {
		display: flex;
	}

	.nav_list {
		display: none;
	}

	.nav_modal--list {
		gap: 16px;
	}

	.contact_container {
		width: 100%;
		padding: 16px;
	}

	.contact_info-container {
		font-size: 14px;
	}

	.contact_row {
		padding: 0 12px;
	}

	.residential_img-wrapper {
		height: 400px;
	}
}

/* for smaller size */

@media (max-width: 775px) {
	.page_h1 {
		text-align: center;
	}

	.service-h1 {
		font-size: 24px;
	}

	.service-para {
		width: 100%;
	}

	.home_text-container {
		top: 25%;
		left: 24px;
		right: 24px;
		width: auto;
		text-align: center;
	}

	.btn-container {
		justify-content: center;
	}

	.service_container {
		grid-template-columns: repeat(1, 300px);
	}

	footer {
		height: 500px;
	}

	.footer_info-text {
		left: 24px;
		top: 350px;
		text-align: start;
		width: 80%;
	}

	.footer_info-text2 {
		left: 24px;
		right: 24px;	
		text-align: center;
		width: auto;
	}

	.review_box {
		width: 400px;
		font-size: 14px;
	}

	.page_h1 {
		font-size: 32px;
		width: auto;
	}

	.home_sub-heading {
		width: auto;
	}
}

/* 530px */
@media (max-width: 530px) {
	.btn-container {
		flex-direction: column;
	}

	.about_text-container {
		width: 95%;
	}

	#keypoints {
		height: 680px;
		background-position: left;
	}

	.keypoints-container {
		bottom: 8px;
	}

	.keypoint-box {
		width: calc(100% / 1);
		padding: 16px 0;
	}

	.keypoint-box p {
		font-size: 14px;
	}

	.group-icon {
		width: 10px;
	}

	.keypoints-icon {
		width: 35px;
	}

	.slider {
		width: 350px;
	}

	.portfolio_text-container {
		width: 95%;
		text-align: center;
	}

	.review_box {
		width: 100%;
		height: 500px;
	}

	.service_description {
		font-size: 14px;
	}

	.service_home-wrapper {
		height: 150px;
	}
}



/* nav_modal--list {
 font-size: 14px;
} */