


.btn-primary {
    --bs-btn-color: #fff;
    --bs-btn-bg: var(--bs-primary);
    --bs-btn-border-color: var(--bs-primary);
    --bs-btn-hover-color: #fff;
    --bs-btn-hover-bg: #162a46;
    --bs-btn-hover-border-color: #162a46;
    --bs-btn-focus-shadow-rgb: 22, 42, 70;
    --bs-btn-active-color: #fff;
    --bs-btn-active-bg: #162a46;
    --bs-btn-active-border-color: #162a46;
    --bs-btn-active-shadow: inset 0 3px 5px rgba(22, 42, 70, 0.125);
    --bs-btn-disabled-color: #fff;
    --bs-btn-disabled-bg: #162a46;
    --bs-btn-disabled-border-color: #162a46;
}

.btn-secondary {
  --bs-btn-bg: var(--bs-secondary);
  --bs-btn-border-color: var(--bs-secondary);
  --bs-btn-hover-bg: #b8952f;   /* darker shade of gold */
  --bs-btn-hover-border-color: #b8952f;
}

.btn-outline-primary {
  --bs-btn-color: #1b365d;
  --bs-btn-border-color: #1b365d;
  --bs-btn-hover-color: #fff;
  --bs-btn-hover-bg: #1b365d;
  --bs-btn-hover-border-color: #1b365d;
  --bs-btn-focus-shadow-rgb: 27, 54, 93;
  --bs-btn-active-color: #fff;
  --bs-btn-active-bg: #1b365d;
  --bs-btn-active-border-color: #1b365d;
  --bs-btn-disabled-color: #1b365d;
  --bs-btn-disabled-border-color: #1b365d;
}

.btn-outline-secondary {
  --bs-btn-color: #D4af37;
  --bs-btn-border-color: #D4af37;
  --bs-btn-hover-color: #fff;
  --bs-btn-hover-bg: #D4af37;
  --bs-btn-hover-border-color: #D4af37;
  --bs-btn-focus-shadow-rgb: 212, 175, 55;
  --bs-btn-active-color: #fff;
  --bs-btn-active-bg: #D4af37;
  --bs-btn-active-border-color: #D4af37;
  --bs-btn-disabled-color: #D4af37;
  --bs-btn-disabled-border-color: #D4af37;
}

.btn {
    --bs-btn-focus-box-shadow: 0 6px 30px -3px rgba(var(--bs-btn-focus-shadow-rgb), .325);
}

.btn:hover {
    box-shadow: var(--bs-btn-focus-box-shadow);
}

.btn:hover {
    color: var(--bs-btn-hover-color);
    background-color: var(--bs-btn-hover-bg);
    border-color: var(--bs-btn-hover-border-color);
}

.dropdown-item.active, .dropdown-item:active {
  background-color: #1b365d;
}

/*
[data-bs-theme=dark] .dropdown-item.active, [data-bs-theme=dark] .dropdown-item:active {
  background-color: #1b365d;
  color: #fff;
}

[data-bs-theme=dark] .dropdown-item:focus, [data-bs-theme=dark] .dropdown-item:hover {
  color: #fff;
  background-color: #1b365d;
}*/

header:not(.scroll-up):not(.is-sticky):not(.is-fixed) .btn-header {
    color: rgba(255, 255, 255, 0.50) !important;
    border-color: rgba(255, 255, 255, 0.50) !important;
}

header:not(.scroll-up):not(.is-sticky):not(.is-fixed) .btn-header:hover {
background-color: rgba(255, 255, 255, 1) !important;
color: rgba(0, 0, 0, 1) !important;
}
/*
[data-bs-theme=dark] header.is-fixed .btn-header,
[data-bs-theme=dark] header.is-sticky .btn-header {
  background-color: rgba(255, 255, 255, 0.5) !important;
  border-color: rgba(0, 0, 0, 0.50) !important;
  color: rgba(0, 0, 0, 1) !important;
}

[data-bs-theme=dark] header.is-fixed .btn-header:hover,
[data-bs-theme=dark] header.is-sticky .btn-header:hover {
  background-color: rgba(255, 255, 255, 1) !important;
  border-color: rgba(0, 0, 0, 0.50) !important;
  color: rgba(0, 0, 0, 1) !important;
}
*/
.form-control:focus {
    border-color: var(--bs-primary-border-subtle);
    box-shadow: 0 0 12px 3px rgba(var(--bs-primary-rgb), 0.4);
}
/*
[data-bs-theme=dark] .form-control:focus {
    border-color: var(--bs-secondary-border-subtle);
    box-shadow: 0 0 12px 3px rgba(var(--bs-secondary-rgb), 0.4);
}

[data-bs-theme=dark] .input-icon-group .input-icon::after {
    background-image: linear-gradient(to top,rgba(43,74,114,0) 0,rgba(43,74,114,.5) 50%,rgba(43,74,114,0) 100%)
}
*/
.form-check-input:focus {
  border-color: var(--bs-primary);
  outline: 0;
  box-shadow: 0 0 0 .25rem rgba(var(--bs-primary-rgb),.25)
}

