/*-- Reset --*/
html, body {
  overflow-x: hidden;
  height: 100%;
  width: 100%;
  font-family: 'Metropolis', sans-serif;
    src: url('css/fonts/Metropolis-Bold.woff2') format('woff2'),
        url('css/fonts/Metropolis-Bold.woff') format('woff');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
  font-size: large;
}
.black-background {
  background-color: black !important;
}

/*============= COMPACT FOOTER STYLING =============*/

.footer-custom {
    background-color: #222222 !important; 
    border-top: 1px solid #333;
    border-radius: 0 !important;
    /* Overriding Bootstrap py-5 with a tighter padding */
    padding-top: 1.5rem !important;
    padding-bottom: 1.5rem !important;
}

.footer-custom img {
    height: 2.5rem !important; /* Slightly smaller logo for the tighter footer */
    margin-bottom: 1rem !important;
}

.footer-nav {
    margin-bottom: 1rem !important;
}

.footer-nav .nav-link {
    padding: 0.2rem 0.8rem !important; /* Tighter horizontal and vertical spacing for links */
    font-size: 0.85rem;
}

/*============= ELITE BLACK FOOTER =============*/

.footer-custom {
    background-color: #000000 !important; /* Pure Black Background */
    border-top: 1px solid #1a1a1a; /* Very subtle separation */
    color: #ffffff !important;
    padding-top: 1.5rem !important;
    padding-bottom: 1.5rem !important;
    border-radius: 0 !important;
}

.footer-custom .nav-link {
    color: rgba(255, 255, 255, 0.8) !important; /* Slightly softened white for links */
    transition: color 0.3s ease;
}

.footer-custom .nav-link:hover {
    color: #007bff !important; /* Brand Blue on hover */
}

.footer-custom p, 
.footer-custom small {
    color: rgba(255, 255, 255, 0.6) !important; /* Muted white for copyright/credentials */
}

.social-icons-footer a {
    color: #ffffff !important;
    transition: all 0.3s ease;
}

.social-icons-footer a:hover {
    color: #007bff !important;
    transform: translateY(-3px);
}

/*============= FORCE BLACK FOOTER =============*/

/* The 'body' prefix and !important ensure this wins over Bootstrap defaults */
body .footer-custom {
    background-color: #000000 !important; 
    background: #000000 !important; /* Added background shorthand for extra coverage */
    color: #ffffff !important;
    border-top: 1px solid #1a1a1a !important;
    padding-top: 1.5rem !important;
    padding-bottom: 1.5rem !important;
}

/* Ensure no inherited grey backgrounds from utility classes */
body footer.bg-dark, 
body footer.footer-custom {
    background-color: #000000 !important;
}

.footer-custom .nav-link {
    color: #ffffff !important;
    opacity: 0.8;
}

.footer-custom .nav-link:hover {
    color: #007bff !important;
    opacity: 1;
}

/*============= CONTEXT-AWARE BLACK HEADER =============*/
.navbar-custom {
    background-color: #000000 !important;
    border-bottom: 1px solid #1a1a1a;
    padding: 0.8rem 0;
}

.navbar-brand img {
    height: 2.8rem;
    transition: transform 0.3s ease;
}

.navbar-brand:hover img {
    transform: scale(1.05);
}

.nav-link {
    color: #ffffff !important;
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.8rem;
    letter-spacing: 1px;
    padding: 0.5rem 1.2rem !important;
    transition: color 0.3s ease;
}

.nav-link:hover {
    color: #007bff !important;
}

/* Contact Button Styling */
.btn-nav-contact {
    background-color: #007bff !important;
    border: none !important;
    border-radius: 0 !important;
    font-weight: 700 !important;
    margin-left: 10px;
}

/*============= MOBILE RESPONSIVE HERO =============*/

.hero-section h1 {
    /* clamp(min, preferred, max) */
    /* Mobile: 2rem | Scaling: 5vw | Desktop: 4.5rem */
    font-size: clamp(2rem, 5vw + 1rem, 4.5rem) !important;
    line-height: 1.1;
    word-wrap: break-word;
    overflow-wrap: break-word;
    hyphens: auto; /* Adds a hyphen if a word is still too long for a tiny screen */
}

/* Specific fix for the word 'Leadership' on very small devices */
@media (max-width: 375px) {
    .hero-section h1 {
        font-size: 1.8rem !important;
        letter-spacing: -0.5px;
    }
}

.hero-section .lead {
    font-size: clamp(1rem, 2vw + 0.5rem, 1.5rem) !important;
}

/*============= DESCRIPTION TEXT COLOR =============*/

/* Specifically targets the captions under your videos */
.video-caption, 
.hero-section .lead,
.text-white-50 {
    color: #ffffff !important;
    opacity: 0.9; /* Keeps it slightly softer than headers for hierarchy */
}

/* Force paragraph white in specific content sections */
section p {
    color: #ffffff !important;
}

/*============= NAVIGATION =============*/

