.stats-suffix {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--accent-gold);
  margin-left: 2px;
  vertical-align: top;
  display: inline;
}
/* === Professional Stats Section Enhancements === */
.stats-section {
  font-family: 'Inter', 'Segoe UI', Arial, sans-serif;
}

.stats-section .section-header {
  margin-bottom: 2rem;
}

.stats-section .section-title {
  color: white;
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.stats-section .section-description {
  color: rgba(255,255,255,0.9);
  font-size: 1.1rem;
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.6;
}
.stats-icon {
  font-size: 1.25rem;
  color: var(--accent-gold);
  margin-bottom: 0.25rem;
  display: flex;
  justify-content: center;
  align-items: center;
}
.stats-item {
  background: rgba(255,255,255,0.07);
  border-radius: 0.75rem;
  box-shadow: var(--shadow-sm);
  transition: transform 0.2s, box-shadow 0.2s;
  padding: 0.75rem 0.5rem;
  margin-bottom: 0;
}
.stats-item:hover {
  transform: translateY(-6px) scale(1.03);
  box-shadow: var(--shadow-md);
}
.stats-number {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 2rem;
  font-weight: 800;
  color: var(--accent-gold);
  margin-bottom: 0.1rem;
  display: inline;
  line-height: 1;
  letter-spacing: 1px;
}
.stats-label {
  font-size: 1.1rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  opacity: 0.95;
  color: var(--white);
  display: block;
  margin-top: 0.5rem;
}
.about-section .section-description {
  font-size: 1.15rem;
  color: var(--text-light);
}

/* === Improved Alignment for About Section === */
.about-facts-container {
  display: flex;
  flex-direction: column;
  align-items: center;
}
.about-fact {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-width: 160px;
  margin-left: auto;
  margin-right: auto;
}
.about-section .row.mb-4 {
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: stretch;
  gap: 2rem;
  width: 100%;
  margin-left: 0;
  margin-right: 0;
}
.about-accordion {
  width: 100%;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}
.about-feature-header {
  text-align: left;
}
.about-section .section-header {
  margin-bottom: 2.5rem;
}
.about-section .btn {
  margin-top: 2rem;
}
@media (max-width: 991px) {
  .about-section .row.mb-4 {
    flex-direction: column;
    align-items: center;
    gap: 1rem;
  }
}
/* === Interactive About Section Styles === */
.about-fact {
  background: var(--gray-100);
  border-radius: 1rem;
  padding: 1.5rem 1rem;
  margin-bottom: 1rem;
  box-shadow: var(--shadow-sm);
  transition: background 0.2s;
}
.about-fact-number {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--primary-red);
  margin-bottom: 0.25rem;
  transition: color 0.2s;
}
.about-fact-label {
  font-size: 1rem;
  color: var(--text-light);
}
.about-accordion {
  margin: 2rem 0 1rem 0;
}

/* Force horizontal layout for about facts */
.about-section .row {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
}

.about-section .col-6 {
  flex: 1;
  max-width: 50%;
  padding: 0 0.5rem;
}

/* === Contact Section Styles === */
.contact-section {
  background: linear-gradient(135deg, #f1f3f5 0%, #e9ecef 100%);
  padding: 3rem 0 2rem;
}

/* Simple branch info block styling to avoid grid conflicts */
.branch-info {
  max-width: 420px;
}

/* Constrain the contact card so it doesn't overflow its column */
.contact-form.card {
  max-width: 520px;
  margin-left: auto;
  margin-right: 0;
}

@media (max-width: 767px) {
  .contact-form.card {
    max-width: 100%;
    margin: 0 auto;
  }
}

.contact-section .section-title {
  font-size: clamp(1.8rem, 4vw, 2.2rem);
  margin-bottom: 0.5rem;
}

.contact-section .section-description {
  font-size: 0.9rem;
  margin-bottom: 2rem;
}

.contact-info {
  padding: 1rem;
}

.contact-item {
  display: flex;
  align-items: flex-start;
  margin-bottom: 1.5rem;
  padding: 1rem;
  background: white;
  border-radius: 0.8rem;
  box-shadow: 0 2px 10px rgba(0,0,0,0.08);
  transition: transform 0.3s ease;
}

.contact-item:hover {
  transform: translateY(-2px);
}

.contact-icon {
  background: var(--primary-red);
  color: white;
  width: 45px;
  height: 45px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 1rem;
  flex-shrink: 0;
}

.contact-icon i {
  font-size: 1.1rem;
}

.contact-details h5 {
  color: var(--primary-blue);
  font-weight: 600;
  margin-bottom: 0.3rem;
  font-size: 1rem;
}

.contact-details p {
  color: var(--text-light);
  margin: 0;
  line-height: 1.4;
  font-size: 0.85rem;
}

.contact-form {
  background: white;
  padding: 1.8rem;
  border-radius: 1rem;
  box-shadow: 0 4px 20px rgba(0,0,0,0.08);
}

.contact-form h4 {
  color: var(--primary-blue);
  font-weight: 700;
  text-align: center;
  font-size: 1.3rem;
  margin-bottom: 1.5rem;
}

.contact-form .form-label {
  color: var(--primary-blue);
  font-weight: 600;
  margin-bottom: 0.3rem;
  font-size: 0.9rem;
}

.contact-form .form-control {
  border: 2px solid #e9ecef;
  border-radius: 0.5rem;
  padding: 0.6rem 0.8rem;
  transition: border-color 0.3s ease;
  font-size: 0.9rem;
}

.contact-form .form-control:focus {
  border-color: var(--primary-red);
  box-shadow: 0 0 0 0.2rem rgba(178, 34, 34, 0.25);
}

.contact-form .btn-primary {
  background: var(--primary-red);
  border: none;
  padding: 0.8rem;
  font-weight: 600;
  border-radius: 0.5rem;
  transition: background-color 0.3s ease;
  font-size: 0.95rem;
}

.contact-form .btn-primary:hover {
  background: #a01e1e;
}

/* Contact page overrides: ensure header text and form are visible and maps/iframes don't create opaque overlays */
.contact-header .mask {
  background-color: rgba(0,0,0,0.55) !important;
}
.contact-header h1,
.contact-header .header-font {
  color: #fff !important;
  text-shadow: 0 1px 3px rgba(0,0,0,0.6);
}
.contact-form.card {
  position: relative;
  z-index: 20; /* keep the form above the map and other stacked elements */
}
#full-width-map,
#full-width-map iframe {
  position: relative;
  z-index: 0;
}
.contact-form .form-control,
.branch-info {
  background: transparent;
  color: #222;
}
.contact-form .form-control::placeholder {
  color: #999;
}
@media (max-width: 767px) {
  .contact-header .mask { background-color: rgba(0,0,0,0.6) !important; }
}

/* === Carousel Fixes === */
.practice-carousel-wrapper {
  position: relative;
  overflow: visible;
  padding: 15px 15px 5px 15px;
}

/* Tunnel Effect Elements */
.practice-carousel-wrapper .tunnel-left,
.practice-carousel-wrapper .tunnel-right {
  position: absolute;
  top: 0;
  bottom: 5px; /* Account for minimal wrapper padding-bottom */
  width: 1px;
  z-index: 15;
  pointer-events: none;
}

.practice-carousel-wrapper .tunnel-left {
  left: -20vw; /* Extend far beyond left edge */
  background: linear-gradient(
    90deg,
    white 0%,
    white 80%,
    rgba(255, 255, 255, 0.9) 90%,
    rgba(255, 255, 255, 0.5) 97%,
    rgba(255, 255, 255, 0) 100%
  );
  width: calc(20vw + 2px); /* Extend to viewport edge plus minimal tunnel width */
  box-shadow: 
    inset -3px 0 5px -3px rgba(0, 0, 0, 0.08),
    inset -1px 0 3px -1px rgba(142, 14, 0, 0.05);
}

.practice-carousel-wrapper .tunnel-right {
  right: -20vw; /* Match left side positioning */
  background: linear-gradient(
    270deg,
    white 0%,
    white 80%,
    rgba(255, 255, 255, 0.9) 90%,
    rgba(255, 255, 255, 0.5) 97%,
    rgba(255, 255, 255, 0) 100%
  );
  width: calc(20vw + 2px); /* Match left side width */
  box-shadow: 
    inset 3px 0 5px -3px rgba(0, 0, 0, 0.08),
    inset 1px 0 3px -1px rgba(142, 14, 0, 0.05);
}

