/* Custom styles moved from index.html */

body {
    font: 400 15px Lato, sans-serif;
    line-height: 1.8;
    color: #818181;
}
h1 {
    font-size: 30px;
    text-transform: uppercase;
    color: #c03030;
    font-weight: 700;
    margin-bottom: 10px;
}
h2 {
    color: #c03030;
    font-weight: 700;
    text-transform: uppercase;
    font-size: 30px;
    margin-bottom: 10px;
}
h3, .h3-like {
    font-size: 19px;
    line-height: 1.375em;
    color: #303030;
    margin-bottom: 30px;
    font-weight: 400;
    text-transform: none;
}
h4 {
    font-size: 19px;
    line-height: 1.375em;
    color: #303030;
    margin-bottom: 30px;
}
h5 {
    font-size: 17px;
    font-family: Lato, sans-serif;
    line-height: 1.375em;
    color: #303030;
    margin-bottom: 30px;
}
.jumbotron {
    background-color: #ffffff;
    color: #555555;
    padding: 90px 25px;
    font-family: Montserrat, sans-serif;
}
.flexcontainer {
    display: flex;
    flex-direction: row;
    justify-content: center;
}
.container-fluid {
    padding: 30px 50px;
}
.bg-grey {
    background-color: #f6f6f6;
}
.logo-small {
    color: #c03030;
    font-size: 50px;
}
.logo {
    color: #c03030;
    font-size: 200px;
}
.thumbnail {
    padding: 0 0 15px 0;
    border: none;
    border-radius: 0;
}
.thumbnail img {
    width: 100%;
    height: 100%;
    margin-bottom: 10px;
}
.carousel-control.right, .carousel-control.left {
    background-image: none;
    color: #c03030;
}
.carousel-indicators li {
    border-color: #c03030;
}
.carousel-indicators li.active {
    background-color: #c03030;
}
.carousel-inner > .item > img {
    margin: 0 auto;
}
.carousel-indicators {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    right: auto;
    bottom: 10px; /* Move indicators closer to carousel content */
    margin: 0;
    width: auto;
    display: flex;
    justify-content: center;
    pointer-events: auto;
    z-index: 2;
}
.carousel-item {
    text-align: center;
    padding: 0 40px;
}
.carousel-item img {
    width: 200px;
    height: 200px;
    margin-bottom: 20px;
}
.item h4 {
    font-size: 19px;
    line-height: 1.375em;
    font-weight: 400;
    font-style: italic;
    margin: 70px 0;
}
.item span {
    font-style: normal;
}
.panel {
    border: 1px solid #c03030;
    border-radius: 0 !important;
    transition: box-shadow 0.5s;
}
.panel:hover {
    box-shadow: 5px 0px 40px rgba(0,0,0, .2);
}
.panel-footer .btn:hover {
    border: 1px solid #c03030;
    background-color: #fff !important;
    color: #c03030;
}
.panel-heading {
    color: #fff !important;
    background-color: #c03030 !important;
    padding: 25px;
    border-bottom: 1px solid transparent;
    border-radius: 0;
}
.panel-footer {
    background-color: white !important;
}
.panel-footer h3 {
    font-size: 32px;
}
.panel-footer h4 {
    color: #aaa;
    font-size: 14px;
}
.panel-footer .btn {
    margin: 15px 0;
    background-color: #c03030;
    color: #fff;
}
.navbar {
  background: rgba(100,100,100,0.7) !important;
  box-shadow: 0 1px 6px #2d2d2d;
  border-top: 1px solid #e6e7e8;
  border-bottom: none !important;
}
.navbar .navbar-nav > li > a,
.navbar .navbar-brand {
  color: #fff !important;
  transition: background 0.2s, color 0.2s;
  font-weight: normal !important;
}
.navbar .navbar-nav > li > a:hover,
.navbar .navbar-nav > li.active > a {
  color: #c03030 !important;
  background: #fff !important;
  text-decoration: none;
}

/* === DAMSL logo fade in/out in navbar (migrated from global3.css) === */
.navbar-brand {
  position: relative;
  transition: opacity 700ms ease 100ms;
  opacity: 0;
}
.scrolled .navbar-brand {
  opacity: 1;
}
.navbar-brand img {
  opacity: 1;
  transition: opacity 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}
