@charset "utf-8";
/* CSS Document */

/* ---------------------------------------------------
<Root Variables>
--------------------------------------------------- */
:root {
  --primary-blue: #4169E1;
  --dark-blue: #000080;
  --light-bg: #e3f2fd;
}

/* ---------------------------------------------------
<Global Styles>
--------------------------------------------------- */
body {
  font-family: 'Roboto', sans-serif;
  background-color: var(--light-bg);
  color: #222;
  margin: 0;
}

h1, h2, h3, h4 {
  font-family: 'Merriweather', serif;
  color: var(--dark-blue);
}

.text-dark-blue {
  color: var(--dark-blue);
}

.bg-primary {
  background-color: var(--primary-blue)!important;
}

.bg-dk-blue {
  background-color: var(--dark-blue)!important;
}
/* Distinct neutrals */
.bg-cool-neutral { background:#F1F5F9; } /* cool gray */
.bg-warm-neutral { background:#FAFAF5; } /* warm ivory */

/* Optional subtle divider to add structure */
.section-accent {
  border-top: 3px solid #1f4d8f;       /* primary */
  border-bottom: 1px solid rgba(0,0,0,.06);
}
/* ---------------------------------------------------
<Layout Wrappers>
--------------------------------------------------- */
.main-content {
  margin-left: 250px;
}

.main-inner {
  /* Reserved for inner padding if needed */
}

.divider-bar {
  height: 4px;
  background-color: var(--dark-blue);
  /*margin-top: -4px;*/
}
/* ---------------------------------------------------
<Main Content Responsive Fix>
--------------------------------------------------- */

/* On desktop: leave room for sidebar */
@media (min-width: 768px) {
  .main-content {
    margin-left: 250px;
  }
}

/* On mobile: remove sidebar space */
@media (max-width: 767.98px) {
  .main-content {
    margin-left: 0;
    padding: 0px;
  }
}

/* ---------------------------------------------------
<Alert>
--------------------------------------------------- */
.holiday-alert {
  background-color: #b22222; /* firebrick red */
  font-size: 1rem;
}

/* ---------------------------------------------------
<Sidebar Navigation>
--------------------------------------------------- */
.sidebar-nav {
  position: fixed;
  top: 0;
  left: 0;
  height: 100vh;
  width: 250px;
  background-color: var(--dark-blue);
  color: #fff;
  padding: 20px;
}

.nav-link.active,
.nav-link:hover {
  background-color: var(--primary-blue);
  color: #fff !important;
  border-radius: 5px;
}

/* -----------------------------------------------
<Responsive Nav Adjustments>
----------------------------------------------- */
@media (min-width: 768px) {
  .main-content {
    margin-left: 0;
    padding-top: 0px; /* Adjust based on top nav height */
  }
}

/* For mobile, still give padding below nav */
@media (max-width: 767.98px) {
  .main-content {
    padding-top: 0px;
  }
}

/* ---------------------------------------------------
<Mobile Navbar Styling>
--------------------------------------------------- */
.bg-dark-blue {
  background-color: var(--dark-blue) !important;
}

/* Make offcanvas background match */
.offcanvas.text-bg-dark {
  background-color: var(--dark-blue) !important;
}

/* Optional: white text in offcanvas */
.offcanvas.text-bg-dark .nav-link {
  color: white;
}

.offcanvas.text-bg-dark .nav-link.active,
.offcanvas.text-bg-dark .nav-link:hover {
  background-color: var(--primary-blue);
  color: white;
}

/* ---------------------------------------------------
<Footer>
--------------------------------------------------- */
footer a {
  color: var(--primary-blue);
}

/* ---------------------------------------------------
<Hero Section>
--------------------------------------------------- */
.hero {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center; /* vertical centering */
  align-items: center;     /* horizontal centering */
  background-size: cover;
  background-position: bottom center;
  background-repeat: no-repeat;
  background-color: var(--primary-blue);
    min-height: 250px;
  color: white;
  z-index: 1;
  text-align: center;
}

/* Add the dark overlay */
.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 100%;
  background-color: rgba(0, 0, 128, 0.4); /* Adjust alpha as needed */
  z-index: 0;
}

/* Make sure the content stays above the overlay */
.hero > * {
  position: relative;
  z-index: 1;
}

.hero h1 {
  font-family: 'Merriweather', serif;
  color: white;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
}


.hero p {
  max-width: 700px;
  margin: 0 auto;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
}

/* Per-page backgrounds */
.hero-home {
  background-image: url('https://dkialpha.com/alpha_img/legal/1920/att-142.webp');
    min-height: 550px;
}

.hero-contact {
  background-image: url('img/contact-bg.webp');
}

/* Add more as needed */


/* ---------------------------------------------------
<Info Section>
--------------------------------------------------- */
.info-section h2 {
  font-family: 'Merriweather', serif;
  color: var(--dark-blue);
}

.info-section p {
  font-family: 'Roboto', sans-serif;
}

.court-info-section {
  background-color: #f8f9fa;
}

/* ---------------------------------------------------
<Card Styling>
--------------------------------------------------- */
.card {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 16px rgba(0, 0, 128, 0.3)!important;
}

.card-title {
  font-family: 'Merriweather', serif;
  font-weight: 700;
  color: var(--dark-blue);
  transition: color 0.3s ease;
}

.card-text {
  font-family: 'Roboto', sans-serif;
}

.card .card-body i {
  font-size: 2.5rem;
  color: #6c757d !important;
  transition: color 0.3s ease, transform 0.3s ease;
  display: inline-block;
}

.card:hover .card-body i {
  color: var(--primary-blue) !important;
  transform: scale(1.1);
}

.card:hover .card-title {
  color: var(--primary-blue);
}

/* ---------------------------------------------------
<Judge Section>
--------------------------------------------------- */
.judge-section {
  /* Custom background can be added */
}


/* ---------------------------------------------------
<Accordion / FAQ>
--------------------------------------------------- */
.accordion-button {
  font-weight: 500;
  font-family: 'Roboto', sans-serif;
  color: var(--dark-blue);
}

.accordion-button:not(.collapsed) {
  background-color: var(--light-bg);
  color: var(--primary-blue);
}

/* ---------------------------------------------------
<Flip Scroll Section>
--------------------------------------------------- */
.flip-scroll-wrapper {
  perspective: 1200px;
  overflow: hidden;
}

.flip-scroll-card {
  transform-origin: bottom center;
  transform: perspective(1000px) rotateX(30deg);
  transition: transform 0.1s linear, box-shadow 0.1s linear;
  opacity: 1;
  box-shadow: 0 8px 16px rgba(0, 0, 128, 0.7)!important;
  will-change: transform, box-shadow;
  background-color: #fff;
}
.flip-scroll-card img {
  max-width: 100%;
  height: auto;
}


/* ---------------------------------------------------<988 Lifeline Ticker>--------------------------------------------------- */
.sc-ticker {
  background: var(--primary-blue, #1f4d8f);
  color: #fff;
  border-bottom: 1px solid rgba(255,255,255,.25);
  font-weight: 700;
  font-size: 0.95rem;
  line-height: 1.4;
}
.sc-ticker a { color: #fff; text-decoration: underline; }
.sc-ticker .container { overflow: hidden; }

/* scrolling track */
.sc-ticker-track {
  display: inline-block;
  white-space: nowrap;
  will-change: transform;
  padding-left: 100%;            /* start off-screen to the right */
  animation: sc-ticker-scroll 28s linear infinite;
}
.sc-ticker-item { display: inline-block; }

/* pause on hover/focus for accessibility */
.sc-ticker:hover .sc-ticker-track,
.sc-ticker:focus-within .sc-ticker-track { animation-play-state: paused; }

/* respect reduced motion */
@media (prefers-reduced-motion: reduce) {
  .sc-ticker-track { animation: none; transform: translateX(0); padding-left: 0; }
}

/* keyframes */
@keyframes sc-ticker-scroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-100%); }
}

/* small screens */
@media (max-width: 575.98px) {
  .sc-ticker { font-size: 0.875rem; }
}
/* ---------------------------------------------------</988 Lifeline Ticker>--------------------------------------------------- */


/* Featured Docs strip */
.featured-doc .card-body { padding: 1rem 1.25rem; }
@media (max-width: 575.98px){
  .featured-doc .btn { padding: .375rem .6rem; }
}

/* keep staff photos consistent without cropping faces weirdly */
.object-cover-portrait {
  height: 280px;
  object-fit: cover;
  object-position: center;
  background: #f3f4f6;
}