/* 3D Tunnel Effect at Full Width Edges */
.practice-areas-section {
  position: relative;
  overflow: visible;
  background: white !important;
}

.practice-carousel {
  position: relative;
  overflow: visible;
}

.practice-carousel .owl-stage-outer {
  overflow: visible;
  padding: 15px 0 30px 0;
}

.practice-carousel .owl-stage {
  padding-top: 15px;
}

.practice-carousel .owl-item {
  overflow: visible;
}

/* Comprehensive overflow fix for carousel hover effects */
.practice-areas-section,
.practice-areas-section .container,
.practice-carousel-wrapper,
.practice-carousel,
.practice-carousel .owl-stage-outer,
.practice-carousel .owl-stage,
.practice-carousel .owl-item {
  overflow: visible !important;
}

.practice-carousel .owl-nav {
  margin-top: 20px;
  text-align: center;
}

.practice-carousel .owl-nav button {
  background: var(--primary-red) !important;
  color: white !important;
  border: none !important;
  border-radius: 50% !important;
  width: 50px !important;
  height: 50px !important;
  margin: 0 10px !important;
  font-size: 18px !important;
  transition: all 0.3s ease !important;
}

.practice-carousel .owl-nav button:hover {
  background: #a01e1e !important;
  transform: scale(1.1);
}

/* Reset and fix dots */
.practice-carousel .owl-dots {
  text-align: center !important;
  margin-top: 30px !important;
  position: absolute !important;
  bottom: 20px !important;
  left: 50% !important;
  transform: translateX(-50%) !important;
  width: auto !important;
  display: flex !important;
  justify-content: center !important;
  align-items: center !important;
  gap: 10px !important;
}

.practice-carousel .owl-dot {
  display: inline-flex !important;
}

/* Remove site-wide hero/news dark overlay masks by default */
.hero-overlay {
  display: none !important;
}

/* Neutralize common mask helper classes that add dark tint */
.mask[style*="rgba(0, 0, 0"] {
  background-color: transparent !important;
}

.rgba-white-slight {
  background-color: transparent !important;
  opacity: 1 !important;
}

/* Ensure masks inside view.overlay do not darken images */
.view.overlay .mask {
  background-color: transparent !important;
  opacity: 1 !important;
}

/* Generic mask reset for other uses */
.mask {
  background-color: transparent !important;
}
/* cleaned stray rules that were accidentally placed here */

.practice-carousel .owl-dot span {
  background: #ccc !important;
  border-radius: 50% !important;
  width: 12px !important;
  height: 12px !important;
  display: block !important;
  transition: all 0.3s ease !important;
  border: none !important;
  outline: none !important;
  margin: 0 !important;
}

.practice-carousel .owl-dot.active span {
  background: var(--primary-red) !important;
  width: 12px !important;
  height: 12px !important;
  transform: none !important;
}

.practice-carousel .owl-dot:hover span {
  background: var(--primary-red) !important;
  opacity: 0.8;
}

/* Restore intended dark overlay for practice area headers (page hero) */
.view.practice-area-header .mask,
.practice-area-header .mask {
  /* restore the original semi-opaque black overlay used by these hero sections */
  background-color: rgba(0,0,0,0.45) !important;
  opacity: 1 !important;
}

.practice-item {
  margin-bottom: 0;
}
/* Practice area header (page hero) - centralized spacing and overlay */
.practice-area-header {
  position: relative;
  background-size: cover;
  background-position: center;
  min-height: 36vh;
  /* Consistent top offset for fixed navbar */
  padding-top: 6rem;
}
.practice-area-header .container { position: relative; z-index: 3; padding-bottom: 2.5rem; }
/* Hero heading spacing */
.practice-area-header .header-font {
  margin-top: 0 !important;
  padding-top: 0 !important;
  line-height: 1.05;
  font-size: 3.5rem;
}

@media (max-width: 768px) {
  .practice-area-header .header-font {
    font-size: 2.2rem;
    padding-top: 0.5rem;
  }
}
.about-feature {
  border-radius: 0.5rem;
  background: var(--gray-50);
  margin-bottom: 1rem;
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  transition: box-shadow 0.2s;
}
.about-feature-header {
  cursor: pointer;
  padding: 1rem 1.5rem;
  background: var(--white);
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 1.1rem;
}
.about-feature.active .about-feature-header {
  background: var(--primary-red);
  color: var(--white);
}
.about-feature-body {
  padding: 1rem 1.5rem;
  background: var(--gray-100);
  color: var(--text-dark);
}
.accordion-icon {
  font-size: 1.2rem;
  margin-left: 0.5rem;
  transition: transform 0.2s;
}
/* === Practice Areas Carousel Styles === */
.practice-carousel-wrapper {
  padding: 3rem 0;
  overflow: visible;
  margin-top: 20px;
  margin-bottom: 20px;
}

.practice-carousel .practice-item {
  background: var(--white);
  border-radius: 1rem;
  padding: 2rem 1.5rem;
  margin: 0 0.75rem;
  box-shadow: var(--shadow-md);
  transition: transform 0.3s, box-shadow 0.3s, z-index 0.3s;
  height: 380px;
  min-height: 380px;
  max-height: 380px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
  z-index: 1;
}

.practice-carousel .practice-item:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-xl);
  z-index: 10;
}

.practice-carousel .practice-item:hover .practice-icon {
  background: var(--primary-red);
  color: var(--white);
  transform: scale(1.1);
}

.practice-carousel .practice-icon {
  font-size: 4rem;
  color: var(--primary-red);
  margin-bottom: 1.5rem;
  text-align: center;
  background: var(--light-red);
  width: 80px;
  height: 80px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-left: auto;
  margin-right: auto;
  box-shadow: var(--shadow-sm);
  transition: all 0.3s ease;
}

.practice-carousel .practice-item h3 {
  color: var(--text-dark);
  font-size: 1.5rem;
  margin-bottom: 1rem;
  text-align: center;
}

.practice-carousel .practice-item p {
  color: var(--text-light);
  font-size: 0.95rem;
  line-height: 1.6;
  margin-bottom: 1.5rem;
  text-align: center;
  flex-grow: 1;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  line-clamp: 3;
  -webkit-box-orient: vertical;
}

.practice-carousel .practice-link {
  color: var(--primary-red);
  text-decoration: none;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  transition: color 0.2s;
}

.practice-carousel .practice-link:hover {
  color: var(--accent-gold);
}

.practice-carousel .owl-dots {
  text-align: center;
  margin-top: 2rem;
}

.practice-carousel .owl-dot {
  display: inline-block;
  margin: 0 0.5rem;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--gray-100);
  transition: background 0.2s;
  border: none;
  outline: none;
  cursor: pointer;
  position: relative;
  overflow: hidden;
}

.practice-carousel .owl-dot.active {
  background: var(--primary-red);
}
/* ===========================
   MODERN LAW FIRM DESIGN
   25 Years of Excellence
   =========================== */

/* RESET AND BASE STYLES */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* Ensure no horizontal overflow */
html, body {
  overflow-x: hidden;
  max-width: 100vw;
}

/* Fix for navbar cutoff issues */
.navbar,
.navbar .container-fluid,
.navbar-brand {
  overflow: visible !important;
}

/* Prevent Bootstrap container negative margins from affecting navbar */
.navbar .container-fluid {
  margin-left: 0 !important;
  margin-right: 0 !important;
}

:root {
  --primary-red: #8E0E00;
  --secondary-red: #1F1C18;
  --accent-gold: #d4af37;
  --light-red: #fff5f5;
  --text-dark: #2d3748;
  --text-light: #718096;
  --white: #ffffff;
  --gray-50: #f7fafc;
  --gray-100: #edf2f7;
  --gray-900: #1a202c;
  --shadow-sm: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px 0 rgba(0, 0, 0, 0.06);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
  --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
  line-height: 1.6;
  color: var(--text-dark);
  background-color: var(--white);
  overflow-x: hidden;
}

/* FIXED NAVBAR COMPENSATION - Prevent content overlap */
.navbar-fixed-top-compensation {
  padding-top: 80px;
}

