/*! HTML5 Boilerplate v6.1.0 | MIT License | https://html5boilerplate.com/ */

/*
 * What follows is the result of much research on cross-browser styling.
 * Credit left inline and big thanks to Nicolas Gallagher, Jonathan Neal,
 * Kroc Camen, and the H5BP dev community and team.
 */

/* ==========================================================================
   Base styles: opinionated defaults
   ========================================================================== */

html {
  color: #222;
  font-size: 1em;
  line-height: 1.4;
}

/*
 * Remove text-shadow in selection highlight:
 * https://twitter.com/miketaylr/status/12228805301
 *
 * Vendor-prefixed and regular ::selection selectors cannot be combined:
 * https://stackoverflow.com/a/16982510/7133471
 *
 * Customize the background color to match your design.
 */

::-moz-selection {
  background: #b3d4fc;
  text-shadow: none;
}

::selection {
  background: #b3d4fc;
  text-shadow: none;
}

/*
 * A better looking default horizontal rule
 */

hr {
  display: block;
  height: 1px;
  border: 0;
  border-top: 1px solid #ccc;
  margin: 1em 0;
  padding: 0;
}

/*
 * Remove the gap between audio, canvas, iframes,
 * images, videos and the bottom of their containers:
 * https://github.com/h5bp/html5-boilerplate/issues/440
 */

audio,
canvas,
iframe,
img,
svg,
video {
  vertical-align: middle;
}

/*
 * Remove default fieldset styles.
 */

fieldset {
  border: 0;
  margin: 0;
  padding: 0;
}

/*
 * Allow only vertical resizing of textareas.
 */

textarea {
  resize: vertical;
}

/* ==========================================================================
   Browser Upgrade Prompt
   ========================================================================== */

.browserupgrade {
  margin: 0.2em 0;
  background: #ccc;
  color: #000;
  padding: 0.2em 0;
}

/* ==========================================================================
   IRSHAD custom styles
   ========================================================================== */

