@import url("https://fonts.googleapis.com/css2?family=Outfit:wght@400;700&display=swap");
@font-face {
  font-family: "serpentLight";
  src: url("fonts/serpentLight.ttf") format("truetype");
}
@font-face {
  font-family: "serpentBold";
  src: url("fonts/serpentBold.ttf") format("truetype");
}
@font-face {
  font-family: "serpentMedium";
  src: url("fonts/serpentMedium.otf") format("truetype");
}

:root {
  --clr-primary-bg: #192355;
  --clr-primary: #fff;
  --clr-sec-nav-bg: #13293d;
  --clr-sec-nav-link: #ebe8da;
  --clr-top-nav-links: #333;
  --clr-footer-bg: #13293d;
}
* {
  box-sizing: border-box;
  padding: 0;
  margin: 0;
}

body {
  font-family: "Outfit", sans-serif;
  color: #333;
  line-height: 1.6;
	background-image: url("../img/bg.png");
}
.body-container {
  container-type: inline-size;
  container-name: container;
}
ul {
  list-style-type: none;
}

a {
  text-decoration: none;
}
h1,
h2,
h3 {
  
  line-height: 1.2;
  margin: 10px 0;
}
h1{
  font-weight: 600;
  font-size: 2.2rem;
}
h2{
  font-weight: 600;
  font-size: 1.8rem;
}
h3{
  font-weight: 500;
  font-size: 1.6rem;
}

p {
  margin: 10px 0;
}

img {
  width: 100%;
	
}

.page-contents a{ 
	
	color: #04457f;
	text-decoration: underline
}

.page-contents ul{ 
	
	    list-style: inside;
}

.page-contents ol{ 
	
	        padding: 20px;
    list-style-type: decimal;
}

.hero-img {
	    max-height: 250px;
}

.logo-main {
  width: 250px;
}

/* navbar primary*/

.navbar {
  background-color: var(--clr-primary);
  /* height: 200px; */
}

.navbar ul {
  display: flex;
}

.navbar a {
  color: var(--clr-top-nav-links);
  padding-bottom: 5px;
  margin: 10px;
  transition: 0.3s ease;
	font-size: 1.2rem;
}

.navbar a:hover {
  border-bottom: 2px var(--clr-primary-bg) solid;
}

.navbar .flex {
  justify-content: space-between;
	    padding: 0 10px;
}

/* navbar secondary */

.navbar-secondary {
  background-color: var(--clr-sec-nav-bg);
  height: auto;
  border-top: 3px solid #192355;
}

.navbar-secondary .flex {
  display: block;
}
/* .navbar-sec {
  min-height: 70px;
  display: flex;

  justify-content: space-between;
  align-items: center;
  padding: 0 24px;
} */

.nav-menu {
  display: none;
  position: relative;

  flex-direction: column;
  transition: 0.7s;
  text-align: center;
}
.nav-menu li {
  margin: 0;
}
.nav-menu.active {
  left: 0;

  display: block;

  transition: 0.7s;
}

.nav-menu li {
  border-bottom: 1px solid white;
  padding: 10px 0;
}
.nav-menu li:last-child {
  border-bottom: none;
}

.nav-menu li a {
  font-size: 1.1rem;
  line-height: 1.8em;
  color: var(--clr-sec-nav-link);
  transition: 0.2s;
}
.nav-menu li a:hover {
  color: dodgerblue;
}

.navbar-secondary .flex {
  justify-content: center;
}

/* hero section */
.hero {
  margin-top: 5px;
  /* background-color: var(--clr-sec-nav-link); */
}

/* banner on the right and top */

.banner-right {
  width: 100%;
  /* height: 100vh; */
  text-align: center;
  position: relative;
  display: flex;
  justify-content: center;
  font-family: serpentLight;
}
.banner {
  width: 100%;
  height: 100%;
  background-image: url("../img/banner-bg.jpg");
  background-size: cover;
  background-position: 69%;
}

.banner-right .banner h1 {
  font-family: serpentBold;
  color: #090a09;
  font-size: 2.5rem;
}
.banner-right .banner h2 {
  color: #090a09;
  font-size: 1.5rem;
}

.banner-right .services {
  border: 2px solid var(--clr-primary-bg);
  color: var(--clr-primary-bg);
  background: #c5cfd2;
  border-radius: 5px;
  display: grid;
  grid-template-rows: auto 1fr;
  grid-template-columns: 1fr 1fr;
  margin: 2em;
  font-size: 1.2rem;
  font-family: "serpentLight";
  grid-column-gap: 40px;
	    padding: 3px;
}

.banner-right .services .website {
  font-size: 1.3rem;
  font-family: "serpentMedium";
  grid-column: span 2;
  padding: 5px 0;
}

.banner-right .services .services-block {
  text-align: left;
 /* margin-left: 10px;*/
}
.left {
  padding-left: 0;
}