/* Ensure main content sections don't overlap with fixed navbar */
main > section:first-child:not(.hero-section):not(.practice-area-header),
.main-content > section:first-child:not(.hero-section):not(.practice-area-header) {
  padding-top: 5rem;
}

/* Reset margin for sections that already have proper padding */
.hero-section,
.practice-area-header {
  margin-top: 0 !important;
}

/* UTILITY CLASSES FOR SPACING FIXES */
.no-top-spacing {
  margin-top: 0 !important;
  padding-top: 0 !important;
}

.navbar-spacing {
  padding-top: 5rem !important;
}

.mobile-navbar-spacing {
  padding-top: 4rem !important;
}

/* ADDITIONAL BROWSER COMPATIBILITY FIXES */
/* Ensure consistent spacing across different browsers */
* {
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
}

/* Fix for any potential margin collapse issues */
.hero-section + main,
.practice-area-header + main,
header + main {
  margin-top: 0 !important;
}

/* Ensure sections have proper top spacing when not using hero/practice headers */
main section:first-child {
  margin-top: 0;
}

/* Additional safety for direct section elements */
section.py-5:first-child {
  padding-top: 5rem !important;
}

/* TYPOGRAPHY */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Playfair Display', Georgia, 'Times New Roman', serif;
  font-weight: 700;
  line-height: 1.3;
  margin-bottom: 1rem;
}

.hero-title {
  font-size: clamp(3rem, 8vw, 5rem);
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 1.5rem;
  color: var(--white);
}

.section-title {
  font-size: clamp(2.5rem, 6vw, 3.5rem);
  font-weight: 700;
  color: var(--primary-red);
  margin-bottom: 1rem;
}

.text-accent {
  color: var(--accent-gold);
  position: relative;
}

.text-accent::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, var(--accent-gold), transparent);
}

/* BUTTONS */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 1rem 2rem;
  border-radius: 0.5rem;
  font-weight: 600;
  font-size: 0.875rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  text-decoration: none;
  transition: all 0.3s ease;
  border: 2px solid transparent;
  cursor: pointer;
  min-width: 200px;
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary-red), var(--secondary-red));
  color: var(--white);
  box-shadow: var(--shadow-md);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
  color: var(--white);
  text-decoration: none;
}

.btn-gold {
  background: linear-gradient(135deg, var(--accent-gold), #b8941f);
  color: var(--white);
  box-shadow: var(--shadow-md);
}

.btn-gold:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
  color: var(--white);
  text-decoration: none;
  background: linear-gradient(135deg, #b8941f, var(--accent-gold));
}

.btn-outline {
  background: transparent;
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.3);
}

.btn-outline:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: var(--white);
  color: var(--white);
  text-decoration: none;
}

/* NAVIGATION */
.navbar {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
  padding: 1rem 0;
  position: fixed;
  width: 100%;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  transition: all 0.3s ease;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  margin: 0;
}

.navbar .container-fluid {
  padding-left: 1rem;
  padding-right: 1rem;
  margin: 0;
  max-width: 100%;
}

/* Override Bootstrap spacing utilities that might cause issues */
.navbar-brand .ms-3,
.navbar-brand .me-3,
.navbar-brand .mx-3 {
  margin-left: 0.75rem !important;
  margin-right: 0 !important;
}

.navbar-scrolled {
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.navbar-brand img,
.brand-img {
  max-height: 50px;
  width: auto;
  display: block !important;
  opacity: 1 !important;
  visibility: visible !important;
  filter: brightness(1) !important;
}

.navbar-brand {
  display: flex !important;
  align-items: center;
  padding: 0.5rem 0;
  margin-right: auto;
  min-width: 0;
  flex-shrink: 0;
}

.navbar-brand img,
.brand-img {
  max-height: 50px;
  width: auto;
  display: block !important;
  opacity: 1 !important;
  visibility: visible !important;
  filter: brightness(1) !important;
  flex-shrink: 0;
}

.company-name {
  color: var(--primary-red);
  font-family: 'Playfair Display', serif;
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.5px;
  transition: color 0.3s ease;
  line-height: 1.1;
  margin-left: 0.75rem;
}

.company-name div {
  white-space: nowrap;
}

.nav-link {
  color: var(--text-dark) !important;
  font-weight: 500;
  margin: 0 0.5rem;
  transition: color 0.3s ease;
}

.nav-link:hover {
  color: var(--primary-red) !important;
}

.nav-link.active {
  color: var(--primary-red) !important;
  font-weight: 600;
}

/* Dropdown Toggle Arrows */
.nav-link.dropdown-toggle {
  position: relative;
  background: none !important;
}

.nav-link.dropdown-toggle::after {
  content: '';
  display: inline-block;
  margin-left: 0.5rem;
  vertical-align: 0.25em;
  border-top: 0.3em solid;
  border-right: 0.3em solid transparent;
  border-bottom: 0;
  border-left: 0.3em solid transparent;
  transition: transform 0.3s ease;
  background: none !important;
}

.nav-link.dropdown-toggle:hover::after {
  transform: rotate(180deg);
}

.nav-link.dropdown-toggle[aria-expanded="true"]::after {
  transform: rotate(180deg);
}

/* Dropdown Menu Styling */
.dropdown-menu {
  border: 1px solid rgba(0, 0, 0, 0.1);
  border-radius: 0.5rem;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  padding: 0.5rem 0;
  margin-top: 0.5rem;
}

.dropdown-item {
  padding: 0.5rem 1rem;
  color: var(--text-dark);
  transition: all 0.3s ease;
}

.dropdown-item:hover {
  background-color: var(--primary-red);
  color: white;
}

/* HERO SECTION */
.hero-section {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  margin-bottom: 0;
}

.hero-background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url('../img/landing/GP039.jpg');
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  z-index: -2;
}

.hero-background::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(142, 14, 0, 0.2) 0%, rgba(31, 28, 24, 0.15) 100%);
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.05);
  z-index: -1;
}

.hero-content {
  padding: 2rem 0;
}

.hero-badge {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 2rem;
  color: var(--accent-gold);
  font-weight: 600;
}

.badge-line {
  width: 60px;
  height: 2px;
  background: var(--accent-gold);
}

.badge-years {
  font-size: 1.25rem;
  font-weight: 800;
}

.hero-subtitle {
  font-size: 1.25rem;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 2rem;
  max-width: 500px;
}

.hero-stats {
  display: flex;
  align-items: center;
  gap: 2rem;
  margin-bottom: 2.5rem;
  flex-wrap: wrap;
}

/* Stats Banner Section */
.stats-banner {
  background: linear-gradient(135deg, var(--primary-red) 0%, var(--secondary-red) 100%);
  padding: 60px 0;
  color: white;
}

.stat-item {
  text-align: center;
  color: var(--white);
  padding: 1.5rem;
  border-radius: 1rem;
  transition: all 0.3s ease;
  cursor: pointer;
  position: relative;
  overflow: hidden;
}

.stat-item::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.1), transparent);
  transition: left 0.6s ease;
}

.stat-item:hover {
  transform: translateY(-8px) scale(1.05);
  background: rgba(255,255,255,0.1);
  box-shadow: 0 15px 35px rgba(0,0,0,0.2);
}

.stat-item:hover::before {
  left: 100%;
}

.stat-item:active {
  transform: translateY(-5px) scale(1.02);
}

.stat-number {
  display: block;
  font-size: 3.5rem;
  font-weight: 300;
  color: #ffffff; /* changed to white per design request */
  line-height: 1;
  margin-bottom: 8px;
  transition: all 0.3s ease;
}

.stat-item:hover .stat-number {
  color: #fff;
  text-shadow: 0 0 20px rgba(212, 175, 55, 0.5);
  transform: scale(1.1);
}

.stat-label {
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  opacity: 0.9;
  font-weight: 400;
  color: white;
  margin-bottom: 0;
  transition: all 0.3s ease;
}

.stat-item:hover .stat-label {
  color: var(--accent-gold);
  font-weight: 600;
  opacity: 1;
}

.stat-divider {
  width: 1px;
  height: 50px;
  background: rgba(255, 255, 255, 0.2);
}

.hero-actions {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  align-items: center;
  margin-top: 2rem;
}

