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




body {
  padding-top: 3rem;
  height: 100%;
  display: flex;
  flex-direction: column;
  padding-bottom: 0rem;
  color: #5a5a5a;
  font-family: 'Work Sans', sans-serif !important;
}




:root {
  --banner-height: 20rem;
    /* Color palette */
  --primary-color: #005f99;        /* Deep blue for buttons, links, accents */
  --secondary-color: #00aaff;      /* Bright blue for highlights, hovers */
  --background-color: #121212;     /* Dark background for sections */
  --banner-backgroun-color: #2c7ffa;
  --carousel-backgroun-color: #777;
  --text-color: #ffffff;           /* Default white text */
  --text-muted: rgba(255, 255, 255, 0.5); /* 50% opacity white */
  --border-color: rgba(255, 255, 255, 0.1); /* Light border lines */
  --card-shadow: rgba(0, 0, 0, 0.2);       /* Subtle shadow for cards */
  --hover-shadow: rgba(0, 95, 153, 0.5);   /* Stronger shadow for hover effect */
  --accent-color:  #0d6efd;;         /* Optional accent, e.g. for icons or highlights */
}


.jointitle {
  font-family: 'Work Sans', sans-serif !important;
  font-size: 2rem;
  text-align: center;
  margin: 1.5rem 0;
  color: #ffffff;
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.7);
}
.jointitle::first-letter {
  text-transform: uppercase;
}


/* Import a sleek font */
@import url('https://fonts.googleapis.com/css2?family=Work+Sans:wght@100;200;300&display=swap');

.big-title {
  font-family: 'Work Sans', sans-serif;
  font-size: 3.15rem;
  font-weight: 100;
  text-align: center;
  color: #222;
  letter-spacing: 1px;
  margin: 2rem 0 1rem;
}

.big-subtitle {
  font-family: 'Work Sans', sans-serif;
  font-size: 1.5rem;
  font-weight: 200;
  text-align: center;
  color: #555;
  letter-spacing: 0.8px;
  margin: 0 0 2rem;
}



main {
  flex: 1; /* takes all the available space */
  font-family: 'Work Sans', sans-serif !important;
}

footer {
  background-color: #f8f9fa;
  padding: 1rem 0;
  font-family: 'Work Sans', sans-serif !important;
}


.footer-logo {
  height: auto;
  width: 100%;
  max-width: 160px;
  object-fit: contain;
}

@media (max-width: 576px) {
  .footer-logo {
    max-width: 100%;
    height: auto;
  }
}


/*Slide fade under navbar*/

.navbar-nav .nav-link {
  position: relative;
  color: #ffffff;
  display: inline-block;
  transition: color 0.3s ease;
  text-align: center;
  font-family: 'Work Sans', sans-serif !important;
  font-size: 1.1rem; /* Slightly larger text */
  font-weight: 500; /* Optional: makes it look sharper without being too bold */
}

  .navbar-nav .nav-item.active .nav-link::after {
    content: "";
    position: absolute;
    bottom: 0.5rem;
    left: 50%;
    width: 75%;
    height: 1px;
    background-color: hsl(214, 94%, 48%);
    opacity: 0;
    transform: translateX(-50%) scaleX(0);
    transform-origin: center;
    transition: transform 0.4s ease, opacity 0.4s ease;
  }

  .navbar-nav .nav-item.active .nav-link:hover::after,
  .navbar-nav .nav-item.active .nav-link::after {
    opacity: 1;
    transform: translateX(-50%) scaleX(1);
  }


/*SPINNER*/

  #spinner-container {
    display: flex;
    justify-content: center;  /* horizontal centering */
    align-items: center;      /* vertical centering */
    height: 50vh;            /* full viewport height */
  }
  


/*STATIC BANNER*/

/* Static banner uses the same height */
.static-banner {
  height: var(--banner-height); /* using shared height */
  background-color:var(--banner-backgroun-color); 
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: white;
  position: relative;
  padding: 0 1rem; /* small padding for mobile spacing */
  font-family: 'Work Sans', sans-serif !important;
}