.form-check-input:checked {
  background-color: var(--bs-primary);
  border-color: var(--bs-primary);
}

.width-logo-signup {
    width: 20rem !important;
}

@media (min-width: 992px) {
    .navbar-expand-lg .navbar-brand {
        width: 20rem;
    }
}

.navbar-brand {
	width: 10rem;
}

.hero-bg {
  background: url(/img/hero-bg.png) no-repeat center center;
  background-size: cover;
  position: relative;
  z-index: 1;
  overflow: hidden;
}
/*
[data-bs-theme=dark] .hero-bg::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0) 60%, rgb(24, 24, 24) 100%);
  z-index: 0;
}
*/

/* Make sure content inside stays above the overlay */
.hero-bg > * {
  position: relative;
  z-index: 1;
}


/* Desktop - Image styling */
.hero-image img {
  max-height: 95vh;   /* Use full viewport height */
  width: auto;         /* Keep aspect ratio */
  object-fit: contain;
  position: absolute;  /* Position absolutely within the relative container */
  bottom: 0;          /* Align to bottom with no gap */
  right: 50%;         /* Center horizontally */
  transform: translateX(50%); /* Adjust for centering */
  z-index: 2;
}

/* Growing circles effect - applied to the container div */
.hero-image::before, 
.hero-image::after {
  content: "";
  position: absolute;
  z-index: 1;
  left: 50%;
  top: 50%;
  border-radius: 50%;
  background-color: rgba(74, 144, 226, 0.3);
  border: 2px solid rgba(74, 144, 226, 0.5);
  animation: growingCircles 5s infinite ease-out;
  pointer-events: none;
}

.hero-image::before {
  width: 600px;
  height: 600px;
  transform: translate(-50%, -50%);
  animation-delay: 0s;
}

.hero-image::after {
  width: 500px;
  height: 500px;
  transform: translate(-50%, -50%);
  animation-delay: 0.5s;
}

/* Keyframe animation for growing circles */
@keyframes growingCircles {
  0% {
    transform: translate(-50%, -50%) scale(0);
    opacity: 0;
  }
  10% {
    opacity: 0.9;
  }
  100% {
    transform: translate(-50%, -50%) scale(1.5);
    opacity: 0;
  }
}

/* Position the icon inside the floating wrapper, right aligned */
.form-floating .toggle-visibility {
  position: absolute;
  top: 50%;
  right: 1rem;
  transform: translateY(-50%);
  border: 0;
  background: none;
}

