/*basic*/
*,
*::before,
*::after {
  box-sizing: border-box !important;
  margin: 0;
  padding: 0;
  list-style: none;
  font-family: var(--secondry_font);
  text-decoration: none;
}
:root {
  --unit_font_size: 10px;
  --desktop_width: 1170px;
  --mobail_width: auto;
  --primary_font: 'Satoshi', sans-serif;
  --button_font: "Montserrat", sans-serif;
  --primary_font_color: #0C2139;
  --secondry_font_color: #63635E;
  --nav_background_color: #0C2139;

/* megnatic images in hero */
  --magnetic-offsetX: 0;
  --magnetic-offsetY: 0;
  --magnetic-velocity: 1;
  --magnetic-shadow: 0px 9px 21px rgba(0, 0, 0, 0.1),
                      0px 38px 38px rgba(0, 0, 0, 0.09),
                      0px 85px 51px rgba(0, 0, 0, 0.05),
                      0px 151px 60px rgba(0, 0, 0, 0.01);
}

html {
  font-size: var(--unit_font_size);
  scroll-behavior: smooth;
  overflow-x: hidden;
  scroll-padding-top: 150px;
}
body {
  color: var(--primary_font_color);
  font-family: var(--primary_font);
  overflow: hidden;
  font-size: 1.8rem;
  font-style: normal;
  font-weight: 400;
  line-height: 3.8rem;
}
input {
  display: none;
}
.grid{
display: grid;
}

.container{
  max-width: var(--desktop_width);
  margin-left: auto;
  margin-right: auto;
}
.extra_width{
  max-width: calc(var(--desktop_width) + 100px);
}
.top_margin{
  margin-top: 140px;
}

h1{
text-align: center;
font-size: 62px;
font-style: normal;
font-weight: 900;
line-height: 8rem;
letter-spacing: -1.86px;
}
#hero p{
text-align: center;
}

h2{
text-align: center;
font-size: 5.2rem;
font-style: normal;
font-weight: 900;
line-height: normal;
letter-spacing: -1.56px;
text-transform: capitalize;
}
h2 + p{
  text-align: center;
  margin: 15px auto 0 auto;
  width: 78%;
}
p{
  color: var(--secondry_font_color);
}

.btn{
display: flex;
padding: 10px 30px;
align-items: center;
gap: 25px;
border-radius: 20px;
background: linear-gradient(90deg, #1E72EE 0%, #1E72EE 99.9%);
margin: 40px auto 0px auto !important;
width: fit-content;

color: #FFF;
font-family: var(--button_font);
font-size: 1.6rem;
font-style: normal;
font-weight: 700;
line-height: 35px;
text-transform: capitalize;
}
.pulse_svg{
  r: 11.5;
  stroke-opacity: 0.19;
  stroke: #E6FC52;
   animation: pulse_ring 1.5s ease-out infinite;
}
@keyframes pulse_ring {
  0% {
    r: 1;
    stroke-opacity: 0.8;
  }
  100% {
    r: 11.5;
    stroke-opacity: 0;
  }
}







/* header  */
/* navbar  */
.logo{
  display: grid;
}
nav{
z-index: 999;
position: fixed;
top: 0;
left: 0;
right: 0;
transition: 0.3s;
}
.nav_bar{
display: flex;
justify-content: space-between;
align-items: center;
margin: auto;
}



.mobial_nav_icon{
display: flex;
padding: 5px 5px 5px 15px;
align-items: center;
gap: 10px;
border-radius: 20px;
/* background: var(--primary_font_color); */
position: relative;
}
.mobial_nav_icon::before{
  content: "";
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  right: 0;
  background: var(--primary_font_color);
  border-radius: 20px;
  z-index: -1;
  transition: 0.4s;
}
.mobial_nav_icon .mobail_nav_label{
display: flex;
padding: 5px 20px;
align-items: center;
gap: 10px;
border-radius: 15px;
background: linear-gradient(90deg, #1E72EE 0%, #1E72EE 99.9%);
cursor: pointer;
user-select: none;

color: #FFF;
font-family: var(--button_font);
font-size: 1.4rem;
font-style: normal;
font-weight: 400;
line-height: 3.5rem;
text-transform: capitalize;
}
.mobail_nav_label div{
  width: 20px;
  height: 10px;
  position: relative;
  display: grid;
}
.mobail_nav_label span{
width: 20px;
height: 2px;
background-color: white;
position: absolute;
transition: all 0.3s;
}
.mobail_nav_label span:nth-child(2){
  bottom: 0;
}
#mobail_nav_btn:checked + .mobail_nav_label span:nth-child(1){
  transform: translateY(4px) rotate(45deg);
}
#mobail_nav_btn:checked + .mobail_nav_label span:nth-child(2){
  transform: translateY(-4px) rotate(-45deg);
} 


