/* Fonts & Base */
body {
  font-family: 'Source Sans Pro', sans-serif;
  background-color: #f9f7f3;
  scroll-behavior: smooth;
  padding-bottom: 50px; /* space for sticky footer */
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Source Sans Pro', sans-serif;
}


.section-title {
  font-weight: 600;
  color: #3d7385;
  margin-top: 30px;
  font-size: 220%;
}


/* Full viewport hero */
.hero-section {
  min-height: 100vh;              /* Fill entire viewport height */
  display: flex;
  align-items: center;            /* Vertical center */
  background-color: #f9f7f3;      /* Matches page bg */
  padding-top: 0;                 /* Remove default spacing */
  padding-bottom: 0;
}

.hero-section .container {
  max-width: 1140px;              /* Keeps it nicely centered */
}


.hero-text h1 {
  color: #3d7385;
  font-size: 280%;
  font-weight: 600 !important;
}

.hero-text h2 {
  color: #333333;
  font-size:160%;
  padding-bottom: 10px;
  border-bottom: 3px solid #ffc107;
}

.btn-custom {
  background-color: #ffc107;
  color: #000;
  font-weight: 600;
  border: none;
  padding: 0.5rem 1rem;
  transition: background-color 0.2s ease, transform 0.1s ease;
}

.btn-custom:hover {
  background-color: #e0a800;
}

.btn-custom:active {
  background-color: #cc8f00;
  transform: scale(0.97);
}

/* Sticky Nav */

.sticky-nav {
  position: fixed;
  top: -80px;
  left: 0;
  right: 0;
  background-color: #f9f7f3;
  border-bottom: 2px solid #cc8f00;
  transition: top 0.3s ease;
  z-index: 1000;
  display: none;
}

.sticky-nav.visible {
  display: flex;
  top: 0;
}

.sticky-brand {
  color: #3d7385;
  font-size: 130%;
}

.sticky-brand:hover {
  text-decoration: underline;
}

.sticky-brand img {
  height: 50px;
  border-radius: 10px;
}

/* Sticky Nav - Responsive */

.sticky-nav.visible {
  display: block;
  top: 0;
}

/* Center alignment when stacked */

p, li {
  font-size: 120%;
}



/* Active Nav Button */
.sticky-nav .nav-link.active,
.sticky-nav .nav-link:focus {
  background-color: #cc8f00;
  color: #fff;
}


/* The Cred Image */

.img-cred {
  border-radius: 10px;
}

.img-cred {
  width: 300px;
  height: 600px;
  background-color: #3d7385; /* The element you want to mask */
  -webkit-mask-image: linear-gradient(to right, transparent, black); /* For WebKit browsers */
  mask-image: linear-gradient(to right, transparent, black); /* Standard property */
}

.img-mask {
  height: 100%;
  width: 100%;
  border-radius: 12px;
  background: url(../assets/images/computer-half-trans.png) no-repeat;
  background-size: cover;
  background-position: center center;
  /*-webkit-mask-image: linear-gradient(#3d7385, #3d7385);
  mask-image: linear-gradient(#3d7385, #3d7385);
  object-fit: cover;
  -webkit-mask-size: cover;
  mask-size: cover;*/
}


/* The Work Cards */
.work-card {
  margin-bottom: 15px;
}

.work-link .card {
  transition: transform 0.2s ease;
  background: transparent;
  border-radius: 16px 16px 0 0;
  border-bottom: 2px solid #cc8f00 !important;
  border: 0;
}

.work-link:hover .card {
  transform: translateY(-5px);
}

.work-link .card-img-top {
  height: 100%;
  border-radius: 10px;
  border: 1px solid #999999 !important;
}

.card-body {
  padding: 10px 0px 0px 0px;
  border-radius: 0;
}

.card-title {
  color: #ffffff;
  transition: color 0.2s ease;
}

.card-body h5 {
  font-weight: 600 !important;
  color: #3d7385;
}

.work-link:hover .card-title {
  color: #cc8f00;
}


/* The Work Carousels */