.banner-right .contact {
  background-color: var(--clr-primary-bg);
  color: #fff;
  border-radius: 5px;
  margin: 2em;
  padding: 1.6em 5px;
}
.banner-right .contact .bright {
  color: #8dd8ff;
  font-size: 1.3rem;
}

.banner-right .contact .bright-white {
  color: #ffffff;
  font-size: 1.3rem;
}
.banner-right .contact .number {
  letter-spacing: 0.1em;
  font-size: 1.2rem;
}

.banner-right .contact .email {
  letter-spacing: 0.2em;
  font-size: 1.1rem;
}

.banner-left {
  display: flex;
  flex-direction: column;
  /* justify-content: center; */
  padding: 10px 10px;
}

.banner-left img {
  border: 3px solid #8dd8ff;
  border-radius: 5px;
  /* width: 181px;
  height: 100px; */
}

.caption {
  font-family: SerpentLight;
  background: #4b5b95;
  padding: 10px 0;
  text-align: center;
  margin-top: -8px;
  font-size: 1.5rem;
}
.banner-center {
  border: 1px solid #fff;
  display: flex;
  justify-content: center;
  text-align: center;

  padding: 1em;
  width: 96%;
  margin: auto;
  margin-bottom: 10px;
}

.banner-center .block {
  padding: 0 15px;
  width: 98%;
  align-self: center;
  font-family: "serpentLight";
  letter-spacing: 0.1em;
}

/* utilities */
.container {
  margin: 0 auto;
	padding: 0 10px;
	overflow: auto;

}

.flex {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100%;
}

.grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;

  height: 100%;
}

.banner-grid {
  display: grid;
  grid-template-columns: 1fr;
  height: 100%;
  background-color: var(--clr-primary-bg);
  color: #fff;
}


/* inner pages style start */
.page-grid{
  display: grid;
  grid-template-columns: 1fr ;
  gap: 20px;
  margin-top: 20px;
  
}
.page-grid-left{
  order: 2;
  
}
.page-grid-right{
  order: 1;
}

.page-heading{
  font-size: 2rem;
font-family: 'serpentMedium' ;
text-transform: capitalize;
	
	
	
}
.page-grid-contents{
  font-size: 1.1rem;
}
/*** inner pages style end */



/* mobile menu */
.burger {
  display: block;
  cursor: pointer;
  margin-left: 20px;
}
.burger.active .bar:nth-child(2) {
  opacity: 0;
}
.burger.active .bar:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}
.burger.active .bar:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}

.bar {
  display: block;
  width: 25px;
  height: 2px;
  margin: 5px auto;

  -webkit-transition: all 0.3s ease-in-out;
  transition: all 0.3s ease-in-out;
  background-color: var(--clr-primary-bg);
}
.banner-left {
  order: 1;
}
.banner-center {
  order: 2;
}
.banner-right {
  order: 3;
}

.small-heading {
  font-family: "serpentBold";
  margin: 20px;
  text-align: center;
}

/* footer */
.footer {
  margin-top: 50px;

  display: grid;
  grid-template-rows: 2;
  color: #ebe8da;
}

.footer-top {
  padding-top: 30px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0px;
  background-color: #13293d;
}
.footer-top-left {
  margin: 10px;
}
.footer-bottom {
  /* display: flex; */
  justify-content: space-between;
  grid-template-columns: 1fr 1fr;
  background-color: #ebe8da;
  color: #13293d;
  padding: 10px;
  font-size: 0.8rem;
  text-align: center;
}

.footer-logo {
  width: 150px;
}

/* margin and paddings */

.m-b-15 {
  margin-bottom: 15px;
}
.m-r-10 {
  margin-right: 10px;
}
hr {
  margin-top: 20px;
  margin-bottom: 20px;
  border: 0;
  border-top: 1px solid #c6c5c5;
}


/****************************************************************************************************
card
*****************************************************************************************************/



    /*  Card */
    .basic-card {
        width:100%;
        position: relative;
        margin-bottom: 45px;
        text-align: left;
        padding: 10px;
        /* background-image: linear-gradient(to bottom right, #ffffff, #ebe8da); */
        
        -webkit-box-shadow: 0px 5px 5px 0px rgba(0,0,0,0.3);
        -moz-box-shadow: 0px 5px 5px 0px rgba(0,0,0,0.3);
        -o-box-shadow: 0px 5px 5px 0px rgba(0,0,0,0.3);
        box-shadow: 0px 5px 5px 0px rgba(0,0,0,0.3);
    }
    
        .card-heading {
          /* font-family: serpentMedium; */
            padding: 10px 20px;
            font-size: 25px;
            text-align: left;
        }



        .card-link {
            display: flex;
            justify-content: space-between;
            padding: 5px 25px;
            width: -webkit-fill-available;
            color:#eee;
            border-top: 1px solid #636363;
        }

           .card-link a {
            color:#636363;
                text-decoration: none;
                position: relative;
                padding: 10px 0px;
            }

           .card-link a:after {
            background:#636363;
                top: 30px;
                content: "";
                display: block;
                height: 2px;
                left: 50%;
                position: absolute;
                width: 0;
                background:#636363;

                -webkit-transition: width 0.3s ease 0s, left 0.3s ease 0s;
                -moz-transition: width 0.3s ease 0s, left 0.3s ease 0s;
                -o-transition: width 0.3s ease 0s, left 0.3s ease 0s;
                transition: width 0.3s ease 0s, left 0.3s ease 0s;
            }

             .card-link a:hover:after { 
                width: 100%; 
                left: 0; 
            }
    