nav{
background: var(--nav_background_color);
}


#nav_links{
  display: flex;
  gap: 40px;
}

#nav_links li:not(:has(#nav_contact)){
  display: flex;
  align-items: center;
  margin-top: -2px;
}

#nav_links a{
color: #FFF;
/* font-family: Inter; */
/* font-family: var(--primary_font); */
font-size: 1.6rem;
font-style: normal;
font-weight: 500;
line-height: normal;
}


a#nav_contact{
border-radius: 20px;
background: linear-gradient(90deg, #1E72EE 0%, #40A5FF 99.9%);
display: flex;
padding: 10px 24px 10px 29px;
align-items: center;
gap: 25px;

font-family: var(--button_font);
font-weight: 700;
line-height: 3.5rem;
text-transform: capitalize;
}
/*  */
/*  */
/*  */




/* backgrounds  */
#services_section, #testimonial_section, footer{
position: relative;
}
#services_section::before, #testimonial_section::before,
footer::before{
 content: '';
  width: 100%;
  height: 100%;
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background-image: url('../img/backgrounds/section-bg.webp');
  background-size: cover;
  background-position: center;
  z-index: -1;
}
footer::before{
  width: 100%;
  height: 970px;
  transform: translateY(50%);
}
/*  */
/*  */
/*  */




/* footer */
footer{
  padding: 60px 0;
}
footer div{
  display: flex;
  justify-content: space-between;
  align-items: center;
}
footer p{
  color: #0C2139;
}
footer p span{
color: #1E72EE;
font-weight: 700;
}
.social_icons{
display: flex;
gap: 20px;
margin-top: 10px;
}
.email{
color: #0C2139;
text-align: right;
font-weight: 700;
}
footer .ending_text{
  margin-top: 20px;
  align-items: flex-start;
}
.terms_links{
  display: grid;
}
.terms_links a{
color: #0C2139;
}
/*  */
/*  */
/*  */
/*  */
/*  */
/*  */
/*  */
/*  */
/*  */
/*  */









/* desktop view */
@media screen and (min-width:767px){
.mobail_only{
  display: none;
}
/* nav bar  */
nav{
border-radius: 30px;
max-width: 1370px;
margin: 25px auto 0 auto;
padding: 15px 15px 15px 25px;
}

nav.scrolled{
max-width: 100%;
border-radius: 0;
margin-top: 0;
}
.nav_bar{
max-width: 1330px;
}
.mobial_nav_icon{
  display: none;
}
}
/*  */
/*  */
/*  */



/* mobail view */
@media screen and (max-width:767px){
:root {
--desktop_width: 100%;
--nav_background_color: white;
}
body{
overflow-x: hidden;
font-size: 1.6rem;
line-height: normal;
}
.container{
padding-left: 20px;
padding-right: 20px;
}
.top_margin{
  margin-top: 90px;
}
.desktop_only{
  display: none;
}
h2{
font-size: 3rem;
line-height: 5rem;
letter-spacing: -0.9px;
text-align: left;
}
h2 + p{
  text-align: left;
  margin: 10px 0 0 0;
  width: 100%;
  line-height: 2.8rem;
}




/* nav bar  */
.logo img, .logo{
height: 45px;
}
nav{
  padding: 20px 10px;
}
nav.scrolling-down{
  transform: translateY(-100%);
}
#nav_links{
  /* display: none; */
  display: flex;
  flex-direction: column;
  z-index: 99;
  position: absolute;
  top: -40vh;
  left: 120%;
  transition: 0.4s;
}
.mobial_nav_icon:has(#mobail_nav_btn:checked)::before{
  width: 100vw;
  height: 100vh;
  right: -10px;
  top: -20px;
  z-index: 3;
  border-radius: 0;
}
.mobial_nav_icon:has(#mobail_nav_btn:checked) span{
  z-index: 9;
}
.mobial_nav_icon:has(#mobail_nav_btn:checked) + #nav_links{
  top: 80px;
  left: 20px;
}
/*  */
/*  */
/*  */


/* hero  */
h1{
font-size: 36px;
line-height: 4.68rem;
letter-spacing: -1.08px;
margin: 135px 0 20px 0;
}
#hero h1 img{
height: 41px;
}
#hero .magnetic-wrapper{
  margin-top: 50px;
}
/*  */
/*  */
/*  */







/* footer */
footer{
padding: 40px 0;
}
footer > div{
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
}
footer > div:nth-child(2){
  flex-direction: column-reverse;
  margin-top: 10px;
}
footer p{
  margin-top: 10px;
}

}




.visually-hidden {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
