@media screen and (min-width: 992px) and (max-width: 1199px) {
	/* Medium devices (laptops/desktops, 992px and up) */
	:root {
		--container-max-width: 900px;
	}

	#about-us-section {
		padding-top: 30px;
	}

	.about-us-img {
		width: 41%;
	}

	.about-us-details p {
		font-size: 16px;
		line-height: 25px;
	}

	#our-motto-section {
		padding-top: 30px;
	}

	.our-motto-header p {
		font-size: 16px;
	}

	.services-header p {
		font-size: 16px;
	}

	#testimonials-section {
		padding: 30px 0;
	}

	.testimonials-header p {
		font-size: 16px;
	}

	.testimonial-item p {
		font-size: 18px;
	}

	.portfolio-header p {
		font-size: 16px;
	}

	.cta-details {
		display: flex;
		flex-direction: row;
	}

	.cta-detail p {
		width: 500px;
	}

	.services-box {
		width: 48%;
	}

	.portfolio-item {
		width: 50%;
	}

	.portfolio .card-body h2 {
		font-size: 16px;
	}

	.product-name h2 {
		font-size: 25px;
	}

	.spec-table thead th {
		font-size: 18px;
	}

	tbody,
	td,
	tfoot,
	th,
	thead,
	tr {
		font-size: 16px;
	}

	/* ----contact-section---- */
	.contact-details {
		display: flex;
	}

	.contact-details {
		max-width: 100%;
	}

	.contact-phone {
		padding: 0 100px;
	}

	#contact-section {
		padding: 10px 0;
	}

	.contact-email p {
		padding-left: 10px;
	}
}

@media screen and (min-width: 768px) and (max-width: 991px) {
	/* Small devices (tablets, 768px and up) */
	:root {
		--container-max-width: 730px;
	}

	/* ----hero-nav-section---- */
	.hero-nav-details {
		display: none;
	}

	/* ----services-section---- */
	.services-box {
		width: 100%;
	}

	/* ----call-to-action-section---- */

	.cta-details {
		display: flex;
		flex-direction: column;
	}

	.cta-detail p {
		width: 100%;
	}

	/* ----team-section---- */
	.team-details {
		display: flex;
		/* flex-wrap: wrap; */
	}

	.pic img {
		max-width: 100%;
		vertical-align: middle;
	}

	.detail {
		padding: 5px 0;
		margin-left: 10px;
	}

	.detail h4 {
		font-size: 16px;
	}

	.detail span {
		font-size: 12px;
	}

	.social a {
		padding-left: 5px;
		font-size: 13px;
	}

	/* ----contact-section---- */
	.contact-details {
		display: flex;
	}

	.contact-details {
		max-width: 100%;
	}

	.contact-phone {
		padding: 0 35px;
	}
}

@media screen and (min-width: 576px) and (max-width: 767px) {
	/* Small devices (landscape phones, 576px and up) */
}
@media screen and (max-width: 575px) {
	/* Small devices (portrait phones, 575px and up) */
	:root {
		--container-max-width: 320px;
	}

	/* ----hero-nav-section---- */
	.hero-nav-details {
		display: none;
	}

	/* ----main-nav---- */

	.container-fluid img {
		width: 80px;
	}

	/* ----Intro Section---- */

	#intro {
		width: 100%;
	}

	.intro-content h2 {
		font-size: 27px;
	}

	.carousel-item {
		height: 340px;
	}

	.carousel-item img {
		height: 340px;
		object-fit: cover;
	}

	/* ----About-Us-Section---- */

	#about-us-section {
		padding-top: 40px;
	}

	.about-us-img img {
		width: 100%;
		height: 100%;
		padding-bottom: 20px;
	}
	.about-us-details p {
		text-align: center;
	}

	/* ----our-motto-section---- */

	#our-motto-section {
		padding-top: 30px;
	}

	.our-motto-header p {
		text-align: center;
		font-size: 16px;
	}

	/* ----services-section---- */

	#services-section {
		padding: 20px 0 0 0;
	}

	.services-header p {
		font-size: 16px;
		text-align: center;
	}

	.services-img img {
		padding-bottom: 13px;
	}

	.services-box {
		width: 100%;
		padding: 20px;
		display: flex;
		flex-direction: column;
	}

	.box-detail {
		text-align: center;
	}

	.icon {
		width: 100%;
	}

	.icon i {
		display: flex;
		justify-content: center;
		align-items: center;
		margin-bottom: 20px;
	}

	.portfolio-item {
		width: 100%;
	}

	/* ----portfolio-section---- */

	#portfolio-section {
		padding: 15px 0;
	}

	.portfolio-header p {
		font-size: 16px;
		text-align: center;
	}

	.portfolio .card-body h2 {
		font-size: 16px;
	}

	/*  ----testimonials-section---- */

	#testimonials-section {
		padding: 30px 0;
	}

	.testimonials-header p {
		font-size: 16px;
		text-align: center;
	}

	.testimonial-item p {
		font-size: 18px;
	}

	.last-testimonial {
		width: 100%;
	}

	/* ----call-to-action-section---- */
	.cta-details {
		display: flex;
		flex-direction: column;
	}

	.cta-detail p {
		width: 100%;
	}

	/* ----team-section---- */
	.team-details {
		display: flex;
		flex-direction: column;
	}

	.pic img {
		max-width: 100%;
		vertical-align: middle;
	}

	/* ----contact-section---- */

	#contact-section {
		padding: 15px 0;
	}

	.contact-header {
		margin-bottom: 10px;
	}

	.contact-details {
		display: flex;
		flex-wrap: wrap;
		align-items: center;
		justify-content: center;
	}

	.contact-details {
		max-width: 100%;
	}

	.contact-phone {
		border-left: none;
		border-right: none;
		padding: 0 0;
	}

	.copyright {
		font-size: 12px;
	}

	/* ----ferro-allow---- */

	.ferro-alloys-section {
		padding-top: 30px;
	}

	.product-name h2 {
		font-size: 20px;
	}

	.spec-table thead th {
		font-size: 17px;
	}

	tbody,
	td,
	tfoot,
	th,
	thead,
	tr {
		font-size: 14px;
	}

	.rev-order {
		flex-direction: column-reverse;
	}
}