.footer-txt{font-size: 1rem;}
.footer-top-right{ padding-right: 20px;}
/************************************************************************************

MEDIA QUERIES

*************************************************************************************/



/* xs  */
@container container (min-width: 475px) {
/*    .container {
      border: 2px solid green;
    }*/
  } /*end xs */
  
  /* small */
  @container container (min-width: 640px) {
/*    .container {
      border: 2px solid yellow;
    }*/
    .left {
      padding-left: 2em;
    }
  }
  /* small end */
  
  /*   medium */
  @container container (min-width: 768px) {
  
	  .banner-right .contact .number {
  letter-spacing: 0.1em;
  font-size: 1.3rem;
}
	  .navbar a{
		  font-size: 1.6rem;
	  }
	  .footer-txt{font-size: 1.4rem;}
	  
	  .footer-top{ gap:20px}
	  
	  
    .page-grid{
      display: grid;
      grid-template-columns: 2fr 1fr;
      gap: 20px;
    }
	  
    .page-grid-left{
      order: 1;
    }
    .page-grid-right{
      order: 2;
    }
/*    .container {
      border: 2px solid red;
    }*/
    .burger,
    .small-heading {
      display: none;
    }
    .nav-menu {
      display: flex;
      flex-direction: row;
      justify-content: center;
      align-items: center;
      gap: 25px;
      height: 60px;
    }
    .nav-menu li {
      border-bottom: none;
    }
    /* hero grid medium*/
    .banner-grid {
      grid-template-columns: 1fr 80px 1fr;
      gap: 10px;
    }
  
    .banner-left {
      order: 1;
      padding-left: 3em;
      padding-top: 2em;
    }
    .banner-center {
      margin-right: 10px;
      margin-top: 2em;
      margin-bottom: 2em;
      order: 2;
    }
    .banner-right {
      order: 3;
    }
    .caption {
      font-size: 1.2rem;
    }
    /* medium banner center */
    .banner-center .block {
      width: auto;
      /* height: 100%; */
    }
    .txt-vertical {
      writing-mode: tb-rl;
      transform: rotate(-180deg);
    }
  
    .banner-right .services,
    .contact {
      margin: 3em;
    }
    .banner-right .contact {
      margin: 3.5em;
    }
  }
  /* medium end */
  
  /* large */
  @container container (min-width: 1024px) {
/*    .container {
      
		border: 1px solid red;
    }*/
	  

	.featured-img-cat{
	  padding: 0;
	} 
	  
  .featured-img{
	  padding: 0 5em;
	} 
  

  .featured-img a img{
	height: auto;
	max-height: 500px;
	width: 100%;
	}
	  
	  
	  .nav-menu li a {
      font-size: 1.2rem;
    }
    .hero {
      padding: 0 14em;
    }
    .banner-grid {
      grid-template-columns: 4
		  0% 80px 1fr;
      gap: 20px;
    }
    .banner-right .services {
      margin: 4em;
    }
    .banner-right .contact {
      margin: 4.5em;
    }
  }
  /*  end large */
  
  /* xl */
  @container container (min-width: 1280px) {
  } /*  end xl */
  
  /* 2xl */
  @container container (min-width: 1536px) {
  } /* end 2xl */
  

.featured-img{
display: flex;
}

.featured-img a img{
		    height: auto;
    max-height: 500px;
    width: 100%;
}

.featured-img-cat{
display: block;
}

.featured-img-cat a img{
		    height: auto;
    max-height: 500px;
    width: 100%;
}




/*social media*/





.social-icons {
    display: inline-block;
    justify-content: center;
}

.icon {
    font-size: 30px;
    margin: 0 10px;
    transition: all 0.5s ease;
	
}

.icon:hover {
    transform: scale(1.2);
}


.fa-linkedin-in {
	padding: 5px;
  background: white;
  color: #007bb5;
}
.fa-instagram {
	padding: 5px;
  background: white;
  color: #125688;
}

.fa-x-twitter {
	padding: 5px;
  background: white;
	color: black
}


@media (max-width: 600px) {
    .icon {
        font-size: 24px;
    }
}