/* HERO BOTTOM SECTION */
.hero-bottom {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  padding: 2rem 0;
  background: rgba(0, 0, 0, 0.3);
  backdrop-filter: blur(5px);
}

.hero-bottom-content {
  max-width: 700px;
  margin: 0 auto;
}

.hero-bottom-title {
  font-size: clamp(1.5rem, 4vw, 2.25rem);
  font-weight: 700;
  margin-bottom: 0.75rem;
  color: var(--white);
}

.hero-bottom-subtitle {
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 1.5rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.hero-bottom-stats {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 2rem;
  flex-wrap: wrap;
}

.hero-stat-item {
  text-align: center;
  color: var(--white);
}

.hero-stat-number {
  display: block;
  font-size: 2rem;
  font-weight: 700;
  color: var(--accent-gold);
  line-height: 1;
  margin-bottom: 0.25rem;
}

.hero-stat-label {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  opacity: 0.9;
  font-weight: 500;
}

/* HERO VISUAL CARD */
.hero-visual {
  position: relative;
  padding: 6rem 0 1rem 0;
  display: flex;
  align-items: flex-end;
  min-height: 50vh;
  justify-content: center;
}

.hero-card {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  border-radius: 1rem;
  padding: 1.25rem;
  box-shadow: 0 10px 25px -8px rgba(0, 0, 0, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.2);
  position: relative;
  overflow: hidden;
  max-width: 280px;
  margin: 0 auto;
  transform: scale(0.85);
}

.hero-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, var(--primary-red), var(--accent-gold));
}

.hero-card .card-header h3 {
  color: var(--primary-red);
  font-size: 1.125rem;
  margin-bottom: 0.5rem;
  text-align: center;
  font-weight: 600;
}

.milestone {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
}

.milestone:last-child {
  margin-bottom: 0;
}

.milestone-icon {
  width: 40px;
  height: 40px;
  background: linear-gradient(135deg, var(--primary-red), var(--secondary-red));
  border-radius: 0.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  flex-shrink: 0;
}

.milestone-icon i {
  font-size: 1rem;
}

.milestone-content h4 {
  color: var(--primary-red);
  font-size: 1rem;
  margin-bottom: 0.25rem;
}

.milestone-content p {
  color: var(--text-light);
  font-size: 0.875rem;
  margin: 0;
}

/* === About Section Styles === */
.about-section {
  padding: 8rem 0;
  background: var(--white);
  position: relative;
}

.about-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gray-100), transparent);
}

.about-content {
  padding-right: 2rem;
}

.about-content .section-header {
  text-align: left;
  margin-bottom: 2rem;
}

.about-content .section-header::after {
  left: 0 !important;
  transform: none !important;
}

.about-content .section-title {
  font-size: clamp(2.2rem, 5vw, 3rem);
  margin-bottom: 1rem;
}

.about-content .section-description {
  font-size: 1.1rem;
  line-height: 1.7;
  color: var(--text-light);
  margin-bottom: 0;
  text-align: left;
  margin-left: 0 !important;
  margin-right: 0 !important;
  max-width: none !important;
}

@media (max-width: 991.98px) {
  .about-content {
    padding-right: 0;
    margin-bottom: 2rem;
  }
  
  .about-content .section-header {
    text-align: center;
  }
  
  .about-content .section-description {
    text-align: center;
  }
  
  .about-section {
    padding: 5rem 0;
  }
}

/* Anniversary Signup Card */
.anniversary-signup-card {
  position: relative;
}

.anniversary-signup-card .card {
  border-radius: 1.5rem;
  background: linear-gradient(135deg, #fff 0%, #f8f9fa 100%);
  overflow: hidden;
  transition: all 0.3s ease;
}

.anniversary-signup-card .card:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 40px rgba(0,0,0,0.15) !important;
}

.anniversary-badge {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100px;
  height: 100px;
  background: linear-gradient(135deg, var(--primary-red) 0%, var(--secondary-red) 100%);
  border-radius: 50%;
  color: white;
  margin: 0 auto;
  position: relative;
}

.anniversary-badge::before {
  content: '';
  position: absolute;
  inset: -3px;
  background: linear-gradient(135deg, var(--accent-gold), var(--primary-red));
  border-radius: 50%;
  z-index: -1;
}

.badge-number {
  font-size: 1.4rem;
  font-weight: 800;
  line-height: 1;
}

.badge-text {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-top: -2px;
}

.anniversary-signup-form .form-control {
  border: 2px solid #e9ecef;
  border-radius: 0.8rem;
  padding: 0.8rem 1rem;
  font-size: 0.95rem;
  transition: all 0.3s ease;
}

.anniversary-signup-form .form-control:focus {
  border-color: var(--primary-red);
  box-shadow: 0 0 0 0.2rem rgba(178, 34, 34, 0.15);
}

.btn-anniversary {
  background: linear-gradient(135deg, var(--primary-red) 0%, var(--secondary-red) 100%);
  border: none;
  border-radius: 0.8rem;
  padding: 0.9rem 1.5rem;
  font-weight: 600;
  color: white;
  font-size: 0.95rem;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.btn-anniversary::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
  transition: left 0.5s;
}

.btn-anniversary:hover::before {
  left: 100%;
}

.btn-anniversary:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(178, 34, 34, 0.3);
  color: white;
}

.anniversary-details {
  text-align: center;
  padding-top: 1rem;
  border-top: 1px solid #e9ecef;
}

.about-image {
  position: relative;
  height: 600px;
  border-radius: 1.5rem;
  overflow: hidden;
}

.image-placeholder {
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, var(--primary-red), var(--secondary-red));
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
}

.image-placeholder i {
  font-size: 8rem;
  opacity: 0.3;
}

.section-header {
  margin-bottom: 4rem;
  position: relative;
}

.section-header::after {
  content: '';
  position: absolute;
  bottom: -2rem;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 3px;
  background: linear-gradient(90deg, var(--primary-red), var(--accent-gold));
  border-radius: 2px;
}

.section-tag {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  background: linear-gradient(135deg, var(--primary-red), var(--accent-gold));
  color: var(--white);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  border-radius: 2rem;
  margin-bottom: 1.5rem;
  box-shadow: var(--shadow-md);
  position: relative;
}

.section-tag::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, var(--accent-gold), var(--primary-red));
  border-radius: 2rem;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.section-tag:hover::before {
  opacity: 1;
}

.section-description {
  font-size: 1.125rem;
  color: var(--text-light);
  max-width: 600px;
  text-align: center;
  margin: 0 auto;
}

.about-features {
  margin: 3rem 0;
}

.feature-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 2rem;
}

.feature-icon {
  width: 40px;
  height: 40px;
  background: var(--accent-gold);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  flex-shrink: 0;
}

.feature-text h5 {
  color: var(--primary-red);
  margin-bottom: 0.25rem;
  font-size: 1rem;
}

.feature-text p {
  color: var(--text-light);
  font-size: 0.875rem;
  margin: 0;
}

/* PRACTICE AREAS SECTION */
.practice-areas-section {
  padding: 4rem 0;
  background: white;
  position: relative;
  overflow: visible;
}

.practice-areas-section .container {
  overflow: visible;
}

.practice-areas-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(142, 14, 0, 0.1), transparent);
}

.practice-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 2rem;
  margin-top: 4rem;
}

.practice-item {
  background: var(--white);
  border-radius: 1rem;
  padding: 2.5rem;
  border: 1px solid var(--gray-100);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.practice-item::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, var(--primary-red), var(--accent-gold));
  transform: scaleX(0);
  transition: transform 0.3s ease;
}

.practice-item:hover::before {
  transform: scaleX(1);
}

.practice-item:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-xl);
  border-color: var(--primary-red);
}

.practice-icon {
  width: 70px;
  height: 70px;
  background: linear-gradient(135deg, var(--primary-red), var(--secondary-red));
  border-radius: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  margin-bottom: 1.5rem;
  text-align: center;
}

.practice-icon i {
  font-size: 1.75rem;
}

.practice-item h3 {
  color: var(--primary-red);
  font-size: 1.375rem;
  margin-bottom: 1rem;
}

.practice-item p {
  color: var(--text-light);
  margin-bottom: 1.5rem;
  font-size: 0.9rem;
  text-align: center;
}

.practice-link {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--primary-red);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.875rem;
  transition: all 0.3s ease;
}

