/*! HTML5 Boilerplate v8.0.0 | MIT License | https://html5boilerplate.com/ */

/* main.css 2.1.0 | MIT License | https://github.com/h5bp/main.css#readme */
/*
 * 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
   ========================================================================== */

@import url("https://cdn.jsdelivr.net/npm/bootstrap-icons@1.8.1/font/bootstrap-icons.css");

html, body {
  color: #0a2540;
  font-size: 1em;
  line-height: 1.8;
  font-family: 'Inter', sans-serif;
}

/*
 * 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;
}

/* ==========================================================================
   Author's custom styles
   ========================================================================== */

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

/*
 * Hide visually and from screen readers
 */

.hidden,
[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
 */

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

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

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

/*
 * 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: " ";
  display: table;
}

.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: #fff !important;
    color: #000 !important;
    /* Black prints faster */
    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:
   * https://web.archive.org/web/20180815150934/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;
  }
}

/*

CUSTOM CSS

*/

/* GENERAL */

.lh-1 {
  line-height: 1.25!important;
}

@media (min-width: 992px) {
  .container-fluid {
    padding-left: 52px;
    padding-right: 52px;
  }

  .py-5 {
    padding-top: 6rem!important;
    padding-bottom: 6rem!important;
  }

}

.container-fluid {
  max-width: 1600px;
}

@media (min-width: 1600px) {
  .container, .container-lg, .container-md, .container-sm, .container-xl, .container-xxl {
    max-width: 1520px;
  }
}

p {
  color: #525f7f;
  font-weight: 400;
  font-size: 1.125rem;
  letter-spacing: 0px;
  margin: 0px;
  line-height: 1.8;
}

.small-title {
  color: #0a2540;
  font-weight: 400;
  font-size: 1.125rem;
  letter-spacing: 0px;
  margin: 0px;
  line-height: 2.2;
}

.sub-title {
  color: #e9795d;
  font-weight: 600;
  font-size: 1.125rem;
  line-height: 1.23;
  margin: 0px;
  margin-bottom: 18px;
}

.sub-title + h2 {
  margin-top: 11px;
  margin-bottom: 15px;
}

/* BUTTONS */
.btn {
  border-radius: 50px;
  padding-left: 24px;
  padding-right: 24px;
  padding-top: 10px;
  font-weight: 600;
  padding-bottom: 10px;
  border-width: 2px;
}

.btn-primary {
  background-color: #5bc2a3;
  border-color: #5bc2a3;
  box-shadow: rgba(0, 35, 75, 0.3) 0px 6px 12px;

}

.btn-primary:hover {
  background-color: #5bc2a3;
  border-color: #5bc2a3;
}

.btn-check:active+.btn-primary, .btn-check:checked+.btn-primary, .btn-primary.active, .btn-primary:active, .show>.btn-primary.dropdown-toggle {
  background-color: #5bc2a3;
  border-color: #5bc2a3;
}

.btn-check:focus+.btn-primary, .btn-primary:focus {
  background-color: #5bc2a3;
  border-color: #5bc2a3;
  box-shadow: 0 0 0 0.25rem rgb(49 132 253 / 50%);
}

.btn-primary:focus {
    background-color: #5bc2a3;
  }

.btn-secondary {
  background-color: transparent;
}

.btn-secondary:hover {
  background-color: transparent;
}

.btn-check:active+.btn-secondary, .btn-check:checked+.btn-secondary, .btn-secondary.active, .btn-secondary:active, .show>.btn-secondary.dropdown-toggle {
  background-color: transparent;
}

.btn-info {
  background-color: #ffcb47;
  border-color: #ffcb47;
  color: #ffffff;
  box-shadow: rgba(0, 35, 75, 0.3) 0px 6px 12px;

}

.btn-info:hover {
  background-color: #ffcb47;
  border-color: #ffcb47;
  color: #ffffff;
}

.btn-check:active+.btn-info, .btn-check:checked+.btn-info, .btn-primary.active, .btn-info:active, .show>.btn-info.dropdown-toggle {
  background-color: #ffcb47;
  border-color: #ffcb47;
  color: #ffffff;
}