.static-banner .banner-text h1 {
  font-size: 5rem;
  font-weight: 200;
  margin-bottom: 0.5rem;
  font-family: 'Work Sans', sans-serif !important;
  color: white;
}

.static-banner .banner-text p {
  font-family: 'Work Sans', sans-serif !important;
  font-size: 1.5rem;
  font-weight: 200;
  color: white;
  max-width: 800px;
  margin: 0 auto;
}

@media (max-width: 768px) {
  .static-banner .banner-text h1 {
    font-size: 2.2rem;
  }

  .static-banner .banner-text p {
    font-size: 1rem;
  }
}

.static-banner h1 {
  font-size: 3.5rem;
  font-weight: 300;
  margin: 0;
}


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

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

/* Declare heights because of positioning of img element */
.carousel-item {
  height: var(--banner-height);
  background-color: var(--banner-backgroun-color);
  font-family: 'Work Sans', sans-serif !important;
}
.carousel-item > img {
  position: absolute;
  top: 0;
  left: 0;
  min-width: 100%;
  height: 32rem;
}

.icon-circle {
  width: 140px;
  height: 140px;
  border-radius: 50%;
  background-color: #f0f4f8;
  color: #0d6efd;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.35);
}


.carousel-caption .btn-primary {
    background-color: var(--primary-color); /* your dark blue */
    border: 2px solid white;               /* white edge */
    color: white;                           /* button text white */
    padding: 0.6rem 1.2rem;                /* optional nicer padding */
    font-weight: 500;
    transition: all 0.3s ease;
}

.carousel-caption .btn-primary:hover {
    background-color: white;               /* invert on hover */
    color: var(--primary-color);           /* text becomes dark blue */
    border: 2px solid var(--primary-color);/* border matches text */
    text-decoration: none;
}



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

/* Center align the text within the three columns below the carousel */
.marketing .col-lg-4 {
  margin-bottom: 1.5rem;
  margin-top: 1.5rem;
  text-align: left;
}
.marketing h2 {
  font-weight: 300;
  
}
.marketing .col-lg-4 p {
  margin-right: .85rem;
  margin-left: .85rem;            /* Text in black */
  text-align: center;       /* Left alignment */
  margin: 1rem auto;             /* centers the <p> if width is reduced */
  padding: 0 0.75rem;
  max-width: 85%;             /* narrower container */

}



/* Featurette row setup */
/* Featurette row */
.featurette {
  display: flex;           /* make columns equal height */
  flex-wrap: wrap;         /* wrap on smaller screens */
  margin: 3rem 0;
  align-items: stretch;    /* ensure both columns stretch to same height */
}

/* Text column */
.featurette .text-col {
  flex: 1 1 80%;           /* ~60% width on desktop */
  display: flex;
  flex-direction: column;  /* vertical stacking */
  justify-content: flex-start;
  padding-right: 1.5rem;
}

/* Image column */
.featurette .image-col {
  flex: 1 1 20%;           /* ~40% width on desktop */
  display: flex;
}

.featurette .image-frame {
  width: 100%;
  height: 100%;            /* match the text column height dynamically */
  overflow: hidden;        /* clip image */
  border-radius: 8px;      /* optional rounded corners */
  margin-top: 10rem;        /* add top margin to push image down */
}

.featurette .image-frame img {
  width: 100%;
  height: 100%;            /* dynamically follow container height */
  object-fit: cover;       /* crop image to fit height without distortion */
  object-position: center; /* center the image in the frame */
}





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

@media (min-width: 40em) {
  /* Bump up size of carousel content */
  .carousel-caption p {
    margin-bottom: 1.25rem;
    font-size: 1.25rem;
    line-height: 1.4;
  }

  .featurette-heading {
    font-size: 50px;
  }
}

@media (min-width: 62em) {
  .featurette-heading {
    margin-top: 7rem;
  }
}