/* raleway-100 - latin */
@font-face {
  font-family: "Raleway";
  font-style: normal;
  font-weight: 100;
  src: url("../fonts/raleway-v12-latin-100.eot"); /* IE9 Compat Modes */
  src: local("Raleway Thin"), local("Raleway-Thin"),
    url("../fonts/raleway-v12-latin-100.eot?#iefix") format("embedded-opentype"),
    /* IE6-IE8 */ url("../fonts/raleway-v12-latin-100.woff2") format("woff2"),
    /* Super Modern Browsers */ url("../fonts/raleway-v12-latin-100.woff")
      format("woff"),
    /* Modern Browsers */ url("../fonts/raleway-v12-latin-100.ttf")
      format("truetype"),
    /* Safari, Android, iOS */ url("../fonts/raleway-v12-latin-100.svg#Raleway")
      format("svg"); /* Legacy iOS */
}
/* raleway-200 - latin */
@font-face {
  font-family: "Raleway";
  font-style: normal;
  font-weight: 200;
  src: url("../fonts/raleway-v12-latin-200.eot"); /* IE9 Compat Modes */
  src: local("Raleway ExtraLight"), local("Raleway-ExtraLight"),
    url("../fonts/raleway-v12-latin-200.eot?#iefix") format("embedded-opentype"),
    /* IE6-IE8 */ url("../fonts/raleway-v12-latin-200.woff2") format("woff2"),
    /* Super Modern Browsers */ url("../fonts/raleway-v12-latin-200.woff")
      format("woff"),
    /* Modern Browsers */ url("../fonts/raleway-v12-latin-200.ttf")
      format("truetype"),
    /* Safari, Android, iOS */ url("../fonts/raleway-v12-latin-200.svg#Raleway")
      format("svg"); /* Legacy iOS */
}
/* raleway-300 - latin */
@font-face {
  font-family: "Raleway";
  font-style: normal;
  font-weight: 300;
  src: url("../fonts/raleway-v12-latin-300.eot"); /* IE9 Compat Modes */
  src: local("Raleway Light"), local("Raleway-Light"),
    url("../fonts/raleway-v12-latin-300.eot?#iefix") format("embedded-opentype"),
    /* IE6-IE8 */ url("../fonts/raleway-v12-latin-300.woff2") format("woff2"),
    /* Super Modern Browsers */ url("../fonts/raleway-v12-latin-300.woff")
      format("woff"),
    /* Modern Browsers */ url("../fonts/raleway-v12-latin-300.ttf")
      format("truetype"),
    /* Safari, Android, iOS */ url("../fonts/raleway-v12-latin-300.svg#Raleway")
      format("svg"); /* Legacy iOS */
}
/* raleway-regular - latin */
@font-face {
  font-family: "Raleway";
  font-style: normal;
  font-weight: 400;
  src: url("../fonts/raleway-v12-latin-regular.eot"); /* IE9 Compat Modes */
  src: local("Raleway"), local("Raleway-Regular"),
    url("../fonts/raleway-v12-latin-regular.eot?#iefix")
      format("embedded-opentype"),
    /* IE6-IE8 */ url("../fonts/raleway-v12-latin-regular.woff2")
      format("woff2"),
    /* Super Modern Browsers */ url("../fonts/raleway-v12-latin-regular.woff")
      format("woff"),
    /* Modern Browsers */ url("../fonts/raleway-v12-latin-regular.ttf")
      format("truetype"),
    /* Safari, Android, iOS */
      url("../fonts/raleway-v12-latin-regular.svg#Raleway") format("svg"); /* Legacy iOS */
}
/* raleway-500 - latin */
@font-face {
  font-family: "Raleway";
  font-style: normal;
  font-weight: 500;
  src: url("../fonts/raleway-v12-latin-500.eot"); /* IE9 Compat Modes */
  src: local("Raleway Medium"), local("Raleway-Medium"),
    url("../fonts/raleway-v12-latin-500.eot?#iefix") format("embedded-opentype"),
    /* IE6-IE8 */ url("../fonts/raleway-v12-latin-500.woff2") format("woff2"),
    /* Super Modern Browsers */ url("../fonts/raleway-v12-latin-500.woff")
      format("woff"),
    /* Modern Browsers */ url("../fonts/raleway-v12-latin-500.ttf")
      format("truetype"),
    /* Safari, Android, iOS */ url("../fonts/raleway-v12-latin-500.svg#Raleway")
      format("svg"); /* Legacy iOS */
}
/* raleway-600 - latin */
@font-face {
  font-family: "Raleway";
  font-style: normal;
  font-weight: 600;
  src: url("../fonts/raleway-v12-latin-600.eot"); /* IE9 Compat Modes */
  src: local("Raleway SemiBold"), local("Raleway-SemiBold"),
    url("../fonts/raleway-v12-latin-600.eot?#iefix") format("embedded-opentype"),
    /* IE6-IE8 */ url("../fonts/raleway-v12-latin-600.woff2") format("woff2"),
    /* Super Modern Browsers */ url("../fonts/raleway-v12-latin-600.woff")
      format("woff"),
    /* Modern Browsers */ url("../fonts/raleway-v12-latin-600.ttf")
      format("truetype"),
    /* Safari, Android, iOS */ url("../fonts/raleway-v12-latin-600.svg#Raleway")
      format("svg"); /* Legacy iOS */
}
/* raleway-700 - latin */
@font-face {
  font-family: "Raleway";
  font-style: normal;
  font-weight: 700;
  src: url("../fonts/raleway-v12-latin-700.eot"); /* IE9 Compat Modes */
  src: local("Raleway Bold"), local("Raleway-Bold"),
    url("../fonts/raleway-v12-latin-700.eot?#iefix") format("embedded-opentype"),
    /* IE6-IE8 */ url("../fonts/raleway-v12-latin-700.woff2") format("woff2"),
    /* Super Modern Browsers */ url("../fonts/raleway-v12-latin-700.woff")
      format("woff"),
    /* Modern Browsers */ url("../fonts/raleway-v12-latin-700.ttf")
      format("truetype"),
    /* Safari, Android, iOS */ url("../fonts/raleway-v12-latin-700.svg#Raleway")
      format("svg"); /* Legacy iOS */
}
/* raleway-800 - latin */
@font-face {
  font-family: "Raleway";
  font-style: normal;
  font-weight: 800;
  src: url("../fonts/raleway-v12-latin-800.eot"); /* IE9 Compat Modes */
  src: local("Raleway ExtraBold"), local("Raleway-ExtraBold"),
    url("../fonts/raleway-v12-latin-800.eot?#iefix") format("embedded-opentype"),
    /* IE6-IE8 */ url("../fonts/raleway-v12-latin-800.woff2") format("woff2"),
    /* Super Modern Browsers */ url("../fonts/raleway-v12-latin-800.woff")
      format("woff"),
    /* Modern Browsers */ url("../fonts/raleway-v12-latin-800.ttf")
      format("truetype"),
    /* Safari, Android, iOS */ url("../fonts/raleway-v12-latin-800.svg#Raleway")
      format("svg"); /* Legacy iOS */
}
/* raleway-900 - latin */
@font-face {
  font-family: "Raleway";
  font-style: normal;
  font-weight: 900;
  src: url("../fonts/raleway-v12-latin-900.eot"); /* IE9 Compat Modes */
  src: local("Raleway Black"), local("Raleway-Black"),
    url("../fonts/raleway-v12-latin-900.eot?#iefix") format("embedded-opentype"),
    /* IE6-IE8 */ url("../fonts/raleway-v12-latin-900.woff2") format("woff2"),
    /* Super Modern Browsers */ url("../fonts/raleway-v12-latin-900.woff")
      format("woff"),
    /* Modern Browsers */ url("../fonts/raleway-v12-latin-900.ttf")
      format("truetype"),
    /* Safari, Android, iOS */ url("../fonts/raleway-v12-latin-900.svg#Raleway")
      format("svg"); /* Legacy iOS */
}

