/*Fonts Used*/
@import url('https://fonts.googleapis.com/css2?family=Sulphur+Point:wght@300;400;700&family=Urbanist:ital,wght@0,100..900;1,100..900&display=swap');

:root { 

}


#services{position: relative; padding: 45px 25px 45px;}

.serv_info { position: relative; text-align: center; margin: 50px 0 212px; }
.serv_info h2 { font-family: var(--priFont); font-size: 56px; line-height: 100%; font-weight: bold; margin-bottom: 20px; }
.serv_info h2 small { display: block; font-family: var(--secFont); font-size: 25px; font-weight: normal; text-transform: uppercase; line-height: 100%; border-radius: 22px;   position: relative; max-width: max-content;margin: 0 auto 25px;padding: 0 29px; color: var(--priColor); z-index: 3;}
.serv_info h2 small::before { content: ""; width: 100%; height: 43px; background-color: #FAFCFF; border: 1px solid #E5E5E5; border-radius: 22px; position: absolute; left: 50%; transform: translate(-50%,-50%); margin: 0 auto; z-index: -1; top: 50%; pointer-events: none; }
.serv_info p{text-align: center;width: 100%; max-width: 942px; margin: 0 auto;}

.servboxes_con { min-height: 0; padding-bottom: 168px; background: var(--priColor); position: relative; margin-bottom: 310px;}
.servboxes_con::before { content: ""; background: var(--priColor); width: 1920px; height: 100%; position: absolute; top: 0; left: 50%; transform: translateX(-50%); pointer-events: none;}

.servboxes {  display: flex; justify-content: center; position: relative;top: -128px;left: 0;right: 0;margin: 0 auto;flex-wrap: wrap; gap: 40px 10px;}
.servboxes section { position: relative; display: inline-block; height: auto; width: 24%; text-align: center; max-width: 100%; padding: 0 0 90px; color: #fff;}
.servboxes section h2 {  color: #fff;  font-family: var(--priFont); font-size: 30px; line-height: 100%; text-transform: uppercase; margin-bottom: 15px; min-height: 60px; }
.servboxes section a { display: block; width: 225px; line-height: 72px; background: #fff; border-radius: 37px/36px; margin: 0 auto; color: var(--priColor); font-weight: normal; font-family: var(--priFont); font-size: 20px; text-transform: uppercase; position: absolute; bottom: 0; left: 0; right: 0; }
.servboxes section a:hover { background: #db4b4b; text-decoration: none; color: #fff; }
.servboxes section:hover h2 { color: var(--secColor); }
.servboxes section p { text-align: center; padding: 0 20px; color: white;}
.servboxes section figure { margin-bottom: 30px; background: #fff; border-radius: 24px; border: 8px solid #FFFFFF;}
.servboxes section figure img {  border-radius: 24px; }

.serv_img { position: absolute; bottom: -180px; left: 0; right: 0; margin: 0 auto; z-index: 2; pointer-events: none;}
.serv_img figure { border-radius: 198px; }
.serv_img figure img { border-radius: 198px; }

.serv_cta_info_flex { position: relative; display: flex; justify-content: space-between; column-gap: 10px; align-items: center;}
.serv_cta { position: relative; margin-bottom: 80px; }
.serv_cta h2 { font-family: var(--priFont); font-size: 56px; font-weight: bold; color: var(--priColor); line-height: 100%; }
.serv_cta h2 small { display: block; font-family: var(--secFont); font-size: 25px; font-weight: normal; text-transform: uppercase; line-height: 100%; border-radius: 22px; color: var(--priColor);  position: relative; padding: 0 27px; max-width: max-content; margin-bottom: 40px;}
.serv_cta h2 small::before { content: ""; width: 100%; height: 43px; background-color: #FAFCFF; border: 1px solid #E5E5E5; border-radius: 22px; position: absolute; left: 50%; transform: translate(-50%,-50%); margin: 0 auto; z-index: -1; top: 50%; pointer-events: none; }
.serv_cta p { margin: 0; width: 665px; }
.serv_cta p mark { font-family: var(--priFont);  font-weight: bold; color: var(--priColor);}

.serv_cta_info_flex::before { content: ""; background: #fff; border: 1px solid #e5e5e5; opacity: .58; width: 8px; height: 138px; border-radius: 3px/4px; position: absolute; top: 50%; left: 555px; transform: translateY(-50%); pointer-events: none; }

.servboxes section ul li {text-align: left;}
.serv_cta h2 small { z-index: 2; }
/* Media Queries */
@media only screen and (max-width:1420px) {
	.servboxes section figure { overflow: hidden; }
	.servboxes section figure img { max-width: initial; margin-left: 50%; transform: translateX(-50%); }

	.serv_img figure { overflow: hidden; }
	.serv_img figure img { max-width: initial; margin-left: 50%; transform: translateX(-50%); }

	.serv_cta { margin-bottom: 80px; }
	.serv_cta p { width: 50%; }
	.serv_cta_info_flex::before { left: 515px; }
}

@media only screen and (max-width:1200px) {
	.serv_cta p { width: 43%; }
	.servboxes section { width: 31%; }

}

@media only screen and (max-width:1090px) {
	.servboxes section a { width: 205px; }

}

@media only screen and (max-width:1000px) {

	.servboxes { justify-content: center; flex-wrap: wrap; row-gap: 40px; position: static; column-gap: 20px; margin-bottom: 80px; }
	.servboxes section { width: 38%; }
	.servboxes section p { padding: 0 20px; }
	.serv_info { margin: 50px 0; }
	.servboxes_con { margin-bottom: 0; padding: 80px 0; }
	.serv_img { position: static; }
	.serv_cta { margin: 50px 0 0; text-align: center; }
	.serv_cta_info_flex { display: block; }
	.serv_cta_info_flex::before { width: 0; background: unset; width: 0; height: 0; transform: none; position: static; display: none; }
	.serv_cta h2 small { margin: 0 auto 20px; }
	.serv_cta p { width: 100%; margin: 20px auto 0; text-align: center; }
	.serv_img figure img { width: 910px; }

}

@media only screen and (max-width:800px) {
	.servboxes section { width: 45%; }
	.serv_img figure img { max-width: 100%; }
}

@media only screen and (max-width:600px) {
	.servboxes section { width: 100%; max-width: 345px; }
	.serv_img figure { border-radius: 100px; }
	.serv_img figure img { border-radius: 100px; transform: translateX(-48%); }
	.serv_cta h2 small::before { height: 100%; }
	.serv_cta h2 small { padding: 10px 27px; }
	.serv_info h2 { font-size: 42px; }

	
}