.carousel-control-prev-icon, .carousel-control-next-icon {
  background-color: #000000;
  padding: 20px 0;
}

.carousel-slide-caption {
  background-color: #ffc107;    /* light gray background */
  color: #333;                 /* dark readable text */
  font-size: 0.95rem;
  border-top: 1px solid #ddd;  /* subtle divider */
}

.carousel-slide-caption p {
  margin-bottom: 0;
  font-size: 100%;
  padding: 5px 10px;
}

.modal-title {
  color: #3d7385;
}

#workModalDescription {
  font-size: 100%;
}



/* The Man Carousel */

#the-man .carousel-inner {
  border-radius: 16px;
  width: 100%;
  height: 70%;
}

#the-man .carousel-item {
  align-items: center;
}


/* Call Box */
.call-box {
  background-color: #3d7385;
  background-image: url(../assets/images/theman-white-reverse.png);
  background-position: right bottom;
  background-repeat: no-repeat;
  background-size: 20%;
  border-radius: 15px;
  color: #ffffff;
}

.call-box a, .call-box a:link, .call-box a:hover, .call-box a:visited, .call-box a:active {
  color: #ffffff !important;
}

.call-box a:hover {
  text-decoration: none;
}

/* Footer */
.footer {
  position: fixed;
  bottom: 0;
  width: 100%;
  height: 50px;
  color: #ffffff;
  /*background-image: url(../assets/images/footer-bg-sm-half.png);*/
  background: repeating-linear-gradient(
    90deg,
    #cc8f00,
    #cc8f00 1px,
    #cc8f00 1px,
    #cc8f00 2px
  );
}

.footer p {
  margin-left: 15px;
  margin-right: 25px;
  text-shadow: 1px 1px 1px #333333;
}

/* Constrain hero text and image layout */
@media (min-width: 992px) {
  .hero-section .col-lg-8 {
    margin-left: auto;
    margin-right: auto;
  }
}


/* Mobile stack */


@media (max-width: 1199px) {

  .hero-section .btn-custom {
    padding: 0.5rem .6rem;
    font-size: 100%;
  }

  .call-box {
  background-size: 30%;
  }

  .call-box p {
    width: 80%;
  }


}

@media (max-width: 991px) {

  .sticky-brand {
    font-size: 115%;
  }

  .sticky-brand img {
    display: none;
  }

.sticky-nav .btn-custom i {
    display: none;
  }

    #the-man .carousel-item {
    align-items: center;
    height: 500px;
    vertical-align: bottom;
  }

}


@media (max-width: 767.98px) {
  
  .hero-section .img-fluid {
  max-width: 300px;
}

  .hero-text {
    text-align: center;
  }

  .section-title {
    margin-top: 70px;
    font-size: 200%;
  }

  .hero-section .btn-custom i, .sticky-nav .btn-custom i {
    display: none;
  }

  .hero-section .btn-custom {
    padding: 0.5rem .7rem;
    font-size: 100%;
    margin-left: -1px;
    margin-right: -1px;
  }

  .btn-custom {
    padding: 0.3rem .6rem;
    font-size: 90%;
    margin-left: -1px;
    margin-right: -1px;
  }

  .sticky-brand {
    padding-bottom: 10px;
    font-size: 150%;
    margin-bottom: 0.5rem;
    text-align: center;
}

.sticky-nav .nav {
    justify-content: center;
  }

   #the-man .carousel-item {
    align-items: center;
    height: 400px;
    vertical-align: bottom;
  }

    .call-box {
  background-size: 40%;
  }

  .footer {
    height: 50px;
    padding: 0px 10px;
  }

  .footer span {
    display: none;
  }

}

@media (max-width: 430px) {

.sticky-brand {
    font-size: 120%;
  }


.btn-custom {
    padding: 0.2rem .4rem;
    font-size: 90%;
    margin-left: -1px;
    margin-right: -1px;
  }

    #the-man .carousel-item {
    object-fit: contain;
  }


}

@media (max-width: 385px) {


  .hero-section .btn-custom {
    padding: 0.2rem 0.3rem;
  }

  .btn-custom {
    font-size: 80%;
  }

}