body {
  font-family: "Raleway";
  color: #303030;
}
a {
  font-family: "Raleway";
  font-weight: 400;
}
a:hover {
  text-decoration: none;
}
p {
  font-family: "Raleway";
  font-size: 16px;
  font-weight: 400;
  line-height: 2;
  color: rgb(37, 37, 37);
}

h1,
h2,
h3,
h4,
h4,
h5,
h6 {
  color: #303030;
  font-family: "Raleway";
}
/*nav*/
section.navigation {
    border-bottom: solid 5px #21438c;
}
.navbar-light .navbar-nav .nav-link {
  margin: auto 1rem;
  color: #91aeed;
}
.navbar-light .navbar-nav .nav-link:hover {
  color: #91aeed;
}
li.nav-item.active {
  border: solid 2px red;
}
.navbar-light .navbar-nav .active > .nav-link,
.navbar-light .navbar-nav .nav-link.active,
.navbar-light .navbar-nav .nav-link.show,
.navbar-light .navbar-nav .show > .nav-link {
  font-weight: 600;
  color: #ffffff;
}
.navbar-brand img {
  width: 75px;
}
.navbar-expand-lg .navbar-collapse {
  background: #21438c;

  height: 20vh;
  -webkit-clip-path: polygon(25% 0, 100% 0, 100% 100%, 16% 100%);
  clip-path: polygon(15% 0, 100% 0, 100% 100%, 8% 100%);
  align-items: flex-end;
}

nav.navbar.navbar-expand-lg.navbar-light {
  padding: 0;
  margin: 0;
      background: #e9edf6;
}
.navbar-light .navbar-brand {
  margin-left: 15%;
}
.navbar-nav {
  margin-bottom: 1.5rem;
  margin-right: 7%;
}

/*content*/
.carouserContent {
  bottom: 32%;
}
.carouserContent h2 {
  font-size: 30px;
  color: rgb(233, 237, 246);
  font-weight: bold;
  line-height: 1.6;
  text-align: center;
  text-shadow: 0px 2px 0.98px rgba(26, 29, 36, 0.75);
}

.carousel-indicators li {
  position: relative;
  -ms-flex: 0 1 auto;
  flex: 0 1 auto;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  margin-right: 3px;
  margin-left: 3px;
  text-indent: -999px;
  cursor: pointer;
  color: #ffffff;
  background-color: rgba(255, 255, 255, 1);
}
.carousel-indicators .active {
  background-color: rgba(255, 255, 255, 0.5);
}
.carousel .carousel-item {
    transition-duration: 1.2s;
}
.whyDSC h2 {
  font-size: 30px;
  color: rgb(33, 67, 140);
  line-height: 0.833;
}

.btn-danger {
  background: #ef4b37;
}

.workAreas {
  background-image: url(../img/workAreas.png);
}

.workAreas h2 {
  font-size: 25px;
  color: rgb(233, 237, 246);
  font-weight: bold;
  line-height: 1.44;
  text-shadow: 0px 2px 0.98px rgba(26, 29, 36, 0.75);
}
.work-box {
  background-repeat: no-repeat;
  background-size: contain;
  width: 100%;
  height: 110px;
  margin-bottom: 3rem;
}

.work-box p {
  display: inline-block;
  font-size: 16.666px;
  color: rgb(233, 237, 246);
  font-weight: bold;
  line-height: 1.5;
  text-shadow: 1.075px 2.801px 1.96px rgba(16, 38, 86, 0.75);
  margin-bottom: 0;
  margin-left: 0.3rem;
}

.work-box .content .icon {
  position: relative;
  top: -15px;
}
.work-box .BG {
  max-width: 100%;
  transition: all 0.3s ease;
}
.work-box .BG:hover {
  box-shadow: 2.584px 5.336px 10px 1px rgb(11, 26, 57);
  transition: all 0.3s ease;
  filter: contrast(150%);
}
.work-box .content {
  height: 110px;
  position: absolute;
  top: 0;
  padding-top: 2rem;
  padding-left: 1rem;
  padding-right: 2rem;
}

