/* TYPOGRAPHY
-------------------------------------------------- */
/* One family, one clear scale, used everywhere. */

:root {
  --font-base: 'Source Sans 3', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

body {
  font-family: var(--font-base);
  font-size: 1.0625rem;
  line-height: 1.65;
}

h1, h2, h3, h4, h5, h6,
.navbar-nav, .lead, .btn {
  font-family: var(--font-base);
}

h1 { font-weight: 600; }
h2 { font-weight: 600; font-size: 2rem; }
h3 { font-weight: 600; font-size: 1.5rem; }
h4 { font-weight: 600; font-size: 1.25rem; }

.lead {
  font-weight: 400;
  line-height: 1.7;
}

/* Section-title treatment: used for every top-level "Our ___" heading */
.featurette-heading {
  font-weight: 300;
  font-size: 2.25rem;
  line-height: 1.15;
  letter-spacing: -0.5px;
  margin-bottom: 1.5rem;
}

/* Sub-headings inside a section (e.g. the four service categories) get
   their own consistent, smaller treatment so they never compete with
   .featurette-heading above them. */
.service-heading {
  font-weight: 600;
  font-size: 1.15rem;
  letter-spacing: 0;
  text-transform: uppercase;
  color: #343a40;
  margin-top: 1.5rem;
  margin-bottom: 0.75rem;
}

/* GLOBAL STYLES
-------------------------------------------------- */
/* Padding below the footer and lighter body text */

body {
  padding-bottom: 40px;
  color: #5a5a5a;
}


/* CUSTOMIZE THE NAVBAR
-------------------------------------------------- */

.navbar-wrapper {
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  z-index: 20;
}

/* Full-width navbar */
.navbar-wrapper .navbar {
  width: 100%;
  padding: 0 15px;
}

/* Keep navbar content left-aligned */
.navbar-wrapper .navbar .container-fluid {
  width: 100%;
  margin: 0;
  padding-left: 15px;
  padding-right: 15px;
  justify-content: flex-start;
}

/* Logo */
.navbar-brand {
  margin-right: 30px;
  padding-top: 0;
  padding-bottom: 0;
}

/* Navigation */
.navbar-nav {
  margin-left: 0 !important;
  margin-right: 0 !important;
  justify-content: flex-start !important;
  align-items: center;
}

/* Navigation links */
.navbar-brand,
.navbar-nav .nav-link {
  line-height: 20px;
  height: 70px;
  padding-top: 25px;
  padding-bottom: 25px;
}

/* Keep the collapsed menu left-aligned */
.navbar-collapse {
  justify-content: flex-start !important;
}

/* Desktop */
@media (min-width: 768px) {

  .navbar-wrapper {
    margin-top: 20px;
  }

  .navbar-wrapper .navbar {
    padding-left: 15px;
    padding-right: 15px;
    border-radius: 4px;
  }

  .navbar-wrapper .navbar .container-fluid {
    padding-left: 15px;
    padding-right: 15px;
  }

}

/* Mobile */
@media (max-width: 767px) {

  .navbar-nav {
    align-items: flex-start;
  }

  .navbar-nav .nav-link {
    height: auto;
    padding-top: 10px;
    padding-bottom: 10px;
  }

}


/* CUSTOMIZE THE CAROUSEL
-------------------------------------------------- */

/* Carousel base class */
.carousel {
  height: 500px;
  margin-bottom: 60px;
}
/* Since positioning the image, we need to help out the caption */
.carousel-caption {
  z-index: 10;
}

/* Declare heights because of positioning of img element */
.carousel .carousel-item {
  height: 500px;
  background-color: #777;
}
.carousel-inner > .carousel-item > img {
  position: absolute;
  top: 0;
  left: 0;
  min-width: 100%;
  height: 500px;
  object-fit: cover; 
}


/* MARKETING CONTENT
-------------------------------------------------- */

/* Center align the text within the three columns below the carousel */
.marketing .col-lg-4 {
  margin-bottom: 20px;
  text-align: center;
}
.marketing h2 {
  font-weight: normal;
}
.marketing .col-lg-4 p {
  margin-right: 10px;
  margin-left: 10px;
}


/* Featurettes
------------------------- */

.featurette-divider {
  margin: 80px 0; /* Space out the Bootstrap <hr> more */
}


/* RESPONSIVE CSS
-------------------------------------------------- */

@media (min-width: 768px) {
  /* Navbar positioning foo */
  .navbar-wrapper {
    margin-top: 20px;
  }
  .navbar-wrapper .container {
    padding-right: 15px;
    padding-left: 15px;
  }
  .navbar-wrapper .navbar {
    padding-right: 0;
    padding-left: 0;
  }

  /* The navbar becomes detached from the top, so we round the corners */
  .navbar-wrapper .navbar {
    border-radius: 4px;
  }

  /* Bump up size of carousel content */
  .carousel-caption p {
    margin-bottom: 20px;
    font-size: 21px;
    line-height: 1.4;
  }

  .featurette-heading {
    font-size: 2.75rem;
  }
}

@media (min-width: 992px) {
  .featurette-heading {
    margin-top: 130px;
  }
}

.socials {
padding: 10px;
}
 

.team-card {
    display: flex !important;
    flex-direction: row !important;
    align-items: flex-start !important;
    width: 100%;
    gap: 30px;
    margin-bottom: 40px;
}

.team-photo {
    width: 200px !important;
    height: 200px !important;
    object-fit: cover;
    flex: 0 0 200px;
    margin: 0 !important;
}

.team-info {
    display: block !important;
    flex: 1 1 auto;
    width: auto !important;
}

.team-info h3 {
    margin: 0 0 5px 0;
}

.team-role {
    margin: 0 0 15px 0;
    color: #6c757d;
    font-size: 0.9rem;
}

.team-bio {
    margin: 0 0 15px 0;
    line-height: 1.6;
}

.team-social {
    display: block;
}

.team-social a {
    color: #6c757d;
    margin-right: 15px;
}

.team-social a:hover {
    color: #0d6efd;
}

@media (max-width: 600px) {
    .team-card {
        flex-direction: column !important;
        align-items: center !important;
        text-align: center;
    }

    .team-info {
        width: 100% !important;
    }
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}