.practice-link:hover {
  color: var(--accent-gold);
  text-decoration: none;
  gap: 1rem;
}

.practice-link i {
  transition: transform 0.3s ease;
}

.practice-link:hover i {
  transform: translateX(4px);
}

/* NEWS SECTION */
.news-section {
  padding: 3rem 0 2rem;
  background: #f8f9fa;
  position: relative;
}

.news-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gray-100), transparent);
}

.news-card {
  background: var(--white);
  border-radius: 1rem;
  overflow: hidden;
  box-shadow: var(--shadow-md);
  transition: all 0.3s ease;
  border: 1px solid var(--gray-100);
}

.news-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-xl);
}

/* News Section Content Sizing */
.news-section .section-title {
  font-size: clamp(1.8rem, 4vw, 2.2rem);
  margin-bottom: 0.8rem;
}

.news-section .section-description {
  font-size: 0.9rem;
  margin-bottom: 2rem;
}

.news-section .card-body h3 {
  font-size: 1.1rem;
  margin-bottom: 0.8rem;
  line-height: 1.3;
}

.news-section .card-body p {
  font-size: 0.85rem;
  margin-bottom: 0.5rem;
}

.news-section .mt-5 p {
  font-size: 0.9rem;
  line-height: 1.5;
}

.news-section .btn {
  font-size: 0.8rem;
  padding: 0.4rem 0.8rem;
}

/* FOOTER */
.footer {
  background: linear-gradient(135deg, var(--primary-red) 0%, var(--secondary-red) 100%);
  color: var(--white);
  padding: 4rem 0 2rem;
}

.footer .nav-link {
  color: var(--white) !important;
  opacity: 0.9;
  transition: all 0.3s ease;
}

.footer .nav-link:hover {
  color: var(--white) !important;
  opacity: 1;
  transform: translateY(-2px);
}