.work-box .content3 {
  padding-top: 1rem;
}
.work-box .content3 .icon {
  top: -25px;
}
.work-box .content6 {
  padding-top: 0.5rem;
}
.work-box .content6 .icon {
  top: -40px;
}
.work-box .content .underline {
  width: 117%;
  margin-top: 2rem;
  opacity: 0;
  transition: all 0.3s ease;
}
.work-box .content3 .underline {
  margin-top: 1.5rem;
}
.work-box .content6 .underline {
  margin-top: 0.5rem;
}
.work-box:hover .BG {
  box-shadow: 2.584px 5.336px 10px 1px rgb(11, 26, 57);
    filter: contrast(150%);
  transform: scale(1.1);
  transition: all 0.3s ease;

}
.work-box .content:hover .underline {
  opacity: 1;
  transition: all 0.3s ease;
}

.clients h2 {
  font-size: 30px;
  color: rgb(33, 67, 140);
  font-weight: bold;
  line-height: 0.833;
  text-align: center;
}

.clients img {
  text-align: center;
  margin: 1.5rem 1rem;
      filter: grayscale(100%);
       transition: all 0.3s ease;
}

.clients img:hover{
  filter: grayscale(0);
   transition: all 0.3s ease;
}

.testimonials {
  background-image: url(../img/testimonialsBG.png);
}

.testimonials h2 {
  font-size: 25px;
  color: rgb(233, 237, 246);
  font-weight: bold;
  line-height: 1.44;
  text-shadow: 0px 2px 0.98px rgba(26, 29, 36, 0.75);
}

.testi-slider-body {
  padding-top: 1rem;
  background: #193269;
  -webkit-clip-path: polygon(
    0% 0%,
    100% 0%,
    100% 86%,
    26% 85%,
    19% 100%,
    20% 85%,
    0 85%
  );
  clip-path: polygon(
    0% 0%,
    100% 0%,
    100% 86%,
    26% 85%,
    19% 100%,
    20% 85%,
    0 85%
  );
}
.clip-wrap {
  padding: 0.15rem;
  background: #ffffff;
  -webkit-clip-path: polygon(
    0% 0%,
    100% 0%,
    100% 86%,
    26% 85%,
    19% 100%,
    20% 85%,
    0 85%
  );
  clip-path: polygon(
    0% 0%,
    100% 0%,
    100% 86%,
    26% 85%,
    19% 100%,
    20% 85%,
    0 85%
  );
}

.testi-slider-body p {
  font-size: 14px;
  font-family: "Myriad Pro";
  color: rgb(233, 237, 246);
  line-height: 1.571;
  margin: 1rem;
}
p.name {
  font-size: 18px;
  margin-bottom: 0;
}

.testi-slider-body [class^="col-"],
.testi-slider-body [class*=" col-"] {
  align-self: center;
  padding-bottom: 4rem;
}

img.testimonial-qoutes {
  margin-left: 12%;
  position: relative;
  margin-bottom: -2.5%;
  z-index: 2;
}

/*footer*/
.align-self-flex-end {
  align-self: flex-end;
}
footer {
  background: #cdcdd5;
}

footer p{
   line-height: 1.692;
}


.sub-footer {
  background: #21438c;
}
.footer-h2 {
  text-align: center;
  color: rgb(37, 37, 37);
  line-height: 1.44;
  margin-bottom: 0;
}
.inline-block {
  display: inline-block;
}

.social-row a {
  display: block;
  margin: 2rem auto;
}
.social-row img{
   transition: all 0.3s ease;
}
.social-row img:hover {
    transform: scale(1.19);
     transition: all 0.3s ease;
}
footer .navbar-nav .nav-link {
  padding-right: 0;
  padding-left: 0;
  color: #193269;
  font-weight: 600;
  margin: 0.3rem 0px;
}
footer p.inline-block {
  display: inline-block;
  vertical-align: sub;
  margin-left: 0.3rem;
}

.sub-footer p {
  color: #91aeed;
  margin: 0.5rem;
}

/* ================================== 992 ======================================== */

@media screen and (max-width: 992px) {
  .navbar-expand-lg .navbar-collapse {
    clip-path: none;
    -webkit-clip-path: none;
    height: unset;
  }
  nav.navbar.navbar-expand-lg.navbar-light {
    padding: 0.5rem 1rem;
    margin: 0;
  }

  .carouserContent {
    bottom: 15%;
  }
}