.btn-check:focus+.btn-info, .btn-info:focus {
  background-color: #ffcb47;
  border-color: #ffcb47;
  box-shadow: 0 0 0 0.25rem rgb(49 132 253 / 50%);
  color: #ffffff;
}



/* NAVBAR */

#logo {
  width: 188px;
  height: 30px;
}

@media (min-width: 992px) {
  #logo {
    width: 230px;
    height: 42px;
  }
}

#logo .st0{fill:#ffffff;}
#logo .st1{fill:none;}
#logo .st2{fill:#5bc2a3;}
#logo .st3{fill:#0A2540;}
#logo .st4{fill:#0A2540;}

.offcanvas-header #logo {
  width: 165px;
  height: 30px;
}


.scrolled {
  background-color: #ffffff;
  box-shadow: rgba(0, 35, 75, 0.05) 0px 4px 12px;
}

.scrolled #logo  .st0{fill:#0a2540 !important;}

.navbar {
  padding-top: 22px;
  padding-bottom: 22px;
  transition: color 0.3s ease 0s, background-color 0.3s ease 0s, box-shadow 0.3s ease 0s, padding 0.3s ease 0s;
}

.scrolled {
  padding-top: 17px;
  padding-bottom: 17px;
}

@media (min-width: 992px) {
  .navbar-expand-lg .navbar-nav .nav-link {
    padding-left: 0px;
    padding-right: 0px;
    margin-right: 30px;
    padding-top: 12px;
    padding-bottom: 10px;
    line-height: 1.5;
    font-size: 16px;
    font-weight: 500;
    border-bottom: 2px solid transparent;
    transition: all 0.3s ease 0s;

  }
}

  .navbar-light .navbar-nav .nav-link, .navbar-light .navbar-nav .nav-link.active, .navbar-light .navbar-nav .show>.nav-link, .navbar-light .navbar-nav .nav-link:hover {
  color: #adbdcc;
}

.navbar-light .navbar-nav .nav-link:hover {
  color: #ffffff;
}

  .scrolled .navbar-nav .nav-link, .scrolled .navbar-nav .nav-link:hover {
    color: #525f7f;
  }

  .navbar-light .navbar-nav .nav-link:hover {
    border-bottom-color: #5bc2a3;
  }

  .scrolled .navbar-nav .nav-link.active, .scrolled .navbar-nav .show>.nav-link {
    color: #0a2540;
    border-bottom-color: #5bc2a3;
  }

 .navbar-light .navbar-toggler {
   border-color: transparent;
 }

.navbar-light .navbar-toggler-icon {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28255, 255, 255, 0.9%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

.scrolled .navbar-toggler-icon {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%280, 0, 0, 0.9%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

.navbar-toggler:focus {
  box-shadow: none;
}

@media (max-width: 991px) {
  .offcanvas-body .nav-link {
    color: #525f7f !important;
  }

  .offcanvas-body .btn-primary {
    margin-top: 10px;
  }
}

/* HERO */
#hero {
  background-image: url(../img/bg5.svg);
  background-repeat: no-repeat;
  background-position: left bottom;
  background-size: cover;
  height: 75vh;
  min-height: 700px;
}

#hero h1 {
  color: #ffffff;
}

@media (min-width: 992px) {
  #hero h1 span {
    display: block;
  }
}

#hero .lead {
  color: #adbdcc;
  font-weight: 300;
}

#hero .gap-2 {
  padding-top: 20px;
}


/* FOOTER */
#footer {
  background-color: #0a2540;
  padding-top: 1px !important;
}

#footer .text-muted {
  color: #E8ECEE !important;
  opacity: 0.6;
  font-size: 14px;
  transition: opacity 0.2s ease 0s;
  font-weight: 300;
  display: block;
  padding: 0.5rem 1rem;
  text-decoration: none;
  transition: color .15s ease-in-out,background-color .15s ease-in-out,border-color .15s ease-in-out;
}

#footer a.text-muted:hover {
  opacity: 1;
}

#footer h5 {
  color: #ffffff;
  margin-bottom: 15px;
  font-weight: 600;
  font-size: 1rem;
  line-height: 1.23;
}

#footer .border-top {
  border-top: 1px solid rgba(239, 237, 252, 0.15) !important;
}