navbar-brand img {
  height: 2.8rem;
}
.navbar {
  background: linear-gradient(to right, #000000, #000000);
  font-size: 1.1rem;
  text-transform: uppercase;
  letter-spacing: .1rem;
  box-shadow: 0 .5rem .5rem rgba(0, 0, 0, .2);
}
.nav-item {
  padding: .4rem;
}
.nav-link {
  color: rgb(255, 255, 255)!important;
}
.nav-link.active,
.nav-link:hover {
  color: #1448aa!important;
}

/*============= NEW HERO SECTION =============*/

.hero-section {
  /* This ensures the text is readable over the background image */
  background: linear-gradient(rgba(0,0,0,0.8), rgba(0,0,0,0.8)), url('../img/carousel/1.jpg') center/cover; 
  padding: 100px 0;
  min-height: 80vh;
  display: flex;
  align-items: center;
}

.hero-section h1 {
  line-height: 1.2;
  letter-spacing: -1px;
}

.hero-section .card {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.hero-section .card:hover {
  transform: translateY(-10px);
  box-shadow: 0 1rem 3rem rgba(0,0,0,.175)!important;
}

/*============= INDEX HERO MODIFICATIONS =============*/

.hero-section {
    /* Set to pure black background to match other pages */
    background-color: #000000 !important; 
    /* OPTIONAL: Uncomment the line below to use a background image instead of solid black */
    /* background: linear-gradient(rgba(0,0,0,0.8), rgba(0,0,0,0.8)), url('../img/carousel/1.jpg') center/cover; */
    border-radius: 0 !important; /* Removes any rounded corners from the header */
    padding: 100px 0;
}

/* Remove rounded corners and grey backgrounds from the path cards */
.hero-section .card {
    background-color: #1a1a1a !important; /* Deep charcoal for subtle depth on a black page */
    border: 1px solid #333 !important;   /* Subtle border for definition */
    border-radius: 0 !important;         /* Sharp, professional corners */
    color: #ffffff !important;
}

.hero-section .btn {
    border-radius: 0 !important;         /* Sharp corners for buttons to match branding */
}

/*============= CAROUSEL =============*/

.carousel-inner {
  max-height: 40rem!important;
}

/*---Change Carousel Transition Speed --*/

.carousel-item-next,
.carousel-item-prev,
.carousel-item.active {
  transition: transform 1.2s ease;
}
.carousel-indicators li {
  width: 40px;
  height: 6px;
  margin-left: 4px;
  margin-right: 4px;
}


/*-- Carousel Content --*/
.carousel-caption {
  position: absolute;
  top: 47%;
  transform: translateY(-50%);
}
.bg-dark {
  background-color: rgba(0, 0, 0, .7)!important;
  border-radius: 1.5rem;
  padding: 1rem;
}
.bg-white {
  background-color: rgba(0, 0, 0, 0.65)!important;
  border-radius: 1.5rem;
  padding: 1rem;
}
.carousel-caption h3 {
  font-size: 2.3rem;
  font-weight: 300;
}
p.lead {
  font-size: 1.4rem;
}
p.lead2 {
  font-size: 1.1rem;
  text-align: left;
  
}
p.lead3 {
  font-size: 1.4rem;
  text-align: left;
  
}

/*============= SOCIAL MEDIA STICKY BAR =============*/

.jumbotron {
  background: linear-gradient(to right, #000000, #000000);
  padding: 1rem 0 .5rem;
  margin-bottom: 0;
  border-radius: 0;
  box-shadow: 0 .5rem .5rem rgba(0, 0, 0, .1);
}
ul.social {
  list-style-type: none;
  display: flex;
  padding: 0;
  margin: 0 auto;
}
ul.social li {
  margin: 0 auto;
}
.jumbotron .svg-inline--fa {
  font-size: 2rem;
  margin: 0 1rem;
}
.jumbotron .svg-inline--fa:hover {
  color: #1448aa!important;
}

/*============= COLUMN CONTENT =============*/

.fa-square {
  opacity: .05;
}

/*===== FIXED BACKGROUND IMG =====*/

.fixed-background {
  padding: 12rem 0;
  border-top: .05rem solid black;
  border-bottom: .05rem solid black;
  margin-bottom: 2px;
  overflow: hidden;
}
.fixed {
  background-image: url('../img/Mari_and_Me.jpeg');
  position: fixed;
}

/*============= UPDATED FOOTER STYLES =============*/

.footer-custom {
    background-color: #222222 !important; /* The grey background seen in the mockup */
    border-top: 1px solid #333;
    border-radius: 0 !important; /* Ensures no rounded corners at the bottom of the page */
}

.footer-nav .nav-link {
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 0.5rem 1rem;
    transition: color 0.3s ease;
}

.footer-nav .nav-link:hover {
    color: #007bff !important; /* Standard primary blue for hover state */
    text-decoration: none;
}

/* Ensure copyright text is crisp */
.footer-custom p, .footer-custom small {
    letter-spacing: 0.5px;
}

.social-icons-footer a {
    transition: all 0.3s ease;
    opacity: 0.8;
}

.social-icons-footer a:hover {
    color: #007bff !important; /* Matches your primary blue branding */
    opacity: 1;
    transform: translateY(-3px);
    display: inline-block;
}
/*============= SOCKET =============*/

.socket {
  background-color: #222222;
  border-top: .1rem solid gray;
}

/*============= MEDIA QUERIES =============*/

/* Devices under 1199px (xl) */
@media (max-width: 1199.98px) {
  .carousel-caption h3 {
    font-size: 1.8rem;
  }
}
/* Devices under 992px (xl) */
@media (max-width: 991.98px) {
  .p.lead {
    font-size: 1.2rem;
  }
  .carousel-indicators li {
    width: 30px;
    height: 4px;
    margin-left: 3px;
    margin-right: 3px;
  }
}
/* Devices under 768px (md) */
@media (max-width: 767.98px) {
  .p.lead {
    font-size: 1.1rem;
  }
  .navbar-brand img {
    height: 2.5rem;
  }
  .navbar {
    font-size: 1rem;
    padding: .4rem .6rem;
  }
  .navbar-toggler {
    transform: scale(.9);
  }
  .jumbotron .svg-inline--fa {
    font-size: 1.6rem;
    margin: 0 .8rem;
  }
}
/* Devices under 576px (sm) */
@media (max-width: 575.98px) {
  .navbar-brand img {
    height: 2.3rem;
  }
  .navbar {
    font-size: .9rem;
    padding: .3rem .6rem;
  }
  .jumbotron .svg-inline--fa {
    font-size: 1.4rem;
    margin: 0 .5rem;
  }
}

div.spacer
{
    font-size: 0; 
    height: 60px;
    line-height: 0;
    background-color: black;
}

.custom-nav {
  list-style-type: none;
  display: flex;
  justify-content: space-around;
  padding: 0;
  margin: 0;
}

.custom-nav li {
  margin: 0;
}

.custom-nav .nav-link {
  display: inline-block;
  padding: 0.5rem 1rem;
}
.article-link {
  margin-bottom: 1.5rem;
}

.article-link h4 {
  font-size: 1.2rem;
  margin-bottom: 0.5rem;
}

.article-link a {
  color: #007bff;
  text-decoration: none;
}

.article-link a:hover {
  color: #0056b3;
  text-decoration: underline;
}

/*============= LEADERSHIP AUTHORITY TEXT COLORS =============*/

/* Targets the specific headings in the authority section */
.leadership-authority h3, 
.leadership-authority h4,
.leadership-authority .text-muted {
    color: #ffffff !important; /* Forces text to pure white */
}

/* If you are using standard Bootstrap utility classes, this overrides them */
.leadership-authority p {
    color: rgba(255, 255, 255, 0.9) !important; /* Slightly off-white for body text for readability */
}

.leadership-authority i {
    color: #007bff; /* Keeps your icons the primary brand blue for a pop of color */
}
/*============Custom Spacer
/*============= PUBLICATIONS TAB STYLING =============*/

.nav-pills .nav-link {
    border-radius: 0 !important; /* Removes all rounded corners */
    border: 1px solid #333;
    color: #ffffff;
    background-color: #1a1a1a;
    margin: 0 5px;
    text-transform: uppercase;
    font-weight: 600;
    letter-spacing: 1px;
    transition: all 0.3s ease;
}

.nav-pills .nav-link.active, 
.nav-pills .nav-link:hover {
    background-color: #007bff !important; /* Matches your brand blue */
    color: #ffffff !important;
    border-color: #007bff;
}

.tab-content {
    background-color: #000000;
    padding-top: 30px;
}

.article-list li {
    padding-bottom: 12px;
    border-bottom: 1px solid #222;
    margin-bottom: 12px;
}

.article-list a {
    color: #007bff;
    text-decoration: none;
    transition: color 0.2s ease;
}

.article-list a:hover {
    color: #ffffff;
}


/*============ BOOTSTRAP BREAK POINTS:

Extra small (xs) devices (portrait phones, less than 576px)
No media query since this is the default in Bootstrap

Small (sm) devices (landscape phones, 576px and up)
@media (min-width: 576px) { ... }

Medium (md) devices (tablets, 768px and up)
@media (min-width: 768px) { ... }

Large (lg) devices (desktops, 992px and up)
@media (min-width: 992px) { ... }

Extra (xl) large devices (large desktops, 1200px and up)
@media (min-width: 1200px) { ... }

=============*/

/*-- Bootstrap Mobile Gutter Fix --*/
.row, .container-fluid {
  margin-left: 0px !important;
  margin-right: 0px !important;

}

/*-- Fixed Background Image --*/
.fixed-background {
  position: relative;
  width: 100%;
  z-index: 1000!important;
}
.fixed-wrap {
  clip: rect(0, auto, auto, 0);
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -999 !important;
}
.fixed {
  z-index: -999!important;
  display: block;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center center;
  -webkit-transform: translateZ(0);
  transform: translateZ(0);
  will-change: transform;
}
#center {
  width: 75%; 
  margin: auto; 

}