/* =================================== 667 ======================================= */

@media screen and (max-width: 667px) {
  .carousel-indicators {
    bottom: 0;
  }
  .carouserContent h2 {
    font-size: 16px;
  }
  .carouserContent {
    bottom: 0;
  }
  .clip-wrap,
  .testi-slider-body {
    clip-path: none;
    -webkit-clip-path: none;
  }
  .testi-slider-body img.img-fluid {
    margin: 0 auto;
    display: block;
  }
  img.testimonial-qoutes {
    margin-bottom: -7.5%;
  }
  .testi-slider-body p {
    margin: 1rem 2rem;
  }

  p.footer-creadit.text-right,
  p.footer-creadit.text-left {
    text-align: center !important;
  }
  .work-box {
    text-align: center;
  }
  .work-box .content {
    left: 25%;
  }
}

/* ==========================================================================
   Helper classes
   ========================================================================== */

/*
 * Hide visually and from screen readers
 */

.hidden {
  display: none !important;
}

/*
 * Hide only visually, but have it available for screen readers:
 * https://snook.ca/archives/html_and_css/hiding-content-for-accessibility
 *
 * 1. For long content, line feeds are not interpreted as spaces and small width
 *    causes content to wrap 1 word per line:
 *    https://medium.com/@jessebeach/beware-smushed-off-screen-accessible-text-5952a4c2cbfe
 */

.visuallyhidden {
  border: 0;
  clip: rect(0 0 0 0);
  height: 1px;
  margin: -1px;
  overflow: hidden;
  padding: 0;
  position: absolute;
  width: 1px;
  white-space: nowrap; /* 1 */
}

/*
 * Extends the .visuallyhidden class to allow the element
 * to be focusable when navigated to via the keyboard:
 * https://www.drupal.org/node/897638
 */

.visuallyhidden.focusable:active,
.visuallyhidden.focusable:focus {
  clip: auto;
  height: auto;
  margin: 0;
  overflow: visible;
  position: static;
  width: auto;
  white-space: inherit;
}

/*
 * Hide visually and from screen readers, but maintain layout
 */

.invisible {
  visibility: hidden;
}

/*
 * Clearfix: contain floats
 *
 * For modern browsers
 * 1. The space content is one way to avoid an Opera bug when the
 *    `contenteditable` attribute is included anywhere else in the document.
 *    Otherwise it causes space to appear at the top and bottom of elements
 *    that receive the `clearfix` class.
 * 2. The use of `table` rather than `block` is only necessary if using
 *    `:before` to contain the top-margins of child elements.
 */

.clearfix:before,
.clearfix:after {
  content: " "; /* 1 */
  display: table; /* 2 */
}

.clearfix:after {
  clear: both;
}

/* ==========================================================================
   EXAMPLE Media Queries for Responsive Design.
   These examples override the primary ('mobile first') styles.
   Modify as content requires.
   ========================================================================== */

@media only screen and (min-width: 35em) {
  /* Style adjustments for viewports that meet the condition */
}

@media print,
  (-webkit-min-device-pixel-ratio: 1.25),
  (min-resolution: 1.25dppx),
  (min-resolution: 120dpi) {
  /* Style adjustments for high resolution devices */
}

/* ==========================================================================
   Print styles.
   Inlined to avoid the additional HTTP request:
   https://www.phpied.com/delay-loading-your-print-css/
   ========================================================================== */

@media print {
  *,
  *:before,
  *:after {
    background: transparent !important;
    color: #000 !important; /* Black prints faster */
    -webkit-box-shadow: none !important;
    box-shadow: none !important;
    text-shadow: none !important;
  }

  a,
  a:visited {
    text-decoration: underline;
  }

  a[href]:after {
    content: " (" attr(href) ")";
  }

  abbr[title]:after {
    content: " (" attr(title) ")";
  }

  /*
     * Don't show links that are fragment identifiers,
     * or use the `javascript:` pseudo protocol
     */

  a[href^="#"]:after,
  a[href^="javascript:"]:after {
    content: "";
  }

  pre {
    white-space: pre-wrap !important;
  }
  pre,
  blockquote {
    border: 1px solid #999;
    page-break-inside: avoid;
  }

  /*
     * Printing Tables:
     * http://css-discuss.incutio.com/wiki/Printing_Tables
     */

  thead {
    display: table-header-group;
  }

  tr,
  img {
    page-break-inside: avoid;
  }

  p,
  h2,
  h3 {
    orphans: 3;
    widows: 3;
  }

  h2,
  h3 {
    page-break-after: avoid;
  }
}