@media (max-width: 991px) {

  .footer_logo {
    margin-left: -13px;
    margin-bottom: 20px;
  }

}
}
/* LOGOS */
#logos .py-5 {
  padding-bottom: 0 !important;
}

/* SERVICES */
#services {
  background-color: #0a2540;
  color: #ffffff;
}

/* INTRO */


#intro .lead {
  font-weight: 200;
  color: #0a2540;
  font-size: 1.5rem;
}

#intro strong {
  font-weight: 700;
}

#intro {
  padding-bottom: 6rem!important;
}
#intro .py-5 {
  padding-bottom: 0 !important;
}

@media (min-width: 768px) {

  #intro .lead {
    font-size: 40px;
    line-height: 1.5;
  }

  #intro .element:first-child {
    border-right: 1px solid #e9795d;
    padding-right: 40px;
  }

  #intro .element:nth-child(2) {
    border-left: 1px solid #e9795d;
    padding-left: 40px;
  }

  #intro .element:nth-child(3) {
    border-right: 1px solid #e9795d;
    padding-right: 40px;
  }

  #intro .element:nth-child(4) {
    border-left: 1px solid #e9795d;
    padding-left: 40px;
  }
}

/* ACCORDION */

.accordion-item {
  background-color: transparent;
  border-color: rgba(239, 237, 252, 0.15) !important;
  margin: 20px 0;
  padding-bottom: 20px;
}

.accordion-flush .accordion-item:first-child {
  margin-top: 0 !important;
}

.accordion-body p {
  color: #adbdcc;
}

.accordion-body {
  padding-left: 0;
  padding-right: 0;
}

.accordion-head {
  display: flex;
}

.accordion-head::after {
  flex-shrink: 0;
  width: 1.25rem;
  height: 1.25rem;
  margin-left: auto;
  content: "";
  background-image: url("data:image/svg+xml,<svg viewBox='0 0 16 16' fill='%23adbdcc' xmlns='http://www.w3.org/2000/svg'><path fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z' clip-rule='evenodd'/></svg>");
  background-repeat: no-repeat;
  background-size: 1.25rem;
  transition: transform .2s ease-in-out;
  align-self: center;
}

.accordion-head:not(.collapsed)::after {
  background-image: url('data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23adbdcc'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e');
  transform: rotate(-180deg);
}

/* SUPERBRIGHT */
#superbright {
  padding-bottom: 6rem!important;
}
#superbright .py-5 {
  padding-bottom: 0 !important;
}

@media (min-width: 768px) {

#superbright .element:first-child {
  border-right: 1px solid #e9795d;
  padding-right: 40px;
}

#superbright .element:nth-child(2) {
  border-left: 1px solid #e9795d;
  padding-left: 40px;
}

#superbright .element:nth-child(3) {
  border-right: 1px solid #e9795d;
  padding-right: 40px;
}

#superbright .element:nth-child(4) {
  border-left: 1px solid #e9795d;
  padding-left: 40px;
}
}

/* AFRICA */
#africa {
  background-color: #0a2540;
  padding-bottom: 6rem!important;
  color: #ffffff;
}
#africa .py-5 {
  padding-bottom: 0 !important;
}

#africa p {
  color: #adbdcc;
}

#africa .small-title {
  color: #ffffff;
}

.earth {
  display: flex;
  flex-direction: row;
  align-items: center;
}

.flex {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
}

.earth img {
  width: 100%;
}

@media (max-width: 991px) {
.earth img {
  max-width: 70%;
  display: block;
  margin: auto;
}
}

/* CONTACT */
#contact {
  background-image: url(../img/bg4.svg);
  background-repeat: no-repeat;
  background-position: left bottom;
  background-size: cover;
}

/* TECH STACK */
#techstack {
  background-color: #fafafa;
}
.stack-image {
  width: 100%;
  height: 60px;
  filter: brightness(119%) contrast(89%) saturate(0%) blur(0px) hue-rotate(0deg);
  transition: all 0.3s ease 0s;
}

.stack-image:hover {
  filter: brightness(100%) contrast(100%) saturate(100%) blur(0px) hue-rotate(0deg);
}

#techstack .row {
  padding-top: 40px;
  padding-bottom: 40px;
}

@media (max-width: 991px) {
  .stack-image {
    width: 70%;
  }
}