.navbar-logo-hidden {
  opacity: 0;
  pointer-events: none;
}

footer .glyphicon {
    font-size: 20px;
    margin-bottom: 20px;
    color: #c03030;
}
.slideanim {visibility:hidden;}
.slide {
    animation-name: slide;
    -webkit-animation-name: slide;
    animation-duration: 1s;
    -webkit-animation-duration: 1s;
    visibility: visible;
}
.team-member {
    text-align: center;
    padding: 20px;
}
.profile-pic {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    overflow: hidden;
}
.profile-pic img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.team-member .bio {
    margin-top: 10px;
    font-size: 14px;
    color: #666;
}
.team-member .row {
    justify-content: center;
    align-items: center;
}
.top-buffer { margin-top:20px; }
.modal{
    transform: translate(0%, +100px);
}
.modal-content{
    background-color: #f6f6f6;
    overflow-y: auto;
}
.modal-body{
    max-height: calc(100vh - 210px);
    overflow-y: auto;
}
.modal h5{
    text-align: left;
}
.modal h5 b{
    text-align: left;
    color: #000;
}
@keyframes slide {
  0% {
    opacity: 0;
    transform: translateY(70%);
  }
  100% {
    opacity: 1;
    transform: translateY(0%);
  }
}
@-webkit-keyframes slide {
  0% {
    opacity: 0;
    -webkit-transform: translateY(70%);
  }
  100% {
    opacity: 1;
    -webkit-transform: translateY(0%);
  }
}
@media screen and (max-width: 768px) {
  .col-sm-4 {
    text-align: center;
    margin: 25px 0;
  }
  .btn-lg {
      width: 100%;
      margin-bottom: 35px;
  }
}
@media screen and (max-width: 480px) {
  .logo {
      font-size: 150px;
  }
}
.card{
    border-radius: 2%;
}
.profile .profile-body {
    padding: 10px 10px 0px 40px; /* Restore left padding, reduce top padding from 20px to 10px to close vertical gap */
}
.profile .profile-bio {
    position: relative;
    padding: 10px 10px 0px 15px;
}
.profile .profile-bio h2 {
    margin-top: 50px;
    font-weight: 200;
}
.profile-details {
  font-size: 19px;
  font-weight: 400;
  color: #303030;
  line-height: 1.375em;
  margin-bottom: 10px;
  text-align: left; /* Ensure all profile details text is left-aligned */
}
.profile-details ul {
    text-align: left;
    display: inline-block;
    margin: 0 0 10px 0;
    padding-left: 32px; /* Slightly increased indent for bullets */
}
.profile-details ul li {
    text-align: left;
    list-style-position: outside;
    margin-bottom: 6px;
}
#heading {
  display: block;
  width: 100%;
  height: 460px;
  padding: 80px 0;
  background: url('../img/title_backdrop_2a.jpg') no-repeat center top;
  -webkit-background-size: cover;
  -moz-background-size: cover;
  -o-background-size: cover;
  background-size: cover;
}
#heading h1 {
  font-size: 90px;
  line-height: 105px;
  letter-spacing: -1px;
  color: #fff;
  text-shadow: 3px 5px 7px rgba(0,0,0,0.7), 0 0 20px rgba(0,0,0,0.6);
}
#heading h4 {
  font-size: 30px;
  line-height: 40px;
  color: #fff;
  margin-bottom: 25px;
  text-shadow: 1px 2px 4px rgba(0,0,0,1.0), 0 0 10px rgba(0,0,0,0.6);
}
#heading .tagline {
  font-family: 'Lato', 'Montserrat', Arial, sans-serif !important;
  font-size: 30px !important;
  line-height: 40px !important;
  color: #fff !important;
  margin-bottom: 25px !important;
  text-shadow: 1px 2px 4px rgba(0,0,0,1.0), 0 0 10px rgba(0,0,0,0.6) !important;
  font-weight: 400 !important;
  letter-spacing: 0.01em !important;
  margin-top: 10px !important;
  /* Remove any inherited text-shadow from headings */
  box-shadow: none !important;
}
@media(max-width:767px) {
  #heading h1 {
    font-size: 50px;
    line-height: 55px;
  }
  #heading h4 {
    font-size: 20px;
    line-height: 25px;
  }
}
@media(max-width:550px) {
  #heading {
    min-height: 200px;
    height: auto;
    padding: 40px 0 20px 0;
    text-align: center;
  }
  .container-fluid {
    padding-left: 0 !important;
    padding-right: 0 !important;
    text-align: center;
  }
  .main-logo {
    width: 100%;
    max-width: 90vw;
    height: auto;
    display: block;
    margin: 0 auto;
    float: none;
  }
  #heading .tagline {
    font-size: 18px !important;
    line-height: 24px !important;
    margin-bottom: 10px !important;
    margin-top: 5px !important;
  }
}
#teamCarousel {
    position: relative;
    padding-bottom: 50px; /* Slightly less space below for indicators */
    margin-bottom: 0;
}
#teamCarousel h3 {
	padding: 0 0 15px;
	font-family: 'norwester';
	font-size: 36px; 
}
#teamCarousel h4 {
	margin-top: -10px;
	font-size: 32px;
	font-weight: 700;
   font-style: normal;
   margin-bottom: 0px;
}
#teamCarousel h5 {
  font-size: 16px;
}   
#teamCarousel h4 span {
	display: block;
	position: relative;
	left: -40px;
	top: 13px;
	font-size: 23px;
	background: none;
	padding: 0;
}
.main-logo {
  width: 500px;
  margin-top: -20px;
}
@media only screen and (max-width: 768px) {
  #teamCarousel h3 {
    font-size: 28px;
  }
  #teamCarousel h4 {
    font-size: 24px;
  }
  #teamCarousel h5 {
    font-size: 14px;
  }
}
@media only screen and (max-width: 480px) {
  #teamCarousel h3 {
    font-size: 24px;
  }
  #teamCarousel h4 {
    font-size: 22px;
  }
  #teamCarousel h5 {
    font-size: 13px;
  }
}
#mynewCarousel {
    position: relative;
    padding-bottom: 60px; /* For indicators below */
    margin-top: 60px; /* Add space above the partner logos carousel */
}
#mynewCarousel .carousel-indicators {
    bottom: 10px;
}
/* Skip to content link styles */
.skip-to-content {
  position: absolute;
  top: 0;
  left: 0;
  background: #fff;
  color: #0077b5;
  padding: 8px 16px;
  z-index: 1000;
  transform: translateY(-120%);
  transition: transform 0.2s;
  border-radius: 0 0 4px 4px;
  font-weight: bold;
  text-decoration: none;
}
.skip-to-content:focus {
  transform: translateY(0);
  outline: 2px solid #0077b5;
}
.whyus-list {
  font-size: 19px; /* Match h3/h4 size */
  color: #303030; /* Match h3/h4 color */
  font-family: 'Lato', 'Montserrat', Arial, sans-serif; /* Match h3/h4 font */
  font-weight: 400;
  line-height: 1.375em;
  margin-bottom: 20px;
  margin-top: 18px; /* Add space before the first bullet */
  /* Remove max-width restriction for better wrapping */
}
.whyus-list .fa-li {
  left: -2em;
  font-size: 1.5em; /* Increased from 1.2em to 1.5em for larger blue checks */
  top: 0.1em;
}
.whyus-list li {
  margin-top: 18px; /* Add vertical space before each bullet */
}
.profile-bio a:link,
.profile-bio a:visited,
.profile-bio a:hover,
.profile-bio a:active {
  text-decoration: none !important;
  border-bottom: none !important;
  box-shadow: none !important;
}
.profile-bio a i,
.profile-bio a img {
  transition: transform 0.18s cubic-bezier(0.4,0,0.2,1);
}
.profile-bio a:hover i,
.profile-bio a:focus i,
.profile-bio a:hover img,
.profile-bio a:focus img {
  transform: scale(1.18);
  box-shadow: none !important;
  outline: none;
}