/* ANIMATIONS */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes slideInLeft {
  from {
    opacity: 0;
    transform: translateX(-30px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes slideInRight {
  from {
    opacity: 0;
    transform: translateX(30px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.hero-content {
  animation: slideInLeft 0.8s ease-out;
}

.hero-visual {
  animation: slideInRight 0.8s ease-out 0.2s both;
}

.practice-item {
  animation: fadeInUp 0.6s ease-out;
}

.practice-item:nth-child(1) { animation-delay: 0.1s; }
.practice-item:nth-child(2) { animation-delay: 0.2s; }
.practice-item:nth-child(3) { animation-delay: 0.3s; }
.practice-item:nth-child(4) { animation-delay: 0.4s; }
.practice-item:nth-child(5) { animation-delay: 0.5s; }
.practice-item:nth-child(6) { animation-delay: 0.6s; }

/* RESPONSIVE DESIGN */
@media (max-width: 1200px) {
  .about-content {
    padding-left: 2rem;
  }
  
  .practice-grid {
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  }
}

@media (max-width: 992px) {
  .hero-section {
    min-height: auto;
    padding: 8rem 0 4rem;
  }
  
  .about-content {
    padding-left: 0;
    margin-top: 4rem;
  }
  
  .about-image {
    height: 400px;
  }
  
  .hero-stats {
    gap: 1rem;
  }
  
  .stat-divider {
    display: none;
  }
  
  .section-title {
    font-size: 2.5rem;
  }
  
  .about-section,
  .practice-areas-section,
  .news-section {
    padding: 6rem 0;
  }
}

/* STATS COUNTER SECTION */
.stats-section {
  padding: 1rem 0;
  background: linear-gradient(135deg, var(--primary-red) 0%, var(--secondary-red) 100%);
  color: var(--white);
  position: relative;
  overflow: hidden;
}

.stats-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url('../img/shapes/waves-white.svg');
  opacity: 0.1;
  background-size: cover;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
}

.stats-item {
  text-align: center;
  padding: 2rem;
}

.stats-number {
  font-size: 2rem;
  font-weight: 800;
  color: var(--accent-gold);
  display: block;
  line-height: 1;
  margin-bottom: 0.25rem;
}

.stats-label {
  font-size: 1rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  opacity: 0.9;
}

@media (max-width: 768px) {
  .hero-actions {
    gap: 0.5rem;
    margin-top: 1.5rem;
  }
  
  .btn {
    width: 100%;
    max-width: 250px;
  }
  
  .hero-stats {
    justify-content: space-between;
  }
  
  .stat-number {
    font-size: 2rem;
  }
  
  .practice-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  
  .hero-card {
    padding: 1rem;
    max-width: 250px;
    transform: scale(0.9);
  }
  
  .hero-visual {
    padding: 3rem 0 1rem 0;
    min-height: 35vh;
  }
  
  .practice-item {
    padding: 2rem;
  }
  
  .about-section,
  .practice-areas-section,
  .news-section {
    padding: 4rem 0;
  }
  
  .stats-section {
    padding: 4rem 0;
  }
  
  .stats-number {
    font-size: 2.5rem;
  }
  
  /* Hero Bottom Responsive */
  .hero-bottom {
    padding: 1.5rem 0;
  }
  
  .hero-bottom-stats {
    gap: 1.5rem;
  }
  
  .hero-stat-number {
    font-size: 1.75rem;
  }
  
  .hero-bottom-title {
    font-size: 1.75rem;
  }
}

@media (max-width: 576px) {
  .hero-title {
    font-size: 2.5rem;
  }
  
  .hero-subtitle {
    font-size: 1rem;
  }
  
  .section-title {
    font-size: 2rem;
  }
  
  .practice-item {
    padding: 1.5rem;
  }
  
  .hero-card {
    padding: 0.75rem;
    max-width: 220px;
    transform: scale(0.8);
  }
  
  .hero-visual {
    padding: 2rem 0 0.5rem 0;
    min-height: 25vh;
  }
  
  .hero-bottom {
    padding: 1rem 0;
  }
  
  .hero-bottom-stats {
    gap: 1rem;
  }
  
  .hero-stat-number {
    font-size: 1.5rem;
  }
  
  .hero-bottom-title {
    font-size: 1.5rem;
  }
  
  .hero-bottom-subtitle {
    font-size: 0.875rem;
  }
}

/* === Professional Interactive Enhancements === */

/* Smooth page transitions */
html {
  scroll-behavior: smooth;
}

/* Enhanced hover effects for cards and sections */
.practice-item,
.about-block,
.stats-item {
  transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
  cursor: pointer;
}

.practice-item:hover {
  transform: translateY(-8px);
  box-shadow: 0 15px 35px rgba(142, 14, 0, 0.15);
}

.about-block:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.stats-item:hover {
  transform: scale(1.05);
  filter: brightness(1.1);
}

/* Interactive button enhancements */
.btn {
  position: relative;
  overflow: hidden;
  transition: all 0.3s ease;
}

.btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
  transition: left 0.5s;
}

.btn:hover::before {
  left: 100%;
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

/* Loading animations for content */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeInLeft {
  from {
    opacity: 0;
    transform: translateX(-30px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes fadeInRight {
  from {
    opacity: 0;
    transform: translateX(30px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes scaleIn {
  from {
    opacity: 0;
    transform: scale(0.9);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

/* Apply animations to elements */
.animate-on-scroll {
  opacity: 0;
  animation-fill-mode: forwards;
}

.animate-on-scroll.animate {
  animation-duration: 0.8s;
  animation-timing-function: ease-out;
}

.animate-on-scroll.fade-up.animate {
  animation-name: fadeInUp;
}

.animate-on-scroll.fade-left.animate {
  animation-name: fadeInLeft;
}

.animate-on-scroll.fade-right.animate {
  animation-name: fadeInRight;
}

.animate-on-scroll.scale-in.animate {
  animation-name: scaleIn;
}

/* Interactive navigation enhancements */
.navbar-nav .nav-link {
  position: relative;
  transition: all 0.3s ease;
}

.navbar-nav .nav-link::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 50%;
  width: 0;
  height: 2px;
  background: var(--accent-gold);
  transition: all 0.3s ease;
  transform: translateX(-50%);
}

.navbar-nav .nav-link:hover::after {
  width: 100%;
}

/* Icon bounce animation */
@keyframes iconBounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-5px); }
}

.icon-bounce {
  animation: iconBounce 0.6s ease-in-out;
}

/* Interactive form enhancements */
.form-control {
  transition: all 0.3s ease;
  border: 2px solid transparent;
}

.form-control:focus {
  border-color: var(--accent-gold);
  box-shadow: 0 0 15px rgba(178, 34, 34, 0.2);
  transform: translateY(-2px);
}

/* Tooltip styles */
.tooltip-trigger {
  position: relative;
  cursor: help;
}

.tooltip-content {
  position: absolute;
  bottom: 100%;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(0,0,0,0.9);
  color: white;
  padding: 8px 12px;
  border-radius: 4px;
  font-size: 0.875rem;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
  z-index: 1000;
}

.tooltip-content::after {
  content: '';
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  border: 5px solid transparent;
  border-top-color: rgba(0,0,0,0.9);
}

.tooltip-trigger:hover .tooltip-content {
  opacity: 1;
}

/* Progress bars for loading */
.progress-bar-animated {
  background: linear-gradient(90deg, var(--primary-red), var(--accent-gold));
  animation: progressFlow 2s ease-in-out infinite;
}

@keyframes progressFlow {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}

/* Back to Top Button */
.back-to-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 50px;
  height: 50px;
  background: linear-gradient(135deg, var(--primary-red), var(--secondary-red));
  color: white;
  border: none;
  border-radius: 50%;
  font-size: 18px;
  cursor: pointer;
  z-index: 1000;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(142, 14, 0, 0.3);
}

.back-to-top.show {
  opacity: 1;
  visibility: visible;
}

.back-to-top:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(142, 14, 0, 0.4);
  background: linear-gradient(135deg, var(--secondary-red), var(--primary-red));
}

.back-to-top:active {
  transform: translateY(-1px);
}

/* Enhanced card hover effects */
.practice-item::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(142, 14, 0, 0.05), rgba(184, 134, 11, 0.05));
  opacity: 0;
  transition: opacity 0.3s ease;
  border-radius: inherit;
}

.practice-item:hover::before {
  opacity: 1;
}

/* Loading overlay for smooth transitions */
.page-loading {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(255, 255, 255, 0.9);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;
  opacity: 1;
  transition: opacity 0.5s ease;
}

.page-loading.fade-out {
  opacity: 0;
  pointer-events: none;
}

/* Responsive enhancements */
@media (max-width: 768px) {
  .back-to-top {
    bottom: 20px;
    right: 20px;
    width: 45px;
    height: 45px;
    font-size: 16px;
  }
  
  .tooltip-content {
    display: none; /* Hide tooltips on mobile */
  }
  
  .animate-on-scroll {
    animation-duration: 0.6s; /* Faster animations on mobile */
  }
  
  .company-name {
    display: none; /* Hide company name on mobile to save space */
  }
}

/* Company name styling consolidated above with navbar-brand */

.navbar-brand:hover .company-name {
  color: var(--accent-gold);
}

/* Responsive navbar brand */
@media (max-width: 992px) {
  .company-name {
    font-size: 1rem;
  }
}

@media (max-width: 768px) {
  .company-name {
    display: none;
  }
}

/* ================================
   MODERN ABOUT PAGE STYLES
   ================================ */

/* Defensive styling for missing elements */
.about-image img {
  width: 100%;
  height: 300px;
  object-fit: cover;
  background: var(--gray-100);
}

.about-image img:not([src]),
.about-image img[src=""],
.about-image img[src*="team-photo.jpg"] {
  background: linear-gradient(135deg, var(--gray-100) 0%, var(--gray-50) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
}

.about-image img:not([src]):after,
.about-image img[src=""]:after,
.about-image img[src*="team-photo.jpg"]:after {
  content: "Team Photo";
  color: var(--text-light);
  font-size: 1.2rem;
  font-weight: 500;
}

/* Essential utility classes */
.text-gradient {
  background: linear-gradient(135deg, var(--accent-gold), #ffd700);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
    color: var(--accent-gold); /* Fallback for unsupported browsers */
}

/* Legacy content integration */
.card.hoverable {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: none;
  border-radius: 1rem;
  overflow: hidden;
}

.card.hoverable:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}

.card-body {
  padding: 2rem;
}

.text-red {
  color: var(--primary-red) !important;
}

.text-green {
  color: var(--accent-gold) !important;
}

.dark-grey-text {
  color: var(--text-dark) !important;
}

.text-muted {
  color: var(--text-light) !important;
}.section-tag {
  display: inline-block;
  background: rgba(142, 14, 0, 0.1);
  color: var(--primary-red);
  padding: 0.5rem 1.5rem;
  border-radius: 2rem;
  font-size: 0.9rem;
  font-weight: 500;
  margin-bottom: 1rem;
  border: 1px solid rgba(142, 14, 0, 0.2);
}

.section-title {
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--text-dark);
  margin-bottom: 1rem;
  font-family: 'Playfair Display', serif;
}

.section-description {
  font-size: 1.1rem;
  line-height: 1.6;
  color: var(--text-light);
  margin-bottom: 2rem;
}

.z-index-3 {
  z-index: 3;
}

/* About Hero Section */
.about-hero {
  min-height: 100vh;
  background: linear-gradient(135deg, rgba(142, 14, 0, 0.9) 0%, rgba(0, 0, 0, 0.8) 100%);
  position: relative;
  overflow: hidden;
}

/* Fallback if background image doesn't load */
.about-hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at 30% 30%, rgba(142, 14, 0, 0.3) 0%, transparent 50%),
              radial-gradient(circle at 70% 70%, rgba(0, 0, 0, 0.2) 0%, transparent 50%);
  z-index: 1;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at center, rgba(142, 14, 0, 0.1) 0%, rgba(0, 0, 0, 0.4) 100%);
  z-index: 2;
}

.hero-content {
  text-align: center;
  color: white;
  padding-top: 6rem;
  position: relative;
  z-index: 3;
}

.hero-tag {
  display: inline-block;
  background: rgba(255, 255, 255, 0.1);
  color: var(--accent-gold);
  padding: 0.5rem 1.5rem;
  border-radius: 2rem;
  font-size: 0.9rem;
  font-weight: 500;
  margin-bottom: 1.5rem;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.hero-title {
  font-size: 3.5rem;
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 1.5rem;
  font-family: 'Playfair Display', serif;
}

.hero-description {
  font-size: 1.2rem;
  line-height: 1.6;
  margin-bottom: 3rem;
  opacity: 0.9;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.hero-stats {
  display: flex;
  justify-content: center;
  gap: 3rem;
  margin-top: 3rem;
}

.team-section {
  background: #fafafa;
  position: relative;
  overflow: hidden;
  padding: 6rem 0;
}

/* Team card visible borders and subtle hover shadow */
.team-section .card {
  border: 1px solid rgba(0,0,0,0.06);
  background-clip: padding-box; /* keeps border crisp with rounded corners */
  transition: box-shadow 0.25s ease, transform 0.15s ease;
}

.team-section .card .card-body {
  background: transparent;
}

.team-section .card:hover {
  box-shadow: 0 12px 30px rgba(0,0,0,0.08);
  transform: translateY(-6px);
}

/* Make team cards more visible: stronger border and hover shadow override */
.team-section .card {
  border: 1px solid rgba(0,0,0,0.14) !important;
  background-color: #ffffff;
  background-clip: padding-box; /* keep border crisp */
}

.team-section .card:hover {
  box-shadow: 0 18px 40px rgba(0,0,0,0.10) !important;
  transform: translateY(-6px);
}

/* Section Header Styling */
.section-badge {
  display: inline-block;
  padding: 0.5rem 1.2rem;
  background: linear-gradient(135deg, #8e0e00, #c4274c);
  color: white;
  border-radius: 50px;
  font-size: 0.875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 1rem;
}

.section-title {
  font-size: 2.75rem;
  font-weight: 700;
  color: #2c3e50;
  line-height: 1.2;
  margin-bottom: 1.5rem;
}

.section-subtitle {
  font-size: 1.125rem;
  line-height: 1.6;
  color: #6c757d;
  max-width: 600px;
  margin: 0 auto;
}

/* Client Logo Cards */
.clients-showcase {
  margin-top: 4rem;
}

.client-logo-card {
  height: 160px;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  cursor: pointer;
}

.logo-container {
  position: relative;
  height: 100%;
  background: white;
  border-radius: 16px;
  padding: 2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid #e9ecef;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  overflow: hidden;
}

.logo-container::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(142, 14, 0, 0.1), transparent);
  transition: left 0.6s;
}

.client-logo-card:hover .logo-container::before {
  left: 100%;
}

.client-logo {
  max-width: 100%;
  max-height: 80px;
  width: auto;
  height: auto;
  object-fit: contain;
  filter: grayscale(40%) opacity(0.8);
  transition: all 0.4s ease;
  z-index: 2;
  position: relative;
}

.client-logo-card:hover .client-logo {
  filter: grayscale(0%) opacity(1);
  transform: scale(1.05);
}

.client-logo-card:hover .logo-container {
  transform: translateY(-8px);
  box-shadow: 0 12px 40px rgba(142, 14, 0, 0.15);
  border-color: rgba(142, 14, 0, 0.2);
}

/* Trust Statement Section */
.trust-statement {
  margin-top: 3rem;
  padding: 3rem 2rem;
  background: white;
  border-radius: 20px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08);
  border: 1px solid #e9ecef;
}

.trust-stats {
  margin-bottom: 2rem;
}

.stat-item {
  text-align: center;
  min-width: 120px;
}

.stat-number {
  font-size: 2.5rem;
  font-weight: 800;
  margin-bottom: 0.5rem;
  background: linear-gradient(135deg, #8e0e00, #c4274c);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.stat-label {
  font-size: 0.9rem;
  font-weight: 600;
  color: #6c757d;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.stat-divider {
  width: 1px;
  height: 60px;
  background: linear-gradient(to bottom, transparent, #e9ecef, transparent);
}

.trust-message {
  font-size: 1rem;
  line-height: 1.6;
  font-style: italic;
}

/* Animation Classes */
.animate-on-scroll {
  opacity: 0;
  transition: all 0.6s ease-out;
}

.animate-on-scroll.animate {
  opacity: 1;
}

.fade-up {
  transform: translateY(30px);
}

.fade-up.animate {
  transform: translateY(0);
}

.scale-in {
  transform: scale(0.9);
}

.scale-in.animate {
  transform: scale(1);
}

/* Clean About Us Styles */
.about-hero-clean {
  background: linear-gradient( rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.4)), url('../img/practices/imgi_6_GP043.jpg');
  background-size: 100% auto;
  background-position: center top;
  background-repeat: no-repeat;
  min-height: 600px;
  padding: 100px 0;
  position: relative;
}

.hero-content-clean {
  text-align: center;
  position: relative;
  z-index: 2;
}

.hero-title-clean {
  font-size: 3.5rem;
  font-weight: 700;
  color: white;
  margin-bottom: 1rem;
  font-family: 'Playfair Display', serif;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.hero-subtitle-clean {
  font-size: 1.5rem;
  color: white;
  font-weight: 400;
  font-family: 'Inter', sans-serif;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

.stats-section-clean {
  background: white;
  padding: 80px 0;
}

.stat-card-clean {
  padding: 2rem;
  text-align: center;
}

.stat-number-clean {
  font-size: 4rem;
  font-weight: 800;
  color: var(--primary-red, #8e0e00);
  margin-bottom: 1rem;
  font-family: 'Playfair Display', serif;
}

.stat-label-clean {
  font-size: 1.25rem;
  font-weight: 600;
  color: #333;
  margin-bottom: 1rem;
  font-family: 'Inter', sans-serif;
}

.stat-description-clean {
  color: #666;
  font-size: 1rem;
  line-height: 1.6;
  font-family: 'Inter', sans-serif;
}

/* Clean clients section */
.clients-section {
  background: #f8f9fa;
  padding: 60px 0;
}

@media (max-width: 768px) {
  .hero-title-clean {
    font-size: 2.5rem;
  }
  
  .hero-subtitle-clean {
    font-size: 1.25rem;
  }
  
  .stat-number-clean {
    font-size: 3rem;
  }
  
  .about-hero-clean {
    min-height: 400px;
    padding: 80px 0;
  }
}

/* Our Leaders Page Styles */
.leaders-hero {
  background: linear-gradient(135deg, rgba(142, 14, 0, 0.85) 0%, rgba(26, 26, 26, 0.85) 100%), 
              url('../img/landing/Directors.jpg');
  background-size: cover;
  background-position: center;
  min-height: 60vh;
  position: relative;
}

/* Filter Section */
.filter-section {
  background: #f8f9fa;
  border-bottom: 1px solid #e9ecef;
}

.filter-buttons {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 1rem;
}

.filter-btn {
  background: transparent;
  border: 2px solid #8e0e00;
  color: #8e0e00;
  padding: 0.75rem 1.5rem;
  border-radius: 50px;
  font-weight: 600;
  font-family: 'Inter', sans-serif;
  transition: all 0.3s ease;
  cursor: pointer;
}

.filter-btn:hover,
.filter-btn.active {
  background: #8e0e00;
  color: white;
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(142, 14, 0, 0.3);
}

/* Team Cards */
.team-section {
  background: white;
  
}

.team-section .row {
  display: flex !important;
  flex-wrap: wrap !important;
}

.team-member {
  transition: all 0.3s ease;
  margin-bottom: 2rem;
  display: flex !important;
}

.team-card {
  background: white;
  border-radius: 0.75rem;
  overflow: hidden;
  box-shadow: 0 3px 15px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
  height: 160px;
  position: relative;
  width: 100%;
  max-width: 100%;
  margin: 0 auto;
  display: flex;
  align-items: stretch;
}

.team-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 36px 80px rgba(0,0,0,0.20) !important;
}

.team-card.featured {
  border: 2px solid #d4af37;
  position: relative;
}

.featured-badge {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: linear-gradient(135deg, #d4af37, #f4d03f);
  color: white;
  padding: 0.5rem 1rem;
  border-radius: 50px;
  font-size: 0.8rem;
  font-weight: 600;
  z-index: 10;
}

.team-image-wrapper {
  position: relative;
  overflow: hidden;
  height: 160px;
  width: 160px;
  flex-shrink: 0;
  border-radius: 0.75rem 0 0 0.75rem;
}

.team-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  transition: transform 0.3s ease;
}

.team-card:hover .team-image {
  transform: scale(1.05);
}

.team-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(142, 14, 0, 0.9), rgba(26, 26, 26, 0.9));
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: all 0.3s ease;
}

.team-card:hover .team-overlay {
  opacity: 1;
}

.quick-view-btn {
  background: white;
  color: #8e0e00;
  border: none;
  padding: 0.5rem 1rem;
  border-radius: 25px;
  font-weight: 600;
  font-family: 'Inter', sans-serif;
  cursor: pointer;
  transition: all 0.3s ease;
  transform: translateY(20px);
  font-size: 0.75rem;
}

.team-card:hover .quick-view-btn {
  transform: translateY(0);
}

.quick-view-btn:hover {
  background: #8e0e00;
  color: white;
}

.team-content {
  padding: 1.5rem;
  text-align: left;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  border-left: 1px solid #f0f0f0;
}

.team-name {
  font-size: 1.2rem;
  font-weight: 700;
  color: #333;
  margin-bottom: 0.3rem;
  font-family: 'Playfair Display', serif;
}

.team-position {
  color: #8e0e00;
  font-weight: 500;
  font-size: 0.9rem;
  margin-bottom: 0.75rem;
  font-family: 'Inter', sans-serif;
  font-style: italic;
}

.team-description {
  color: #666;
  font-size: 0.85rem;
  line-height: 1.4;
  margin-bottom: 1rem;
  font-family: 'Inter', sans-serif;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.read-more-btn {
  background: transparent;
  color: #8e0e00;
  border: 1px solid #8e0e00;
  padding: 0.4rem 1rem;
  border-radius: 3px;
  font-size: 0.75rem;
  font-weight: 600;
  font-family: 'Inter', sans-serif;
  cursor: pointer;
  transition: all 0.3s ease;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  align-self: flex-start;
}

.read-more-btn:hover {
  background: #8e0e00;
  color: white;
}

.team-experience {
  color: #666;
  font-style: italic;
  margin-bottom: 1rem;
  font-size: 0.9rem;
  font-family: 'Inter', sans-serif;
}

.team-description {
  color: #777;
  line-height: 1.5;
  margin-bottom: 1rem;
  font-size: 0.9rem;
  font-family: 'Inter', sans-serif;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.team-specialties {
  margin-bottom: 1rem;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.4rem;
}

.specialty-tag {
  background: #f8f9fa;
  color: #8e0e00;
  padding: 0.25rem 0.6rem;
  border-radius: 15px;
  font-size: 0.75rem;
  font-weight: 500;
  border: 1px solid #e9ecef;
  font-family: 'Inter', sans-serif;
}

.btn-primary-outline {
  background: transparent;
  color: #8e0e00;
  border: 2px solid #8e0e00;
  padding: 0.6rem 1.5rem;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 600;
  font-family: 'Inter', sans-serif;
  font-size: 0.9rem;
  transition: all 0.3s ease;
  display: inline-block;
}

.btn-primary-outline:hover {
  background: #8e0e00;
  color: white;
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(142, 14, 0, 0.3);
  text-decoration: none;
}

/* Animation for filtering */
.team-member.hide {
  opacity: 0;
  transform: scale(0.8);
  transition: all 0.3s ease;
  display: flex !important;
}

.team-member.show {
  opacity: 1;
  transform: scale(1);
  transition: all 0.3s ease;
  display: flex !important;
}

/* Force Bootstrap Grid Layout */
.team-section .container {
  width: 100% !important;
  max-width: 1200px !important;
}

.team-section .row {
  display: flex !important;
  flex-wrap: wrap !important;
  margin: 0 -15px !important;
}

.team-section .col-lg-6 {
  flex: 0 0 50% !important;
  max-width: 50% !important;
  padding: 0 15px !important;
  display: flex !important;
}

@media (max-width: 991.98px) {
  .team-section .col-lg-6 {
    flex: 0 0 100% !important;
    max-width: 100% !important;
  }
}

/* Modal Styles */
.modal-content {
  border-radius: 1.5rem;
  border: none;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2);
}

.modal-header {
  border-bottom: 1px solid #f0f0f0;
  padding: 2rem 2rem 1rem 2rem;
}

.modal-body {
  padding: 2rem;
}

/* Force black border on team cards to make blocks pop */
.team-section .card {
  border: 2px solid #000000 !important;
  /* keep existing rounding and layout */
  border-radius: 14px !important;
}

.team-section .card:hover {
  /* keep strong hover shadow but use subtle black-tinted outline */
  outline: 4px solid rgba(0,0,0,0.06) !important;
  box-shadow: 0 40px 90px rgba(0,0,0,0.22) !important;
}

/* Strong red border for team cards to make them visible */
.team-section .card {
  border: 2px solid var(--primary-red) !important; /* uses site variable */
  border-radius: 14px !important;
  background-color: #ffffff;
  box-shadow: 0 8px 24px rgba(0,0,0,0.06);
}

.team-section .card:hover {
  outline: 4px solid rgba(142,14,0,0.16) !important; /* subtle stronger red tint */
  box-shadow: 0 40px 90px rgba(0,0,0,0.24) !important;
  transform: translateY(-8px);
}

/* Strong pseudo-element stroke for team cards (guarantees visible frame) */
body .team-section .card {
  position: relative !important;
  z-index: 1;
}

body .team-section .card::after {
  content: '';
  position: absolute;
  inset: 0; /* top:0; right:0; bottom:0; left:0 */
  pointer-events: none;
  border: 3px solid var(--primary-red);
  border-radius: 14px;
  box-sizing: border-box;
  z-index: 2;
  opacity: 1;
  transition: opacity 180ms ease, transform 180ms ease;
}

body .team-section .card:hover::after {
  border-color: rgba(142,14,0,1);
  transform: translateY(-4px);
}

/* Ensure stats numbers are white in the banner/hero areas */
.stats-banner .stat-number,
.hero-stat-number {
  /* Force solid white regardless of any gradient/text-fill rules */
  color: #ffffff !important;
  text-shadow: none !important;
  background: none !important;
  background-image: none !important;
  background-clip: border-box !important;
  -webkit-background-clip: border-box !important;
  -webkit-text-fill-color: #ffffff !important;
  text-fill-color: #ffffff !important;
}


/* Hide footer logo across site (requested) */
.footer img[src*="GNP_Logo_small.png"], .gc-footer img {
  display: none !important;
}

/* Enhanced Mobile Responsiveness - Core Improvements */
@media (max-width: 768px) {
  /* Ensure full-width mobile layout */
  body {
    overflow-x: hidden;
  }
  
  /* Mobile-optimized hero section */
  .hero-section .container {
    padding-left: 1rem;
    padding-right: 1rem;
  }
  
  /* Improve mobile navigation */
  .navbar-brand .company-name {
    font-size: 0.8rem !important;
    line-height: 1.2;
    max-width: 150px;
  }
  
  /* Enhanced mobile navbar */
  .navbar {
    padding: 0.5rem 1rem;
    min-height: 70px;
  }
  
  .navbar-toggler {
    padding: 0.5rem;
    font-size: 1.2rem;
    border: 2px solid var(--primary-red);
    border-radius: 6px;
    background: transparent;
    transition: all 0.3s ease;
  }
  
  .navbar-toggler:focus {
    box-shadow: 0 0 0 3px rgba(178, 34, 34, 0.2);
    outline: none;
  }
  
  .navbar-toggler-icon {
    width: 24px;
    height: 24px;
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='%23B22222' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2.5' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
  }
  
  .navbar-collapse {
    background: white;
    margin-top: 1rem;
    padding: 1.5rem;
    border-radius: 12px;
    box-shadow: 0 8px 30px rgba(0,0,0,0.15);
    border: 1px solid rgba(178, 34, 34, 0.1);
  }
  
  .navbar-nav .nav-item {
    margin: 0.5rem 0;
  }
  
  .navbar-nav .nav-link {
    padding: 1rem 1.5rem;
    margin: 0;
    border-radius: 8px;
    transition: all 0.3s ease;
    color: var(--primary-blue) !important;
    font-weight: 500;
    font-size: 1rem;
    text-align: center;
    border: 1px solid transparent;
  }
  
  .navbar-nav .nav-link:hover,
  .navbar-nav .nav-link:focus,
  .navbar-nav .nav-link.active {
    background: linear-gradient(135deg, var(--primary-red), #a01e1e);
    color: white !important;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(178, 34, 34, 0.3);
    border-color: var(--primary-red);
  }
  
  .navbar-nav .nav-item.active .nav-link,
  .navbar-nav .nav-link.current {
    background: var(--primary-red) !important;
    color: white !important;
    font-weight: 600;
    border-color: var(--primary-red);
  }
  
  /* Mobile carousel fixes */
  .practice-carousel-wrapper {
    padding: 10px;
    overflow: hidden;
  }
  
  .practice-carousel .tunnel-left,
  .practice-carousel .tunnel-right {
    display: none; /* Remove tunnels on mobile */
  }
  
  /* Mobile stats improvements */
  .stats-section .container {
    padding: 0 1rem;
  }
  
  .stats-banner .col-lg-3 {
    margin-bottom: 1.5rem;
    padding: 0 0.5rem;
  }
  
  /* Mobile contact form */
  .contact-form.card {
    margin: 1rem 0;
    border-radius: 12px;
  }
  
  /* Mobile practice areas */
  .practice-item {
    margin-bottom: 1.5rem;
    min-height: auto;
  }
  
  /* Mobile team section */
  .team-section .card {
    margin-bottom: 2rem;
    max-width: 100%;
  }
  
  /* Mobile hero text improvements */
  .hero-section h1 {
    font-size: clamp(1.8rem, 6vw, 2.8rem) !important;
    line-height: 1.2;
    margin-bottom: 1rem;
  }
  
  .hero-section .lead {
    font-size: clamp(1rem, 3vw, 1.3rem) !important;
    line-height: 1.5;
    margin-bottom: 2rem;
  }
  
  /* Mobile button improvements */
  .btn-lg {
    padding: 1rem 2rem;
    font-size: 1.1rem;
    border-radius: 8px;
    min-height: 50px;
  }
}

/* If you want the <img> tag removed from all HTML files instead of hiding via CSS, tell me and I will edit them. */