.attorney-featured-box {
  position: absolute;
  bottom: 10%;
  right: 0;
  background: rgba(149, 12, 2, 0.75);
  backdrop-filter: blur(10px);
  border-radius: 12px;
  padding: 16px 32px;
  display: flex;
  align-items: center;
  gap: 0;
  z-index: 3;
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

.featured-name {
  color: #f0c040;
  font-size: 22px;
  font-weight: 600;
  text-transform: uppercase;
  margin: 0;
  text-shadow: 2px 2px 2px #000000;
}

/* Floating Attorney Info Box */
.attorney-info-box {
  position: absolute;
  top: 20%;
  left: -40%;
  background: rgba(0, 0, 0, 0.75);
  backdrop-filter: blur(10px);
  border-radius: 12px;
  padding: 16px;
  display: flex;
  align-items: center;
  gap: 15px;
  min-width: 320px;
  z-index: 3;
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

.attorney-avatar {
  width: 70px;
  height: 70px;
  background: transparent;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  overflow: hidden;
  position: relative;
}

.attorney-avatar img {
  width: 70px;
  height: 70px;
  object-fit: cover;
  border-radius: 8px;
  position: absolute;
  top: 0;
  left: 0;
  z-index: 1;
  transform: translateX(0%);
}

.attorney-avatar i {
  color: white;
  font-size: 20px;
  z-index: 2;
}

.attorney-details {
  flex: 1;
}

.attorney-name {
  color: #f0c040;
  font-size: 22px;
  font-weight: 600;
  padding: 0 0 4px 0;
  line-height: 1.2;
  border-bottom: rgba(240, 192, 64, 0.8) 1px solid;
}

.attorney-practice {
  color: #ffffff;
  font-size: 13px;
  margin: 0 0 4px 0;
  line-height: 1.3;
}

.attorney-credentials {
  color: #cccccc;
  font-size: 12px;
  margin: 0;
  line-height: 1.2;
}

/* Curved Arrow */
.curved-arrow {
  position: absolute;
  top: 32%;
  left: 0%;
  z-index: 3;
  opacity: 0.9;
  animation: arrowPulse 3s ease-in-out infinite;
  pointer-events: none;
}

.curved-arrow svg {
  filter: drop-shadow(2px 2px 4px rgba(0, 0, 0, 0.3));
}

/* Arrow pulse animation */
@keyframes arrowPulse {
  0%, 100% {
    opacity: 0.6;
    transform: rotate(15deg) scale(1);
  }
  50% {
    opacity: 1;
    transform: rotate(15deg) scale(1.05);
  }
}

/* Ensure the image column has relative positioning for absolute child */
.col-md-6.position-relative {
  position: relative;
  height: 100vh; /* Full viewport height on desktop */
}

/* Mobile: stack under text */
@media (max-width: 767.98px) {
  .hero-bg {
    height: auto;     /* Allow height to expand on mobile */
   /* min-height: 100vh; */ /* Maintain minimum full viewport */
  }
  
  .col-md-6.position-relative {
    height: auto;     /* Reset height on mobile */
    position: static; /* Reset positioning */
  }
  
  .hero-image img {
    position: static !important;  /* Reset absolute positioning */
    transform: none !important;   /* Remove transform */
    max-width: 90%;
    max-height: none;
    margin-top: 2rem;
    right: auto;       /* Reset right positioning */
    bottom: auto;      /* Reset bottom positioning */
  }
  
  /* Hide circles on mobile for better performance */
  .hero-image::before,
  .hero-image::after,
  .attorney-info-box,
  .curved-arrow,
  .attorney-featured-box {
    display: none;
  }
  
  /* Ensure proper stacking order on mobile */
  /*.row {
    flex-direction: column;
  }*/
}


    /* Video Grid Section */
    .video-grid-section {
      position: relative;
      overflow: hidden;
      background: #f8f9fa;
    }

    /* Individual video card styling */
    .video-card {
      background: #fff;
      border-radius: 1.25rem;
      overflow: hidden;
      box-shadow: 0 4px 15px rgba(0,0,0,0.1);
      transition: transform 0.3s ease, box-shadow 0.3s ease;
      height: 100%;
    }

    .video-card:hover {
      box-shadow: 0 8px 25px rgba(0,0,0,0.15);
    }

    /* Video player container */
    .video-player-container {
      aspect-ratio: 9 / 16;
      position: relative;
      background: #000;
      border-radius: 1rem 1rem 0 0;
      overflow: hidden;
    }

    /* Plyr styling for grid layout */
    .video-player-container .plyr {
      height: 100%;
      width: 100%;
    }

    /* MP4: fill the container */
    .video-player-container .plyr__video-wrapper video {
      width: 100%;
      height: 100%;
      object-fit: cover;
      object-position: center;
    }

    /* Poster image styling */
    .video-player-container .plyr__poster {
      background-size: cover;
      background-position: center;
    }

    /* YouTube and Vimeo iframe styling */
    .plyr--youtube .plyr__video-wrapper iframe,
    .plyr--vimeo .plyr__video-wrapper iframe {
      position: absolute;
      top: 50%;
      left: 50%;
      height: 100%;
      width: calc(100% * 256 / 81);
      transform: translate(-50%, -50%);
      border: 0;
    }

    /* Control styling */
    .plyr__controls {
      transition: opacity 0.2s ease;
      z-index: 5 !important;
    }

    .plyr:not(.plyr--playing) .plyr__controls {
      opacity: 0;
      pointer-events: none;
    }

    /* Overlay play button */
    .plyr__control--overlaid {
      background: rgba(0,0,0,0.6) !important;
      border-radius: 50% !important;
      width: 60px !important;
      height: 60px !important;
      display: flex !important;
      align-items: center !important;
      justify-content: center !important;
      box-shadow: 0 4px 15px rgba(0,0,0,0.4);
      transition: background 0.3s, transform 0.2s;
    }

    .plyr__control--overlaid svg {
      width: 24px !important;
      height: 24px !important;
      fill: #fff !important;
    }

    .plyr__control--overlaid:hover {
      background: rgba(255,255,255,0.85) !important;
    }

    .plyr__control--overlaid:hover svg {
      fill: #000 !important;
    }

    /* Video info styling */
    .video-info {
      padding: 1.5rem;
    }

    .video-platform {
      display: flex;
      align-items: center;
      gap: 0.5rem;
      margin-bottom: 0.75rem;
      font-size: 0.875rem;
      color: #6c757d;
    }

    .platform-icon {
      width: 18px;
      height: 18px;
      object-fit: contain;
    }

    .video-name {
      font-size: 1.45rem;
      font-weight: 600;
      color: #ffd700 !important;
      text-decoration: none;
      display: block;
      line-height: 1.4;
    }

    .video-name:hover {
      color: #B49700 !important;
      text-decoration: underline;
    }

    .video-practice {
      font-size: 0.9rem;
      color: #6c757d;
      font-style: italic;
      margin-bottom: 0.75rem;
    }

    .video-details {
      font-size: 0.8rem;
      color: #adb5bd;
    }

    /* Responsive adjustments */
    @media (max-width: 1200px) {
      .video-card {
        margin-bottom: 2rem;
      }
    }

    @media (max-width: 768px) {
      .video-player-container {
        aspect-ratio: 16 / 9;
      }
      
      .video-info {
        padding: 1rem;
      }
      
      .video-name {
        font-size: 1rem;
      }
    }

    /* Section header styling */
    .section-header {
      margin-bottom: 3rem;
    }

    .border-warning {
      border-color: #ffc107 !important;
    }

    .width-3x {
      width: 3rem;
    }

    .border-2 {
      border-width: 2px !important;
    }

    /* Card overlay styling */
    .card-overlay {
      will-change: transform;
      transition: opacity 1.1s cubic-bezier(.5,0,0,1) .3s, transform 1.1s cubic-bezier(.5,0,0,1) .3s;
      position: absolute;
      left: 0;
      top: 0;
      width: 100%;
      height: 100%;
      z-index: 2;
      overflow: hidden;
      pointer-events: none; /* Allow clicks to pass through to video controls */
    }

    .card-overlay::before {
      content: "";
      display: block;
      position: absolute;
      top: 0;
      left: 0;
      height: 100%;
      width: 100%;
      z-index: -1;
      background: linear-gradient(180deg, rgba(8, 7, 19, .8) 75px, rgba(8, 7, 19, .35) 25%, rgba(8, 7, 19, 0) 50%);
      transition: background-color, opacity 1.2s ease;
    }

    .card-overlay .overlay-items {
      pointer-events: auto; /* Re-enable clicks for overlay content */
      position: relative;
      z-index: 3;
    }

    .card-overlay .overlay-items a {
      pointer-events: auto;
      position: relative;
      z-index: 4;
      color: white;
      text-decoration: none;
    }

    .card-overlay .overlay-items a:hover {
      text-decoration: underline;
    }

    .plyr--fullscreen .plyr__video-wrapper video {
      object-fit: contain;
    }

    .plyr--fullscreen.plyr--youtube .plyr__video-wrapper iframe,
    .plyr--fullscreen.plyr--vimeo .plyr__video-wrapper iframe {
      position: absolute;
      inset: 0;
      width: 100% !important;
      height: 100% !important;
      transform: none !important;
    }

/* Social Media Hover Styles */
.si-hover-threads:hover {
    background-color: #000000!important;
    border-color: #000000!important;
    color: #fff!important
}

.si-hover-tiktok:hover {
  background: linear-gradient(135deg,rgba(0, 0, 0, 1) 25%, rgba(254, 44, 85, 1) 55%, rgba(37, 244, 238, 1) 85%) !important;
    border-color: transparent!important;
    color: #fff!important
}