/*Fonts Used*/
@import url('https://fonts.googleapis.com/css2?family=Jost:ital,wght@0,100..900;1,100..900&display=swap');
:root { 
	--primary-hdng: "Jost", sans-serif;
	--sec-hdng: "Jost", sans-serif;
	--primary-color: #3e82c9;
	--sec-color: #3c5f7a;
	--tertiary-color: #ffce1a;
	--theme-black: #333;
}

body{font-family: var(--sec-hdng); font-size: 17px; color: var(--theme-black);}

#services{position: relative; padding: 30px 15px 45px;}

.serv_info { position: relative; text-align: center; margin: 50px 0 212px; }
.serv_info h2 { font-family: var(--primary-hdng); font-size: 56px; line-height: 100%; font-weight: bold; margin-bottom: 20px; }
.serv_info h2 small { display: block; font-family: var(--sec-hdng); font-size: 25px; font-weight: normal; text-transform: uppercase; line-height: 100%; border-radius: 22px; background: #3c5f7a; -webkit-background-clip: text; -webkit-text-fill-color: transparent; letter-spacing: 5px;  position: relative; max-width: max-content;margin: 0 auto 25px;padding: 0 29px;}
.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: 2000px; background: var(--primary-color); position: relative; margin-bottom: 310px;}
.servboxes_con::before { content: ""; background: var(--primary-color); width: 1920px; height: 100%; position: absolute; top: 0; left: 50%; transform: translateX(-50%); pointer-events: none;}

.servboxes {  display: flex; justify-content: center; position: absolute;top: -128px;left: 0;right: 0;margin: 0 auto; flex-wrap: wrap; gap: 40px 15px;}
.servboxes section { position: relative; display: inline-block; height: auto; width: 24.3%; text-align: center; max-width: 100%; padding: 0 0 90px; color: #fff;}
.servboxes section h2 {    font-family: var(--primary-hdng); font-size: 30px; line-height: 100%; text-transform: uppercase; margin-bottom: 15px; min-height: 61px;}
.servboxes section a { display: block; width: 225px; line-height: 72px; background: #fff; border-radius: 37px/36px; margin: 0 auto; color: var(--primary-color); font-weight: normal; font-family: var(--primary-hdng); font-size: 20px; text-transform: uppercase; position: absolute; bottom: 0; left: 0; right: 0; }
.servboxes section a:hover { background: var(--sec-color); text-decoration: none; color: #fff; }
/* .servboxes section:hover h2 { background: #3c5f7a; background-clip: border-box; -webkit-background-clip: text; -webkit-text-fill-color: transparent; } */
.servboxes section p { text-align: center; padding: 0 22px; }
.servboxes section figure { margin-bottom: 50px; background: #fff; border-radius: 24px; border: 8px solid #FFFFFF;}
.servboxes section figure img {  border-radius: 24px; }

.serv_img { position: absolute; bottom: -190px; 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(--primary-hdng); font-size: 40px; font-weight: bold; color: var(--primary-color); line-height: 100%; }
.serv_cta h2 small { display: block; font-family: var(--sec-hdng); font-size: 25px; font-weight: normal; text-transform: uppercase; line-height: 100%; border-radius: 22px; background: #3c5f7a;  -webkit-background-clip: text; -webkit-text-fill-color: transparent; letter-spacing: 5px;  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: 720px; }
.serv_cta p a {   color: var(--tertiary-color) !important;}
.serv_cta p mark { font-family: var(--primary-hdng);  font-weight: bold; background: #3c5f7a;-webkit-background-clip: text;-webkit-text-fill-color: transparent;}

.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; }


/* 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:1300px) {
.servboxes{top: -200px;}
.serv_img{    bottom: -250px;}
}
@media only screen and (max-width:1200px) {
	.serv_cta p { width: 43%; }

}

@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: 35%; }
	.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; }

}

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

@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; }
}