/* TheLawyer-inspired custom styles for homepage (blue/white palette) */

/* Base */
body { color: #0e1a2b; }

/* Accent color: deep blue */
:root {
  --accent: #1f3c88;
  --accent-600: #22408f;
  --accent-700: #1b3372;
  --muted: #6b7280;
  --border: #e5e7eb;
}

a { color: var(--accent); }
a:hover { color: var(--accent-700); text-decoration: none; }

.section-padding { padding: 80px 0; }
.section-title-center { text-align: center; margin-bottom: 40px; }
.section-title-center h2 { font-weight: 700; font-size: 34px; margin: 0; }
.subheading { color: #b08d57; text-transform: uppercase; letter-spacing: 2px; font-weight: 600; font-size: 12px; }

/* Hero */
.hero-area { position: relative; display: flex; align-items: center; min-height: 55vh; background-size: cover; background-position: center; }
.hero-overlay { position: absolute; inset: 0; background: rgba(15, 35, 84, 0.55); }
.hero-content { position: relative; z-index: 2; color: #fff; max-width: 720px; padding: 40px 0; }
.hero-content .kicker { color: #e5edff; opacity: 0.95; font-weight: 600; letter-spacing: 2px; text-transform: uppercase; }
.hero-content h1 { font-size: 42px; line-height: 1.15; font-weight: 800; margin: 8px 0 16px; }
.hero-content p { max-width: 680px; font-size: 16px; opacity: 0.95; color: #fff; }
.btn-outline-light { border: 2px solid #fff; color: #fff; padding: 12px 26px; border-radius: 4px; display: inline-block; }
.btn-outline-light:hover { background: #fff; color: #111; }

/* Practice areas */
.practice-wrap { background: #f8fafc; }
.practice-card { background: #fff; border: 1px solid var(--border); border-radius: 8px; padding: 28px 22px; transition: all .2s ease; height: 100%; }
.practice-card .icon { font-size: 28px; color: var(--accent); margin-bottom: 12px; }
.practice-card h5 { font-weight: 700; margin: 8px 0 10px; color: #0b1730; }
.practice-card p { color: var(--muted); font-size: 14px; }
.practice-card:hover { transform: translateY(-4px); box-shadow: 0 12px 24px rgba(0,0,0,0.08); border-color: #c7d2fe; }
.practice-card:hover .icon { color: var(--accent-600); }

/* About */
.about-wrap .about-text h3 { font-weight: 700; margin-bottom: 14px; color: #0b1730; }
.about-wrap .about-text p { color: #3f495e; }
/* About checklist */
.about-wrap .list-check { margin: 15px 0 0; padding: 0; list-style: none; }
.about-wrap .list-check li { margin: 8px 0; padding-left: 26px; position: relative; }
.about-wrap .list-check li:before { content: '\2713'; position: absolute; left: 0; top: 0; color: #1f3c88; font-weight: 700; }

/* CTA */
.cta-wrap { background: var(--accent); color: #fff; position: relative; }
.cta-wrap .cta-inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.cta-wrap h3 { margin: 0; font-weight: 700; }
.btn-accent { background: #ffffff; color: #0b1730; padding: 12px 24px; border-radius: 4px; display: inline-block; }
.btn-accent:hover { background: #e5e7eb; color: #0b1730; }

/* Team */
.team-wrap { background: #ffffff; }
/* Modern team grid */
.team-grid { display: flex; flex-wrap: wrap; }
.team-card { background: #fff; border: 1px solid var(--border); border-radius: 12px; overflow: hidden; transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease; height: 100%; }
.team-card:hover { transform: translateY(-6px); box-shadow: 0 16px 32px rgba(0,0,0,0.08); border-color: #c7d2fe; }
.team-photo { position: relative; display: block; overflow: hidden; }
.team-photo img { width: 100%; height: 280px; object-fit: cover; display: block; transition: transform .35s ease; }
.team-card:hover .team-photo img { transform: scale(1.06); }
.team-photo .overlay { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,0) 0%, rgba(15,35,84,0.65) 100%); opacity: 0; transition: opacity .25s ease; display: flex; align-items: flex-end; justify-content: center; padding: 16px; }
.team-card:hover .team-photo .overlay { opacity: 1; }
.overlay-content { color: #e5edff; font-weight: 600; letter-spacing: .5px; }
.team-info { padding: 16px; text-align: center; }
.team-name { font-weight: 700; color: #0b1730; margin: 0 0 6px; font-size: 16px; }
.team-link { color: var(--accent); font-weight: 600; font-size: 13px; }
.team-link:hover { color: var(--accent-700); text-decoration: none; }

/* Blog */
.blog-wrap { background: #f8fafc; }
.blog-wrap.section-padding { padding-top: 30px; }
.blog-wrap .post { background: #fff; border: 1px solid var(--border); border-radius: 12px; height: 100%; transition: box-shadow .2s ease, transform .2s ease, border-color .2s ease; overflow: hidden; }
.blog-wrap .post:hover { box-shadow: 0 12px 24px rgba(0,0,0,0.08); transform: translateY(-4px); }
.blog-wrap .post:hover { border-color: #c7d2fe; }
.blog-wrap .post .thumb { position: relative; overflow: hidden; }
.blog-wrap .post .thumb:before { content: ""; display: block; padding-top: 60%; }
.blog-wrap .post .thumb img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .35s ease; }
.blog-wrap .post:hover .thumb img { transform: scale(1.06); }
.blog-wrap .post .content { padding: 16px; }
.blog-wrap .post .content h5 { margin: 6px 0 0; font-weight: 700; color: #0b1730; font-size: 15px; line-height: 1.35; }
.meta { color: #64748b; font-size: 12px; }
.post-link { display: block; color: inherit; text-decoration: none; }
.post-link:hover .read-more { color: var(--accent); }
.read-more { display: inline-block; margin-top: 10px; font-weight: 600; color: #1f3c88; font-size: 13px; }

/* Testimonials */
.testimonials-wrap { background: #f8f9fb; }
.testimonial-card { background:#fff; border:1px solid var(--border); border-radius:8px; padding:20px; height:100%; box-shadow:0 2px 6px rgba(0,0,0,.04); }
.testimonial-card p { font-style: italic; color:#333; }
.testimonial-card .clientinfo { margin-top: 10px; color:#555; font-weight:600; }

/* Footer improvements */
.site-footer { background: #0b1730; color: #e5edff; }
.site-footer a { color: #c7d2fe; }
.site-footer a:hover { color: #ffffff; }
.footer-top-area { padding: 50px 0; border-bottom: 1px solid rgba(255,255,255,0.08); }
.footer-lwf-title { color: #ffffff; }
.footer-contact li, .open-hours li, .open-hours p { color: #e5edff; }
.footer-bottom-area { background: #0a1530; color: #cbd5e1; padding: 16px 0; }
.footer-bottom-area a { color: #c7d2fe; }
/* Footer extras */
.footer-lwf .list-inline { margin-top: 12px; }
.footer-lwf .list-inline>li { display: inline-block; margin-right: 10px; }
.footer-lwf .list-inline>li a { display: inline-flex; width: 36px; height: 36px; align-items: center; justify-content: center; border: 1px solid rgba(255,255,255,0.25); border-radius: 50%; color: #e5edff; }
.footer-lwf .list-inline>li a:hover { background: rgba(255,255,255,0.15); }
.footer-desc { color: #b6c2e1; margin: 6px 0 12px; font-size: 13px; line-height: 1.6; }
.newsletter-form .form-control { background: #0f1d3a; border: 1px solid rgba(255,255,255,0.1); color: #e5edff; height: 40px; }
.newsletter-form .form-control::placeholder { color: #9db0d9; }
.newsletter-form .btn { background: #1f3c88; border-color: #1f3c88; }
.newsletter-form .btn:hover { background: #22408f; border-color: #22408f; }

/* Footer offices */
.footer-offices .office { padding: 10px 0 12px; border-bottom: 1px dashed rgba(255,255,255,0.12); }
.footer-offices .office:last-child { border-bottom: 0; }
.footer-offices .office-title { color: #ffffff; font-size: 14px; margin: 0 0 6px; font-weight: 700; }
.footer-offices .office-title .fa { color: #9db0d9; margin-right: 6px; }
.footer-offices .office-address { color: #b6c2e1; margin: 0 0 6px; line-height: 1.5; }
.footer-offices .office-contacts { color: #cbd5e1; margin: 0; }
.footer-offices .office-contacts a { color: #c7d2fe; }
.footer-offices .office-more p { margin: 8px 0 0; color: #cbd5e1; }
.footer-offices .office-more .fa { color: #9db0d9; margin-right: 6px; }

/* Compact footer variant */
.footer-compact .footer-top-area { padding: 20px 0; }
.footer-compact .footer-lwf { padding: 10px 0; }
.footer-compact .footer-lwf h3.footer-logo { margin-bottom: 10px; }
.footer-compact .footer-lwf h3,
.footer-compact .footer-lwf-title { font-size: 16px; margin-bottom: 12px; }
.footer-compact .footer-lwf p { font-size: 13px; line-height: 20px; margin-bottom: 8px; }
.footer-compact .footer-menu ul li { padding-bottom: 6px; }
.footer-compact .open-hours li { padding: 6px 0; }
.footer-compact .list-inline>li a { width: 30px; height: 30px; }
.footer-compact .list-inline>li a i { font-size: 13px; }
.footer-compact .newsletter-form .form-control { height: 34px; font-size: 13px; }
.footer-compact .newsletter-form .btn { padding: 8px 12px; font-size: 13px; }
.footer-compact.footer-bottom-area,
.footer-compact .footer-bottom-area { padding: 10px 0; font-size: 12px; }

@media (max-width: 767px) {
  .footer-compact .footer-top-area { padding: 16px 0; }
  .footer-compact .footer-lwf { padding: 8px 0; }
}

/* Modern footer variant */
.footer-modern { 
  background: linear-gradient(135deg, #0b1730 0%, #1f3c88 50%, #0a152b 100%); 
  position: relative;
  overflow: hidden;
}
.footer-modern::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, #1f3c88, transparent);
}
.footer-modern .footer-top-area { 
  border-bottom: 1px solid rgba(255,255,255,0.1); 
  padding: 60px 0;
  position: relative;
}
.footer-modern .footer-lwf h3,
.footer-modern .footer-lwf-title { 
  letter-spacing: .5px; 
  text-transform: none; 
  font-weight: 700; 
  color: #ffffff;
  margin-bottom: 20px;
  position: relative;
  padding-bottom: 10px;
}
.footer-modern .footer-lwf-title::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 40px;
  height: 2px;
  background: #1f3c88;
}
.footer-modern .footer-lwf p { 
  color: #c7d2fe; 
  line-height: 1.6;
  margin-bottom: 15px;
}
.footer-modern .footer-menu ul li a { 
  color: #c7d2fe; 
  transition: all 0.3s ease;
  padding: 5px 0;
  display: inline-block;
}
.footer-modern .footer-menu ul li a:hover { 
  color: #ffffff; 
  padding-left: 5px;
  text-decoration: none;
}
.footer-modern .list-inline>li a { 
  border-color: rgba(255,255,255,0.2); 
  background: transparent; 
  transition: all 0.3s ease;
  width: 40px;
  height: 40px;
}
.footer-modern .list-inline>li a:hover { 
  border-color: #1f3c88; 
  background: #1f3c88; 
  color: #ffffff;
  transform: translateY(-3px);
  box-shadow: 0 8px 15px rgba(31,60,136,0.3);
}
.footer-modern .newsletter-form .form-control { 
  background: rgba(255,255,255,0.1); 
  border-color: rgba(255,255,255,0.15); 
  border-radius: 25px;
}
.footer-modern .newsletter-form .btn { 
  background: #1f3c88; 
  border: none; 
  box-shadow: 0 6px 16px rgba(31,60,136,0.35);
  border-radius: 25px;
}
.footer-modern .newsletter-form .btn:hover { 
  background: #22408f; 
  box-shadow: 0 8px 20px rgba(31,60,136,0.45); 
  transform: translateY(-2px);
}
.footer-modern .footer-bottom-area { 
  background: rgba(10,21,48,0.95); 
  color: #a9b6d3; 
  padding: 20px 0;
}
.footer-modern .footer-bottom-area a { 
  color: #c7d2fe; 
  transition: color 0.3s ease;
}
.footer-modern .footer-bottom-area a:hover { 
  color: #ffffff; 
  text-decoration: none;
}

/* Iconized quick links */
.footer-links-icons { list-style: none; padding: 0; margin: 0; }
.footer-links-icons li { padding: 6px 0; }
.footer-links-icons li a { color: #c7d2fe; display: inline-flex; align-items: center; gap: 8px; }
.footer-links-icons li a .fa { width: 16px; text-align: center; color: #9db0d9; }
.footer-links-icons li a:hover { color: #ffffff; }
.footer-links-grid { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 6px 14px; }

/* Talk to us block */
.footer-talk .talk-line { margin: 6px 0; color: #cbd5e1; }
.footer-talk .talk-line i { color: #9db0d9; width: 16px; text-align: center; margin-right: 6px; }
.footer-talk .social-inline { margin-top: 10px; }

/* Locations block */
.footer-locations .location { padding: 8px 0 10px; border-bottom: 1px dashed rgba(255,255,255,0.12); }
.footer-locations .location:last-child { border-bottom: 0; }
.footer-locations .location-title { color: #ffffff; font-size: 13px; font-weight: 700; margin: 0 0 4px; }
.footer-locations .location-line { color: #b6c2e1; margin: 0; }
.footer-locations .location-line .fa { color: #9db0d9; width: 16px; text-align: center; }

/* Mini bottom links */
.footer-mini-links { list-style: none; padding: 0; margin: 0; display: inline-flex; gap: 14px; }
.footer-mini-links li { display: inline-block; }
.footer-mini-links a { color: #c7d2fe; }
.footer-mini-links a:hover { color: #ffffff; }

/* Modern open hours */
.open-hours-modern { list-style: none; padding: 0; margin: 0; }
.open-hours-modern .oh-item { display: flex; align-items: center; justify-content: space-between; padding: 6px 0; border-bottom: 1px dashed rgba(255,255,255,0.08); }
.open-hours-modern .oh-item:last-child { border-bottom: 0; }
.open-hours-modern .oh-label { color: #cbd5e1; display: inline-flex; align-items: center; gap: 6px; }
.open-hours-modern .oh-time { color: #e5edff; font-weight: 600; }

/* Subtle separators for columns */
@media (min-width: 992px) {
  .footer-modern .footer-top-area .col-md-3:not(:last-child) { border-right: 1px solid rgba(255,255,255,0.06); }
}

/* Section title color updates */
.about-wrap .about-text h3 { color: #1f3c88; }
.section-title-center .subheading { color: #1f3c88; }
/* About page refinements */
.page-hero { background: #0b1730; color: #e5edff; padding: 40px 0; margin-bottom: 0; }
.page-hero .page-heading { color: #ffffff; margin: 0; }
.page-hero .breadCrumb a { color: #c7d2fe; }
.about-wrap .about-desc h3 { font-weight: 700; color: #0b1730; }
.about-wrap .about-desc p { color: #3f495e; }
/* About cards and CTA */
.about-cards { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 16px; margin-top: 20px; }
.about-card { background:#fff; border:1px solid var(--border); border-radius:12px; padding:18px; box-shadow:0 8px 20px rgba(0,0,0,.05); }
.about-card h4 { margin:0 0 8px; font-weight:700; color:#0b1730; }
.about-cta { background:#1f3c88; color:#fff; border-radius:12px; padding:24px; text-align:center; margin:30px 0 0; }
.about-cta .btn-accent { background:#fff; color:#0b1730; }

@media (max-width: 991px) {
  .about-cards { grid-template-columns: 1fr; }
}

/* Learn About Us button styling within About section */
.about-wrap .btn-accent { background: #1f3c88; color: #fff; }
.about-wrap .btn-accent:hover { background: #22408f; color: #fff; }

/* Make CTA content narrower */
.cta-wrap .cta-inner { max-width: 820px; margin: 0 auto; }

/* Header overrides to ensure visibility with Colorlib CSS */
.custom-navbar { position: sticky; top: 0; width: 100%; background: #ffffff; z-index: 1000; border-bottom: 1px solid #e5e7eb; transition: all .2s ease; }
.custom-navbar.scrolled { box-shadow: 0 8px 20px rgba(0,0,0,0.06); border-bottom-color: transparent; }
.custom-navbar .navbar-brand { padding: 10px 0; }
.custom-navbar .navbar-brand img { height: 48px; width: auto; transition: transform .2s ease; }
.custom-navbar.scrolled .navbar-brand img { transform: scale(0.96); }
.custom-navbar .navbar-nav { float: right; margin: 0; }
.custom-navbar .navbar-nav>li { float: left; }
.custom-navbar .navbar-nav>li>a { color: #0e1a2b; font-weight: 500; padding: 20px 14px; position: relative; }
.custom-navbar .navbar-nav>li>a:hover { color: var(--accent); background: transparent; }
/* modern underline on hover/active */
.custom-navbar .navbar-nav>li>a:after { content: ""; position: absolute; left: 14px; right: 14px; bottom: 12px; height: 2px; background: var(--accent); transform: scaleX(0); transform-origin: center; transition: transform .2s ease; }
.custom-navbar .navbar-nav>li>a:hover:after { transform: scaleX(1); }
.custom-navbar .navbar-nav>li.active>a, .custom-navbar .navbar-nav>li.active>a:focus, .custom-navbar .navbar-nav>li.active>a:hover { color: var(--accent); background: transparent; }
.custom-navbar .navbar-nav>li.active>a:after { transform: scaleX(1); }
.navbar-toggle { border: 1px solid #e5e7eb; margin-top: 10px; }
.navbar-toggle .icon-bar { background: #0e1a2b; }

/* Mobile dropdown look */
@media (max-width: 991px) {
  .custom-navbar { box-shadow: 0 6px 18px rgba(0,0,0,0.06); }
  .custom-navbar .navbar-collapse { border: 1px solid #e5e7eb; border-radius: 8px; margin-top: 10px; padding: 6px 0; box-shadow: 0 10px 24px rgba(0,0,0,0.08); }
  .custom-navbar .navbar-nav>li>a { padding: 12px 16px; }
  .custom-navbar .navbar-nav>li>a:after { bottom: 6px; left: 16px; right: 16px; }
}

/* Utilities */
.mb-30 { margin-bottom: 30px; }
.mt-10 { margin-top: 10px; }
.mt-20 { margin-top: 20px; }

/* Global responsive adjustments */
img { max-width: 100%; height: auto; display: block; }

/* Clients carousel spacing */
.owl-clients .item { display: flex; align-items: center; justify-content: center; padding: 10px 0; }
.owl-clients .item img { filter: grayscale(0); opacity: .95; transition: transform .2s ease, opacity .2s ease; }
.owl-clients .item img:hover { transform: scale(1.05); opacity: 1; }

@media (max-width: 1199px) {
  .hero-content h1 { font-size: 38px; }
}

@media (max-width: 991px) {
  .hero-area { min-height: 45vh; }
  .hero-content { max-width: 100%; text-align: center; }
  .hero-content p { margin-left: auto; margin-right: auto; }

  /* Navbar collapse appearance */
  .custom-navbar { position: sticky; }
  .custom-navbar .navbar-collapse { background: #ffffff; border-top: 1px solid #e5e7eb; }
  .custom-navbar .navbar-nav { float: none; width: 100%; }
  .custom-navbar .navbar-nav>li { float: none; border-bottom: 1px solid #f1f5f9; }
  .custom-navbar .navbar-nav>li>a { display: block; padding: 14px 16px; }

  /* CTA layout */
  .cta-wrap .cta-inner { flex-direction: column; text-align: center; }
}

@media (max-width: 767px) {
  .section-padding { padding: 50px 0; }
  .hero-content h1 { font-size: 32px; }
  .btn-accent, .btn-outline-light { width: 100%; text-align: center; }

  /* Cards spacing */
  .practice-card, .blog-wrap .post, .team-card { margin-bottom: 16px; }

  /* Footer stacking */
  .footer-top-area .col-xs-12, .footer-top-area .col-sm-6, .footer-top-area .col-md-3, .footer-top-area .col-md-6 { text-align: center; }
  .footer-contact li span.text-right { display: inline; float: none; }
}

/* New Footer Elements Styling */
.footer-awards {
  margin: 25px 0;
}
.footer-awards-title {
  color: #ffffff;
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 15px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.footer-awards-title i {
  color: #1f3c88;
}
.awards-list {
  font-size: 12px;
  line-height: 1.5;
}
.award-item {
  color: #b6c2e1;
  margin-bottom: 5px;
  padding-left: 8px;
  position: relative;
}
.award-item::before {
  content: "";
  position: absolute;
  left: 0;
  top: 8px;
  width: 3px;
  height: 3px;
  background: #1f3c88;
  border-radius: 50%;
}

.footer-social {
  margin-top: 25px;
}
.footer-social-title {
  color: #ffffff;
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 15px;
}
.footer-social .social-inline {
  margin: 0;
}
.footer-social .social-inline li {
  margin-right: 8px;
}

.footer-offices .office {
  margin-bottom: 25px;
  padding: 20px 0;
  border-bottom: 1px dashed rgba(255,255,255,0.1);
}
.footer-offices .office:last-child {
  border-bottom: none;
}
.office-title {
  color: #ffffff;
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.office-title i {
  color: #1f3c88;
}
.office-address {
  color: #c7d2fe;
  line-height: 1.6;
  font-size: 13px;
  margin-bottom: 10px;
}
.office-contacts p {
  color: #b6c2e1;
  margin: 5px 0;
  font-size: 13px;
}
.office-contacts a {
  color: #c7d2fe;
  transition: color 0.3s ease;
}
.office-contacts a:hover {
  color: #ffffff;
  text-decoration: none;
}
.office-contacts i {
  color: #1f3c88;
  width: 16px;
  margin-right: 6px;
}

.footer-links-wrapper {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 20px;
}
.footer-links-icons {
  list-style: none;
  padding: 0;
  margin: 0;
}
.footer-links-icons li {
  padding: 3px 0;
}
.footer-links-icons li a {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
}
.footer-links-icons li a i {
  width: 16px;
  text-align: center;
  color: #1f3c88;
  font-size: 12px;
}

.footer-contact-hours .contact-section,
.footer-contact-hours .hours-section {
  margin-bottom: 25px;
}
.contact-title,
.hours-title {
  color: #ffffff;
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 12px;
}
.contact-item {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 8px;
  font-size: 13px;
}
.contact-item i {
  color: #1f3c88;
  width: 16px;
  text-align: center;
}
.contact-item a {
  color: #c7d2fe;
  transition: color 0.3s ease;
}
.contact-item a:hover {
  color: #ffffff;
  text-decoration: none;
}

.emergency-contact {
  margin-top: 25px;
  padding: 15px;
  background: rgba(255,255,255,0.05);
  border-radius: 8px;
  border-left: 4px solid #1f3c88;
}
.emergency-contact p {
  margin: 5px 0;
  font-size: 13px;
  color: #c7d2fe;
}
.emergency-contact i {
  color: #1f3c88;
  margin-right: 6px;
}
.emergency-contact a {
  color: #ffffff;
  font-weight: 600;
}

@media (max-width: 991px) {
  .footer-modern .footer-top-area {
    padding: 40px 0;
  }
  .footer-offices .office {
    margin-bottom: 20px;
  }
  .footer-links-wrapper {
    grid-template-columns: 1fr;
    gap: 10px 0;
  }
}

@media (max-width: 767px) {
  .footer-modern .footer-top-area {
    padding: 30px 0;
  }
  .footer-modern .footer-top-area .col-md-3 {
    margin-bottom: 30px;
  }
  .footer-awards,
  .footer-social {
    margin: 20px 0;
  }
  .footer-offices .office {
    padding: 15px 0;
  }
}

/* Modern Page Elements Styling */

/* Page Hero Common Styling */
.hero-subtitle {
  color: #e5edff;
  font-size: 16px;
  line-height: 1.6;
  margin-top: 10px;
  opacity: 0.95;
}
.section-desc {
  color: #6b7280;
  font-size: 16px;
  line-height: 1.6;
  max-width: 800px;
  margin: 15px auto 0;
}
.mb-40 {
  margin-bottom: 40px;
}
.mb-50 {
  margin-bottom: 50px;
}

/* Enhanced Clients Page Styling */
.clients-enhanced-section {
  background: linear-gradient(135deg, #f8fafc 0%, #ffffff 50%, #f1f5f9 100%);
  position: relative;
  overflow: hidden;
  padding: 60px 0 80px;
  min-height: 100vh;
}

.clients-bg-pattern {
  position: absolute;
  inset: 0;
  background-image: 
    radial-gradient(circle at 25% 25%, rgba(31,60,136,0.03) 1px, transparent 1px),
    radial-gradient(circle at 75% 75%, rgba(31,60,136,0.02) 1px, transparent 1px);
  background-size: 60px 60px, 80px 80px;
}

.floating-elements {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.float-shape {
  position: absolute;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(31,60,136,0.05), rgba(251,191,36,0.03));
  animation: float 8s ease-in-out infinite;
}

.float-shape.float-1 {
  width: 120px;
  height: 120px;
  top: 15%;
  right: 10%;
  animation-delay: -2s;
}

.float-shape.float-2 {
  width: 80px;
  height: 80px;
  bottom: 20%;
  left: 5%;
  animation-delay: -4s;
}

.float-shape.float-3 {
  width: 100px;
  height: 100px;
  top: 60%;
  right: 70%;
  animation-delay: -1s;
}

/* Modern Breadcrumb */
.breadcrumb-modern {
  margin-bottom: 40px;
}

.breadcrumb-container {
  background: rgba(255,255,255,0.8);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(31,60,136,0.1);
  border-radius: 50px;
  padding: 12px 25px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.05);
}

.breadcrumb-container a {
  color: #1f3c88;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s ease;
}

.breadcrumb-container a:hover {
  color: #22408f;
}

.breadcrumb-container i {
  opacity: 0.6;
}

.breadcrumb-container span {
  color: #0b1730;
  font-weight: 600;
}

/* Enhanced Header */
.clients-header {
  margin-bottom: 80px;
  position: relative;
  z-index: 2;
}

.title-badge {
  background: linear-gradient(135deg, #1f3c88, #22408f);
  color: #ffffff;
  padding: 8px 20px;
  border-radius: 25px;
  font-size: 14px;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 20px;
  box-shadow: 0 4px 12px rgba(31,60,136,0.25);
}

.main-title {
  font-size: 48px;
  font-weight: 800;
  color: #0b1730;
  margin: 0 0 20px;
  line-height: 1.2;
}

.header-description {
  font-size: 18px;
  color: #6b7280;
  line-height: 1.7;
  margin: 0;
}

.clients-stats {
  display: flex;
  justify-content: center;
  align-items: center;
}

.stat-circle {
  width: 150px;
  height: 150px;
  background: linear-gradient(135deg, #1f3c88, #22408f);
  border-radius: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  box-shadow: 0 8px 24px rgba(31,60,136,0.3);
  position: relative;
  overflow: hidden;
}

.stat-circle::before {
  content: '';
  position: absolute;
  inset: -2px;
  background: linear-gradient(135deg, #fbbf24, #f59e0b, #1f3c88);
  border-radius: 50%;
  z-index: -1;
  animation: rotate 3s linear infinite;
}

.stat-number {
  font-size: 32px;
  font-weight: 800;
  margin-bottom: 5px;
}

.stat-label {
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  text-align: center;
}

/* Enhanced Categories */
.client-categories-enhanced {
  margin: 60px 0;
  position: relative;
  z-index: 2;
}

.section-divider {
  width: 100px;
  height: 4px;
  background: linear-gradient(135deg, #1f3c88, #fbbf24);
  border-radius: 2px;
  margin: 0 auto 60px;
}

.enhanced-category-card {
  background: #ffffff;
  border-radius: 20px;
  padding: 40px 30px;
  text-align: center;
  height: 100%;
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(31,60,136,0.1);
  transition: all 0.4s ease;
  box-shadow: 0 8px 24px rgba(0,0,0,0.06);
}

.enhanced-category-card:hover {
  transform: translateY(-12px) scale(1.02);
  box-shadow: 0 20px 40px rgba(0,0,0,0.12);
  border-color: rgba(31,60,136,0.2);
}

.card-glow {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(31,60,136,0.02), rgba(251,191,36,0.02));
  opacity: 0;
  transition: opacity 0.4s ease;
}

.enhanced-category-card:hover .card-glow {
  opacity: 1;
}

.category-icon-wrapper {
  margin-bottom: 25px;
}

.category-icon {
  width: 80px;
  height: 80px;
  background: linear-gradient(135deg, #1f3c88, #22408f);
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto;
  color: #ffffff;
  font-size: 32px;
  box-shadow: 0 8px 16px rgba(31,60,136,0.25);
  transition: all 0.4s ease;
}

.enhanced-category-card:hover .category-icon {
  transform: rotateY(360deg) scale(1.1);
  box-shadow: 0 12px 24px rgba(31,60,136,0.35);
}

.category-content h4 {
  font-size: 22px;
  font-weight: 700;
  color: #0b1730;
  margin: 0 0 15px;
}

.category-content p {
  color: #6b7280;
  font-size: 15px;
  line-height: 1.6;
  margin: 0 0 20px;
}

.stat-badge {
  background: rgba(31,60,136,0.1);
  color: #1f3c88;
  padding: 6px 16px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* Enhanced Client Showcase */
.clients-showcase {
  margin: 80px 0;
  position: relative;
  z-index: 2;
}

.showcase-header {
  text-align: center;
  margin-bottom: 60px;
}

.showcase-title {
  font-size: 36px;
  font-weight: 800;
  color: #0b1730;
  margin: 0 0 15px;
}

.showcase-subtitle {
  font-size: 16px;
  color: #6b7280;
  margin: 0;
}

.logos-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 30px;
  max-width: 1000px;
  margin: 0 auto;
}

.logo-item {
  display: flex;
  align-items: center;
  justify-content: center;
}

.logo-card {
  background: #ffffff;
  border-radius: 16px;
  padding: 30px;
  width: 100%;
  height: 120px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(31,60,136,0.08);
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px rgba(0,0,0,0.04);
}

.logo-card:hover {
  transform: translateY(-8px) scale(1.05);
  box-shadow: 0 12px 32px rgba(0,0,0,0.1);
  border-color: rgba(31,60,136,0.15);
}

.logo-image img {
  max-width: 100%;
  max-height: 60px;
  width: auto;
  height: auto;
  object-fit: contain;
  transition: all 0.3s ease;
  filter: grayscale(1) opacity(0.7);
}

.logo-card:hover .logo-image img {
  filter: grayscale(0) opacity(1);
  transform: scale(1.1);
}

.client-testimonials {
  margin: 80px 0 60px;
  background: #f8fafc;
  padding: 60px 0;
  border-radius: 16px;
}
.testimonial-rating {
  margin-top: 15px;
  color: #fbbf24;
  font-size: 14px;
}
.testimonial-author h5 {
  color: #0b1730;
  font-weight: 600;
  margin: 0 0 5px;
  font-size: 16px;
}
.testimonial-author span {
  color: #6b7280;
  font-size: 13px;
}

.clients-cta {
  background: linear-gradient(135deg, #1f3c88, #22408f);
  color: #ffffff;
  padding: 50px 40px;
  border-radius: 16px;
  text-align: center;
  margin-top: 60px;
}
.clients-cta .cta-inner h3 {
  color: #ffffff;
  margin: 0 0 15px;
  font-weight: 700;
  font-size: 28px;
}
.clients-cta .cta-inner p {
  color: #e5edff;
  margin: 0 0 25px;
  font-size: 16px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

/* Enhanced Team Page Styling */

/* Team Hero Enhanced */
.team-hero-enhanced {
  background: linear-gradient(135deg, #0b1730 0%, #1f3c88 50%, #22408f 100%);
  position: relative;
  overflow: hidden;
  min-height: 70vh;
  display: flex;
  align-items: center;
}

.hero-bg-pattern {
  position: absolute;
  inset: 0;
  background-image: 
    radial-gradient(circle at 20% 50%, rgba(255,255,255,0.05) 1px, transparent 1px),
    radial-gradient(circle at 80% 20%, rgba(255,255,255,0.03) 1px, transparent 1px);
  background-size: 100px 100px, 120px 120px;
}

.hero-floating-elements {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.floating-shape {
  position: absolute;
  border-radius: 50%;
  background: rgba(255,255,255,0.05);
  animation: float 6s ease-in-out infinite;
}

.floating-shape.shape-1 {
  width: 100px;
  height: 100px;
  top: 20%;
  left: 10%;
  animation-delay: -2s;
}

.floating-shape.shape-2 {
  width: 60px;
  height: 60px;
  top: 60%;
  right: 15%;
  animation-delay: -4s;
}

.floating-shape.shape-3 {
  width: 80px;
  height: 80px;
  bottom: 20%;
  left: 70%;
  animation-delay: -1s;
}

@keyframes float {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  33% { transform: translateY(-20px) rotate(120deg); }
  66% { transform: translateY(10px) rotate(240deg); }
}

.hero-content-enhanced {
  position: relative;
  z-index: 2;
}

.hero-badge {
  background: rgba(255,255,255,0.15);
  color: #ffffff;
  padding: 8px 20px;
  border-radius: 25px;
  font-size: 14px;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 20px;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,0.2);
}

.page-heading-enhanced {
  color: #ffffff;
  font-weight: 800;
  font-size: 48px;
  line-height: 1.2;
  margin: 0 0 20px;
}

.gradient-text {
  background: linear-gradient(135deg, #fbbf24, #f59e0b);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-subtitle-enhanced {
  color: #e5edff;
  font-size: 18px;
  line-height: 1.7;
  margin: 0 0 30px;
  opacity: 0.9;
}

.hero-stats {
  display: flex;
  gap: 40px;
  margin-top: 30px;
}

.stat-item {
  text-align: center;
}

.stat-item .stat-number {
  display: block;
  font-size: 32px;
  font-weight: 800;
  color: #fbbf24;
  margin-bottom: 5px;
}

.stat-item .stat-label {
  color: #c7d2fe;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  font-weight: 600;
}

.hero-visual {
  position: relative;
  z-index: 2;
}

.breadCrumb-modern {
  background: rgba(255,255,255,0.1);
  padding: 15px 20px;
  border-radius: 12px;
  margin-bottom: 30px;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,0.15);
}

.breadCrumb-modern a {
  color: #c7d2fe;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s ease;
}

.breadCrumb-modern a:hover {
  color: #ffffff;
}

.breadCrumb-modern i {
  margin: 0 10px;
  opacity: 0.6;
}

.breadCrumb-modern span {
  color: #fbbf24;
  font-weight: 600;
}

.hero-illustration {
  position: relative;
  text-align: center;
  padding: 40px;
}

.justice-scale {
  font-size: 80px;
  color: rgba(255,255,255,0.1);
  margin-bottom: 30px;
  animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.05); }
}

.team-icons {
  display: flex;
  justify-content: center;
  gap: 20px;
}

.team-icon {
  width: 60px;
  height: 60px;
  background: rgba(255,255,255,0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  color: #fbbf24;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,0.2);
  animation: bounce 2s ease-in-out infinite;
}

.team-icon:nth-child(2) {
  animation-delay: -0.5s;
}

.team-icon:nth-child(3) {
  animation-delay: -1s;
}

@keyframes bounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

/* Enhanced Team Section */
.team-section-enhanced {
  background: linear-gradient(135deg, #f8fafc 0%, #ffffff 100%);
  position: relative;
  overflow: hidden;
}

.section-bg-elements {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.bg-shape {
  position: absolute;
  background: linear-gradient(135deg, rgba(31,60,136,0.03), rgba(34,64,143,0.05));
  border-radius: 50%;
}

.bg-shape-1 {
  width: 400px;
  height: 400px;
  top: -200px;
  right: -200px;
  animation: rotate 20s linear infinite;
}

.bg-shape-2 {
  width: 300px;
  height: 300px;
  bottom: -150px;
  left: -150px;
  animation: rotate 15s linear infinite reverse;
}

@keyframes rotate {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

.section-header-enhanced {
  margin-bottom: 60px;
  position: relative;
  z-index: 2;
}

.section-badge {
  background: linear-gradient(135deg, #1f3c88, #22408f);
  color: #ffffff;
  padding: 10px 25px;
  border-radius: 25px;
  font-size: 14px;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 20px;
  box-shadow: 0 8px 16px rgba(31,60,136,0.2);
}

.section-title-enhanced {
  font-size: 42px;
  font-weight: 800;
  color: #0b1730;
  margin: 0 0 20px;
  line-height: 1.2;
}

.section-desc-enhanced {
  font-size: 18px;
  color: #6b7280;
  line-height: 1.7;
  max-width: 700px;
  margin: 0 auto 30px;
}

.section-divider {
  width: 80px;
  height: 4px;
  background: linear-gradient(135deg, #1f3c88, #fbbf24);
  border-radius: 2px;
  margin: 0 auto;
}

.team-grid-enhanced {
  position: relative;
  z-index: 2;
}

/* Featured Team Member */
.featured-member-section {
  margin-bottom: 80px;
}

.featured-team-card {
  background: #ffffff;
  border-radius: 24px;
  padding: 40px;
  position: relative;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0,0,0,0.1);
  border: 1px solid #e5e7eb;
  transition: all 0.4s ease;
}

.featured-team-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 30px 80px rgba(0,0,0,0.15);
  border-color: #1f3c88;
}

.featured-card-bg {
  position: absolute;
  top: 0;
  right: 0;
  width: 200px;
  height: 200px;
  background: linear-gradient(135deg, rgba(31,60,136,0.05), rgba(251,191,36,0.05));
  border-radius: 50%;
  transform: translate(50%, -50%);
}

.featured-image-wrapper {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.image-frame {
  position: relative;
  width: 300px;
  height: 360px;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 16px 32px rgba(0,0,0,0.15);
  background: linear-gradient(135deg, #f3f4f6, #e5e7eb);
}

.featured-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

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

.image-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(31,60,136,0.8), rgba(34,64,143,0.8));
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.4s ease;
}

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

.social-links-featured {
  display: flex;
  gap: 15px;
}

.social-link {
  width: 50px;
  height: 50px;
  background: rgba(255,255,255,0.2);
  border: 2px solid rgba(255,255,255,0.3);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  font-size: 20px;
  transition: all 0.3s ease;
  backdrop-filter: blur(10px);
}

.social-link:hover {
  background: #ffffff;
  color: #1f3c88;
  transform: translateY(-3px) scale(1.1);
  text-decoration: none;
}

.experience-badge {
  position: absolute;
  bottom: -20px;
  right: 20px;
  width: 80px;
  height: 80px;
  background: linear-gradient(135deg, #1f3c88, #fbbf24);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 16px rgba(0,0,0,0.2);
  border: 4px solid #ffffff;
}

.badge-content {
  text-align: center;
  color: #ffffff;
}

.badge-content .years {
  display: block;
  font-size: 18px;
  font-weight: 800;
  line-height: 1;
}

.badge-content .text {
  font-size: 10px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.featured-content {
  padding-left: 40px;
}

.leadership-badge {
  background: linear-gradient(135deg, #fbbf24, #f59e0b);
  color: #ffffff;
  padding: 8px 20px;
  border-radius: 25px;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 20px;
  box-shadow: 0 4px 8px rgba(251,191,36,0.3);
}

.featured-name {
  font-size: 36px;
  font-weight: 800;
  color: #0b1730;
  margin: 0 0 8px;
  line-height: 1.2;
}

.featured-title {
  font-size: 18px;
  color: #1f3c88;
  font-weight: 600;
  margin: 0 0 20px;
}

.featured-description {
  font-size: 16px;
  color: #6b7280;
  line-height: 1.7;
  margin: 0 0 30px;
}

.achievements {
  display: flex;
  flex-direction: column;
  gap: 15px;
  margin-bottom: 30px;
}

.achievement {
  display: flex;
  align-items: center;
  gap: 15px;
  padding: 15px;
  background: #f8fafc;
  border-radius: 12px;
  border-left: 4px solid #1f3c88;
}

.achievement-icon {
  width: 40px;
  height: 40px;
  background: linear-gradient(135deg, #1f3c88, #22408f);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  font-size: 16px;
}

.achievement-text strong {
  display: block;
  color: #0b1730;
  font-weight: 700;
  margin-bottom: 2px;
}

.achievement-text span {
  color: #6b7280;
  font-size: 14px;
}

.btn-view-profile {
  background: linear-gradient(135deg, #1f3c88, #22408f);
  color: #ffffff;
  padding: 15px 30px;
  border-radius: 30px;
  font-weight: 700;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  transition: all 0.3s ease;
  box-shadow: 0 8px 16px rgba(31,60,136,0.3);
}

.btn-view-profile:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 24px rgba(31,60,136,0.4);
  color: #ffffff;
  text-decoration: none;
}

/* Premium Team Members */
.team-members-enhanced {
  margin-top: 60px;
  position: relative;
  z-index: 2;
}

.members-header {
  margin-bottom: 50px;
  position: relative;
}

.members-title {
  font-size: 36px;
  font-weight: 800;
  color: #0b1730;
  margin: 0 0 10px;
  line-height: 1.2;
}

.members-subtitle {
  font-size: 16px;
  color: #6b7280;
  margin: 0;
}

.team-counter {
  text-align: center;
}

.counter-number {
  font-size: 48px;
  font-weight: 800;
  color: #1f3c88;
  line-height: 1;
  margin-bottom: 5px;
  background: linear-gradient(135deg, #1f3c88, #fbbf24);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.counter-text {
  font-size: 14px;
  color: #6b7280;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  line-height: 1.2;
}

.premium-team-grid {
  position: relative;
}

.premium-team-card {
  background: #ffffff;
  border-radius: 20px;
  overflow: hidden;
  position: relative;
  transition: all 0.4s ease;
  height: 100%;
  border: 1px solid #f3f4f6;
  box-shadow: 0 8px 24px rgba(0,0,0,0.08);
}

.premium-team-card:hover {
  transform: translateY(-12px);
  box-shadow: 0 20px 40px rgba(0,0,0,0.15);
  border-color: #c7d2fe;
}

.card-background {
  position: absolute;
  top: 0;
  right: 0;
  width: 100px;
  height: 100px;
  background: linear-gradient(135deg, rgba(31,60,136,0.05), rgba(251,191,36,0.05));
  border-radius: 50%;
  transform: translate(25%, -25%);
}

.member-image-container {
  position: relative;
  height: 280px;
  overflow: hidden;
}

.image-wrapper {
  position: relative;
  width: 100%;
  height: 100%;
}

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

.premium-team-card:hover .member-image {
  transform: scale(1.08);
}

.image-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(31,60,136,0.85), rgba(34,64,143,0.85));
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease;
}

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

.social-icons {
  display: flex;
  gap: 12px;
}

.social-icon {
  width: 44px;
  height: 44px;
  background: rgba(255,255,255,0.15);
  border: 2px solid rgba(255,255,255,0.3);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  font-size: 16px;
  transition: all 0.3s ease;
  backdrop-filter: blur(10px);
}

.social-icon:hover {
  background: #ffffff;
  color: #1f3c88;
  transform: translateY(-3px) scale(1.1);
  text-decoration: none;
}

.rank-badge {
  position: absolute;
  top: 15px;
  right: 15px;
  background: linear-gradient(135deg, #1f3c88, #22408f);
  color: #ffffff;
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  box-shadow: 0 4px 8px rgba(0,0,0,0.2);
  opacity: 0;
  transform: translateY(-10px);
  transition: all 0.3s ease;
}

.rank-badge.senior {
  background: linear-gradient(135deg, #fbbf24, #f59e0b);
}

.premium-team-card:hover .rank-badge {
  opacity: 1;
  transform: translateY(0);
}

.member-content {
  padding: 25px;
  text-align: center;
}

.member-name {
  font-size: 22px;
  font-weight: 700;
  color: #0b1730;
  margin: 0 0 5px;
}

.member-role {
  font-size: 14px;
  color: #1f3c88;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  margin: 0 0 10px;
}

.member-speciality {
  font-size: 14px;
  color: #6b7280;
  margin: 0 0 15px;
  line-height: 1.5;
}

.expertise-tags {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-bottom: 20px;
  flex-wrap: wrap;
}

.tag {
  background: rgba(31,60,136,0.1);
  color: #1f3c88;
  padding: 4px 12px;
  border-radius: 15px;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.3px;
}

.profile-btn {
  background: linear-gradient(135deg, #1f3c88, #22408f);
  color: #ffffff;
  padding: 12px 24px;
  border-radius: 25px;
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px rgba(31,60,136,0.2);
}

.profile-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(31,60,136,0.35);
  color: #ffffff;
  text-decoration: none;
}

/* Featured Senior Partner Card */
.team-card-featured {
  background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 16px 40px rgba(0,0,0,0.12);
  transition: all 0.4s ease;
  border: 2px solid #e5e7eb;
  position: relative;
}
.team-card-featured:hover {
  transform: translateY(-12px);
  box-shadow: 0 24px 48px rgba(0,0,0,0.18);
  border-color: #1f3c88;
}
.team-image-wrapper-featured {
  position: relative;
  overflow: hidden;
  height: 350px;
  margin: 20px 20px 0;
  border-radius: 16px;
}
.team-image-wrapper-featured .team-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.team-card-featured:hover .team-image {
  transform: scale(1.08);
}
.team-info-featured {
  padding: 30px;
  text-align: center;
  position: relative;
}
.featured-badge {
  background: linear-gradient(135deg, #1f3c88, #22408f);
  color: #ffffff;
  padding: 8px 20px;
  border-radius: 25px;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 15px;
  display: inline-block;
}
.team-name-featured {
  color: #0b1730;
  font-weight: 800;
  margin: 0 0 8px;
  font-size: 28px;
}
.team-position-featured {
  color: #1f3c88;
  font-weight: 600;
  margin: 0 0 20px;
  font-size: 16px;
}
.team-bio-featured {
  color: #6b7280;
  font-size: 16px;
  line-height: 1.7;
  margin: 0 0 30px;
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
}
.team-stats {
  display: flex;
  justify-content: center;
  gap: 40px;
  margin-bottom: 30px;
  padding: 20px 0;
  border-top: 1px solid #e5e7eb;
  border-bottom: 1px solid #e5e7eb;
}
.stat {
  text-align: center;
}
.stat-number {
  display: block;
  font-size: 24px;
  font-weight: 800;
  color: #1f3c88;
  margin-bottom: 5px;
}
.stat-label {
  font-size: 12px;
  color: #6b7280;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  font-weight: 600;
}
.team-profile-btn-featured {
  background: linear-gradient(135deg, #1f3c88, #22408f);
  color: #ffffff;
  padding: 15px 30px;
  border-radius: 30px;
  font-size: 14px;
  font-weight: 700;
  transition: all 0.3s ease;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  box-shadow: 0 8px 16px rgba(31,60,136,0.3);
}
.team-profile-btn-featured:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 24px rgba(31,60,136,0.4);
  color: #ffffff;
  text-decoration: none;
}

/* Team Members Section */
.team-members-section {
  margin-top: 60px;
}
.section-subtitle {
  margin-bottom: 40px;
}
.section-subtitle h3 {
  color: #0b1730;
  font-weight: 700;
  font-size: 28px;
  margin: 0 0 10px;
}
.section-subtitle p {
  color: #6b7280;
  font-size: 16px;
  margin: 0;
}
.mb-50 {
  margin-bottom: 50px;
}
.mb-60 {
  margin-bottom: 60px;
}

/* Uniform Team Cards */
.team-row-equal {
  display: flex;
  flex-wrap: wrap;
  align-items: stretch;
}
.team-card-uniform {
  background: #ffffff;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(0,0,0,0.08);
  transition: all 0.3s ease;
  height: 100%;
  border: 1px solid #f3f4f6;
  display: flex;
  flex-direction: column;
}
.team-card-uniform:hover {
  transform: translateY(-8px);
  box-shadow: 0 16px 40px rgba(0,0,0,0.15);
  border-color: #c7d2fe;
}

/* Uniform Image Wrapper - Fixed Height */
.team-image-wrapper-uniform {
  position: relative;
  overflow: hidden;
  height: 280px;
  width: 100%;
  flex-shrink: 0;
}
.team-image-uniform {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  transition: transform 0.4s ease;
}
.team-card-uniform:hover .team-image-uniform {
  transform: scale(1.06);
}

/* Position Badge */
.position-badge {
  position: absolute;
  top: 15px;
  right: 15px;
  background: linear-gradient(135deg, #1f3c88, #22408f);
  color: #ffffff;
  padding: 6px 12px;
  border-radius: 20px;
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  box-shadow: 0 4px 8px rgba(0,0,0,0.2);
  opacity: 0;
  transform: translateY(-10px);
  transition: all 0.3s ease;
}
.team-card-uniform:hover .position-badge {
  opacity: 1;
  transform: translateY(0);
}

/* Team Overlay */
.team-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(31,60,136,0.88), rgba(34,64,143,0.88));
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: all 0.3s ease;
  backdrop-filter: blur(2px);
}
.team-card-uniform:hover .team-overlay {
  opacity: 1;
}
.team-social {
  display: flex;
  gap: 15px;
  transform: translateY(20px);
  transition: transform 0.3s ease 0.1s;
}
.team-card-uniform:hover .team-social {
  transform: translateY(0);
}
.team-social a {
  width: 45px;
  height: 45px;
  background: rgba(255,255,255,0.15);
  border: 2px solid rgba(255,255,255,0.4);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  font-size: 18px;
  transition: all 0.3s ease;
  backdrop-filter: blur(10px);
}
.team-social a:hover {
  background: #ffffff;
  color: #1f3c88;
  transform: translateY(-4px) scale(1.1);
  box-shadow: 0 8px 16px rgba(0,0,0,0.3);
}

/* Team Info - Flexible Height */
.team-info-uniform {
  padding: 25px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  text-align: center;
}
.team-name {
  color: #0b1730;
  font-weight: 700;
  margin: 0 0 8px;
  font-size: 20px;
}
.team-position {
  color: #1f3c88;
  font-weight: 600;
  margin: 0 0 15px;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0.8px;
}
.team-bio {
  color: #6b7280;
  font-size: 14px;
  line-height: 1.6;
  margin: 0 0 20px;
  flex-grow: 1;
}
.team-profile-btn {
  background: linear-gradient(135deg, #1f3c88, #22408f);
  color: #ffffff;
  padding: 12px 24px;
  border-radius: 25px;
  font-size: 13px;
  font-weight: 600;
  transition: all 0.3s ease;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: auto;
  box-shadow: 0 4px 12px rgba(31,60,136,0.2);
}
.team-profile-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(31,60,136,0.35);
  color: #ffffff;
  text-decoration: none;
}

.team-values-section {
  margin: 80px 0 60px;
  background: #f8fafc;
  padding: 60px 0;
  border-radius: 16px;
}
.value-card {
  text-align: center;
  padding: 30px 20px;
}
.value-icon {
  width: 80px;
  height: 80px;
  background: linear-gradient(135deg, #1f3c88, #22408f);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  color: #ffffff;
  font-size: 32px;
  box-shadow: 0 8px 16px rgba(31,60,136,0.2);
}
.value-card h4 {
  color: #0b1730;
  font-weight: 700;
  margin: 15px 0 10px;
  font-size: 20px;
}
.value-card p {
  color: #6b7280;
  font-size: 14px;
  line-height: 1.6;
  margin: 0;
}

.team-cta {
  background: linear-gradient(135deg, #1f3c88, #22408f);
  color: #ffffff;
  padding: 50px 40px;
  border-radius: 16px;
  text-align: center;
  margin-top: 60px;
}
.team-cta .cta-inner h3 {
  color: #ffffff;
  margin: 0 0 15px;
  font-weight: 700;
  font-size: 28px;
}
.team-cta .cta-inner p {
  color: #e5edff;
  margin: 0 0 25px;
  font-size: 16px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

/* Enhanced Contact Page Styling */
.contact-enhanced-section {
  background: linear-gradient(135deg, #f8fafc 0%, #ffffff 50%, #f1f5f9 100%);
  position: relative;
  overflow: hidden;
  padding: 60px 0 80px;
  min-height: 100vh;
}

.contact-bg-elements {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.bg-circle {
  position: absolute;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(31,60,136,0.04), rgba(251,191,36,0.02));
  animation: float 10s ease-in-out infinite;
}

.bg-circle-1 {
  width: 200px;
  height: 200px;
  top: 10%;
  right: 15%;
  animation-delay: -3s;
}

.bg-circle-2 {
  width: 150px;
  height: 150px;
  bottom: 15%;
  left: 10%;
  animation-delay: -6s;
}

.bg-pattern {
  position: absolute;
  inset: 0;
  background-image: 
    radial-gradient(circle at 30% 40%, rgba(31,60,136,0.02) 1px, transparent 1px),
    radial-gradient(circle at 70% 60%, rgba(251,191,36,0.02) 1px, transparent 1px);
  background-size: 50px 50px, 70px 70px;
}

/* Contact Header */
.contact-header {
  margin-bottom: 80px;
  position: relative;
  z-index: 2;
  padding: 0px 0;
}

.contact-badge {
  background: linear-gradient(135deg, #1f3c88, #22408f);
  color: #ffffff;
  padding: 10px 25px;
  border-radius: 30px;
  font-size: 14px;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 25px;
  box-shadow: 0 6px 16px rgba(31,60,136,0.25);
}

.contact-main-title {
  font-size: 48px;
  font-weight: 800;
  color: #0b1730;
  margin: 0 0 25px;
  line-height: 1.2;
}

.contact-description {
  font-size: 18px;
  color: #6b7280;
  line-height: 1.7;
  margin: 0 0 40px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

/* Quick Contact Options */
.quick-contact-options {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}

.quick-contact-btn {
  background: #ffffff;
  border: 2px solid rgba(31,60,136,0.15);
  border-radius: 16px;
  padding: 20px 30px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  color: #1f3c88;
  font-weight: 600;
  font-size: 14px;
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px rgba(0,0,0,0.05);
  min-width: 140px;
}

.quick-contact-btn:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 24px rgba(0,0,0,0.1);
  border-color: #1f3c88;
  color: #1f3c88;
  text-decoration: none;
}

.quick-contact-btn i {
  font-size: 24px;
  color: #1f3c88;
  transition: all 0.3s ease;
}

.quick-contact-btn:hover i {
  transform: scale(1.2);
}

.emergency-contact {
  background: linear-gradient(135deg, #1f3c88, #22408f);
  color: #ffffff;
  border-color: transparent;
}

.emergency-contact i {
  color: #fbbf24;
}

.emergency-contact:hover {
  color: #ffffff;
  transform: translateY(-4px) scale(1.05);
  box-shadow: 0 12px 24px rgba(31,60,136,0.3);
}

/* Google Maps Section */
.google-maps-section {
  margin-top: 80px;
  position: relative;
  z-index: 2;
}

.maps-header {
  text-align: center;
  margin-bottom: 60px;
}

.maps-badge {
  background: linear-gradient(135deg, #1f3c88, #22408f);
  color: #ffffff;
  padding: 10px 25px;
  border-radius: 30px;
  font-size: 14px;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 20px;
  box-shadow: 0 6px 16px rgba(31,60,136,0.25);
}

.maps-title {
  font-size: 36px;
  font-weight: 800;
  color: #0b1730;
  margin: 0 0 15px;
  line-height: 1.2;
}

.maps-subtitle {
  font-size: 16px;
  color: #6b7280;
  margin: 0 0 30px;
}

/* Office Map Cards */
.office-map-card {
  background: #ffffff;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 12px 32px rgba(0,0,0,0.08);
  border: 1px solid rgba(31,60,136,0.1);
  transition: all 0.4s ease;
  height: 100%;
}

.office-map-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 48px rgba(0,0,0,0.12);
  border-color: rgba(31,60,136,0.2);
}

.map-header {
  padding: 30px;
  background: linear-gradient(135deg, #f8fafc, #ffffff);
  position: relative;
}

.office-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 16px;
  border-radius: 20px;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 15px;
}

.office-badge.headquarters {
  background: linear-gradient(135deg, #1f3c88, #22408f);
  color: #ffffff;
}

.office-badge.branch {
  background: linear-gradient(135deg, #fbbf24, #f59e0b);
  color: #ffffff;
}

.office-name {
  font-size: 24px;
  font-weight: 700;
  color: #0b1730;
  margin: 0 0 15px;
}

.office-address {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  color: #6b7280;
  font-size: 14px;
  line-height: 1.6;
}

.office-address i {
  color: #1f3c88;
  margin-top: 2px;
  font-size: 16px;
}

/* Google Maps Container */
.google-map-container {
  position: relative;
  height: 350px;
  overflow: hidden;
}

.map-frame {
  width: 100%;
  height: 100%;
  transition: all 0.3s ease;
}

.map-frame iframe {
  width: 100%;
  height: 100%;
  border: none;
  transition: filter 0.3s ease;
}

.office-map-card:hover .map-frame iframe {
  filter: contrast(1.1) saturate(1.1);
}

/* Map Overlay */
.map-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(transparent, rgba(0,0,0,0.7));
  padding: 40px 20px 20px;
  transform: translateY(100%);
  transition: transform 0.4s ease;
}

.office-map-card:hover .map-overlay {
  transform: translateY(0);
}

.office-contact-info {
  color: #ffffff;
}

.contact-detail {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
}

.contact-detail i {
  color: #fbbf24;
  font-size: 16px;
  width: 20px;
  text-align: center;
}

.contact-detail a {
  color: #ffffff;
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  transition: color 0.3s ease;
  display: block;
}

.contact-detail a:hover {
  color: #fbbf24;
}

.directions-btn-container {
  margin-top: 15px;
}

.directions-btn {
  background: linear-gradient(135deg, #1f3c88, #22408f);
  color: #ffffff;
  padding: 10px 20px;
  border-radius: 25px;
  text-decoration: none;
  font-size: 13px;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px rgba(31,60,136,0.3);
}

.directions-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(31,60,136,0.4);
  color: #ffffff;
  text-decoration: none;
}

/* Office Hours Section */
.office-hours-section {
  margin-top: 60px;
}

.hours-card {
  background: #ffffff;
  border-radius: 20px;
  padding: 40px;
  border: 1px solid rgba(31,60,136,0.1);
  box-shadow: 0 8px 24px rgba(0,0,0,0.06);
  text-align: center;
}

.hours-header {
  margin-bottom: 30px;
}

.hours-icon {
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, #1f3c88, #22408f);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 15px;
  color: #ffffff;
  font-size: 24px;
  box-shadow: 0 8px 16px rgba(31,60,136,0.2);
}

.hours-header h4 {
  color: #0b1730;
  font-size: 22px;
  font-weight: 700;
  margin: 0;
}

.hours-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 15px;
  margin-bottom: 30px;
}

.hours-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 20px;
  background: #f8fafc;
  border-radius: 12px;
  border-left: 4px solid #1f3c88;
}

.hours-item .day {
  font-weight: 600;
  color: #0b1730;
}

.hours-item .time {
  color: #1f3c88;
  font-weight: 700;
}

.emergency-note {
  background: linear-gradient(135deg, #1f3c88, #22408f);
  color: #ffffff;
  padding: 15px 20px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
}

.emergency-note i {
  color: #fbbf24;
  font-size: 16px;
}

/* Hold My Brief Page Styling */
.holdmybrief-hero-section {
  background: linear-gradient(135deg, #0b1730 0%, #1f3c88 50%, #22408f 100%);
  position: relative;
  overflow: hidden;
  min-height: 70vh;
  display: flex;
  align-items: center;
}

.hero-background {
  position: absolute;
  inset: 0;
}

.hero-pattern {
  position: absolute;
  inset: 0;
  background-image: 
    radial-gradient(circle at 20% 50%, rgba(255,255,255,0.05) 1px, transparent 1px),
    radial-gradient(circle at 80% 20%, rgba(255,255,255,0.03) 1px, transparent 1px);
  background-size: 100px 100px, 120px 120px;
}

.floating-elements {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.float-element {
  position: absolute;
  border-radius: 50%;
  background: rgba(255,255,255,0.03);
  animation: float 8s ease-in-out infinite;
}

.float-element.float-1 {
  width: 120px;
  height: 120px;
  top: 20%;
  left: 10%;
  animation-delay: -2s;
}

.float-element.float-2 {
  width: 80px;
  height: 80px;
  top: 60%;
  right: 15%;
  animation-delay: -4s;
}

.float-element.float-3 {
  width: 100px;
  height: 100px;
  bottom: 20%;
  left: 70%;
  animation-delay: -1s;
}

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

.hero-title {
  font-size: 48px;
  font-weight: 800;
  color: #ffffff;
  margin: 0 0 20px;
  line-height: 1.2;
}

.hero-subtitle {
  font-size: 18px;
  color: #e5edff;
  line-height: 1.7;
  margin: 0 0 40px;
  opacity: 0.9;
}

.service-stats {
  display: flex;
  justify-content: center;
  gap: 40px;
  margin-top: 30px;
}

.service-stats .stat-item {
  display: flex;
  align-items: center;
  gap: 15px;
  background: rgba(255,255,255,0.1);
  padding: 20px;
  border-radius: 12px;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,0.15);
}

.service-stats .stat-icon {
  width: 50px;
  height: 50px;
  background: linear-gradient(135deg, #fbbf24, #f59e0b);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  font-size: 20px;
}

.service-stats .stat-number {
  font-size: 24px;
  font-weight: 800;
  color: #ffffff;
  line-height: 1;
  margin-bottom: 5px;
}

.service-stats .stat-label {
  font-size: 12px;
  color: #c7d2fe;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  font-weight: 600;
}

/* Service Info Section */
.service-info-section {
  padding: 80px 0;
  background: #f8fafc;
}

.info-card {
  background: #ffffff;
  padding: 40px 30px;
  border-radius: 16px;
  text-align: center;
  height: 100%;
  border: 1px solid #e5e7eb;
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px rgba(0,0,0,0.05);
}

.info-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 16px 32px rgba(0,0,0,0.1);
  border-color: #1f3c88;
}

.info-card .card-icon {
  width: 80px;
  height: 80px;
  background: linear-gradient(135deg, #1f3c88, #22408f);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 25px;
  color: #ffffff;
  font-size: 32px;
  box-shadow: 0 8px 16px rgba(31,60,136,0.2);
}

.info-card h3 {
  color: #0b1730;
  font-weight: 700;
  margin: 0 0 15px;
  font-size: 22px;
}

.info-card p {
  color: #6b7280;
  font-size: 15px;
  line-height: 1.6;
  margin: 0;
}

/* Hold My Brief Form Section */
.holdmybrief-form-section {
  padding: 80px 0;
  background: #ffffff;
  position: relative;
}

.section-header {
  text-align: center;
  margin-bottom: 60px;
}

.section-badge {
  background: linear-gradient(135deg, #1f3c88, #22408f);
  color: #ffffff;
  padding: 10px 25px;
  border-radius: 30px;
  font-size: 14px;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 20px;
  box-shadow: 0 6px 16px rgba(31,60,136,0.25);
}

.section-title {
  font-size: 36px;
  font-weight: 800;
  color: #0b1730;
  margin: 0 0 15px;
  line-height: 1.2;
}

.section-description {
  font-size: 16px;
  color: #6b7280;
  line-height: 1.7;
  max-width: 600px;
  margin: 0 auto;
}

/* Form Container */
.form-container {
  background: #ffffff;
  border-radius: 20px;
  padding: 40px;
  box-shadow: 0 12px 32px rgba(0,0,0,0.08);
  border: 1px solid #e5e7eb;
  position: relative;
}

/* Form Progress */
.form-progress {
  display: flex;
  justify-content: center;
  gap: 30px;
  margin-bottom: 40px;
  padding-bottom: 30px;
  border-bottom: 1px solid #e5e7eb;
}

.progress-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  opacity: 0.5;
  transition: all 0.3s ease;
}

.progress-step.active {
  opacity: 1;
}

.step-number {
  width: 40px;
  height: 40px;
  background: #e5e7eb;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  color: #6b7280;
  transition: all 0.3s ease;
}

.progress-step.active .step-number {
  background: linear-gradient(135deg, #1f3c88, #22408f);
  color: #ffffff;
}

.step-label {
  font-size: 12px;
  color: #6b7280;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  font-weight: 600;
}

.progress-step.active .step-label {
  color: #1f3c88;
}

/* Form Steps */
.form-step {
  display: none;
}

.form-step.active {
  display: block;
}

.step-header {
  margin-bottom: 30px;
  text-align: center;
}

.step-header h3 {
  color: #0b1730;
  font-weight: 700;
  font-size: 24px;
  margin: 0 0 10px;
}

.step-header p {
  color: #6b7280;
  margin: 0;
}

/* Form Fields */
.form-group {
  margin-bottom: 25px;
}

.form-group label {
  display: block;
  margin-bottom: 8px;
  color: #0b1730;
  font-weight: 600;
  font-size: 14px;
}

.required {
  color: #ef4444;
}

.form-control {
  width: 100%;
  padding: 15px;
  border: 2px solid #e5e7eb;
  border-radius: 12px;
  font-size: 14px;
  transition: all 0.3s ease;
  background: #ffffff;
}

.form-control:focus {
  border-color: #1f3c88;
  outline: none;
  box-shadow: 0 0 0 3px rgba(31,60,136,0.1);
}

.form-control::placeholder {
  color: #9ca3af;
}

/* Checkbox Group */
.checkbox-group {
  margin-bottom: 15px;
}

.checkbox-label {
  display: flex;
  align-items: center;
  gap: 12px;
  cursor: pointer;
  position: relative;
}

.checkbox-label input[type="checkbox"] {
  display: none;
}

.checkmark {
  width: 20px;
  height: 20px;
  border: 2px solid #e5e7eb;
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

.checkbox-label input[type="checkbox"]:checked + .checkmark {
  background: linear-gradient(135deg, #1f3c88, #22408f);
  border-color: #1f3c88;
}

.checkbox-label input[type="checkbox"]:checked + .checkmark::after {
  content: "\2713";
  color: #ffffff;
  font-size: 12px;
  font-weight: 700;
}

/* Form Navigation */
.form-navigation {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 30px;
  padding-top: 25px;
  border-top: 1px solid #e5e7eb;
}

.btn {
  padding: 12px 24px;
  border-radius: 25px;
  font-weight: 600;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
}

.btn-next, .btn-submit {
  background: linear-gradient(135deg, #1f3c88, #22408f);
  color: #ffffff;
  box-shadow: 0 4px 12px rgba(31,60,136,0.3);
}

.btn-next:hover, .btn-submit:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(31,60,136,0.4);
  color: #ffffff;
  text-decoration: none;
}

.btn-prev {
  background: #f3f4f6;
  color: #6b7280;
  border: 1px solid #e5e7eb;
}

.btn-prev:hover {
  background: #e5e7eb;
  color: #374151;
  text-decoration: none;
}

.btn-loading {
  display: none;
}

/* Pricing Card */
.pricing-card {
  background: #ffffff;
  border-radius: 20px;
  padding: 30px;
  box-shadow: 0 12px 32px rgba(0,0,0,0.08);
  border: 1px solid #e5e7eb;
  height: fit-content;
  position: sticky;
  top: 30px;
}

.pricing-header {
  text-align: center;
  margin-bottom: 30px;
  padding-bottom: 20px;
  border-bottom: 1px solid #e5e7eb;
}

.pricing-header h3 {
  color: #0b1730;
  font-weight: 700;
  font-size: 22px;
  margin: 0 0 10px;
}

.pricing-header p {
  color: #6b7280;
  margin: 0;
  font-size: 14px;
}

.pricing-list {
  margin-bottom: 30px;
}

.price-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 0;
  border-bottom: 1px solid #f3f4f6;
}

.price-item:last-child {
  border-bottom: none;
}

.service-type {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #374151;
}

.service-type i {
  color: #1f3c88;
  font-size: 16px;
}

.price {
  font-weight: 700;
  color: #1f3c88;
  font-size: 16px;
}

.pricing-note {
  background: #f8fafc;
  padding: 20px;
  border-radius: 12px;
  margin-bottom: 25px;
}

.pricing-note h4 {
  color: #0b1730;
  font-weight: 600;
  font-size: 14px;
  margin: 0 0 15px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.pricing-note ul {
  margin: 0;
  padding-left: 20px;
}

.pricing-note li {
  color: #6b7280;
  font-size: 13px;
  line-height: 1.6;
  margin-bottom: 8px;
}

.payment-info {
  margin-bottom: 25px;
}

.payment-info h4 {
  color: #0b1730;
  font-weight: 600;
  font-size: 16px;
  margin: 0 0 15px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.payment-method {
  display: flex;
  align-items: center;
  gap: 15px;
  padding: 12px 0;
  border-bottom: 1px solid #f3f4f6;
}

.payment-method:last-child {
  border-bottom: none;
}

.method-icon {
  width: 40px;
  height: 40px;
  background: linear-gradient(135deg, #1f3c88, #22408f);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  font-size: 16px;
}

.method-details strong {
  color: #0b1730;
  font-size: 14px;
  display: block;
}

.method-details span {
  color: #6b7280;
  font-size: 12px;
}

.contact-support h4 {
  color: #0b1730;
  font-weight: 600;
  font-size: 16px;
  margin: 0 0 10px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.contact-support p {
  color: #6b7280;
  font-size: 13px;
  margin: 0 0 15px;
}

.support-link {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #1f3c88;
  text-decoration: none;
  padding: 8px 0;
  font-size: 14px;
  font-weight: 600;
  transition: color 0.3s ease;
}

.support-link:hover {
  color: #22408f;
  text-decoration: none;
}

/* Expert Profile Page Styling */
.expert-profile-hero {
  background: linear-gradient(135deg, #0b1730 0%, #1f3c88 50%, #22408f 100%);
  position: relative;
  overflow: hidden;
  min-height: 60vh;
  display: flex;
  align-items: center;
}

.expert-profile-hero .hero-background {
  position: absolute;
  inset: 0;
}

.expert-profile-hero .hero-overlay {
  position: absolute;
  inset: 0;
  background: rgba(15, 35, 84, 0.7);
}

.expert-profile-hero .hero-pattern {
  position: absolute;
  inset: 0;
  background-image: 
    radial-gradient(circle at 30% 40%, rgba(255,255,255,0.05) 1px, transparent 1px),
    radial-gradient(circle at 70% 60%, rgba(255,255,255,0.03) 1px, transparent 1px);
  background-size: 80px 80px, 100px 100px;
}

.expert-badge {
  background: linear-gradient(135deg, #fbbf24, #f59e0b);
  color: #ffffff;
  padding: 8px 20px;
  border-radius: 25px;
  font-size: 14px;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 20px;
  box-shadow: 0 4px 8px rgba(251,191,36,0.3);
}

.expert-name {
  font-size: 48px;
  font-weight: 800;
  color: #ffffff;
  margin: 0 0 10px;
  line-height: 1.2;
}

.expert-title {
  font-size: 20px;
  color: #e5edff;
  font-weight: 600;
  margin: 0 0 30px;
}

.expert-stats {
  display: flex;
  justify-content: center;
  gap: 40px;
  margin-top: 30px;
}

.expert-stats .stat-item {
  text-align: center;
  background: rgba(255,255,255,0.1);
  padding: 20px;
  border-radius: 12px;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,0.15);
  min-width: 120px;
}

.expert-stats .stat-number {
  display: block;
  font-size: 28px;
  font-weight: 800;
  color: #fbbf24;
  margin-bottom: 5px;
  line-height: 1;
}

.expert-stats .stat-label {
  color: #c7d2fe;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  font-weight: 600;
  line-height: 1.2;
}

/* Expert Profile Content */
.expert-profile-content {
  padding: 80px 0;
  background: linear-gradient(135deg, #f8fafc 0%, #ffffff 100%);
}

.expert-profile-card {
  background: #ffffff;
  border-radius: 20px;
  padding: 30px;
  box-shadow: 0 12px 32px rgba(0,0,0,0.08);
  border: 1px solid #e5e7eb;
  height: fit-content;
  position: sticky;
  top: 30px;
}

.profile-image-wrapper {
  position: relative;
  margin-bottom: 25px;
  border-radius: 16px;
  overflow: hidden;
}

.profile-image {
  width: 100%;
  height: 300px;
  object-fit: cover;
  object-position: center top;
  transition: transform 0.4s ease;
}

.profile-image-wrapper:hover .profile-image {
  transform: scale(1.05);
}

.profile-image-wrapper .image-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(31,60,136,0.8), rgba(34,64,143,0.8));
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.profile-image-wrapper:hover .image-overlay {
  opacity: 1;
}

.contact-icons {
  display: flex;
  gap: 15px;
}

.contact-icon {
  width: 50px;
  height: 50px;
  background: rgba(255,255,255,0.2);
  border: 2px solid rgba(255,255,255,0.3);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  font-size: 20px;
  transition: all 0.3s ease;
  backdrop-filter: blur(10px);
}

.contact-icon:hover {
  background: #ffffff;
  color: #1f3c88;
  transform: translateY(-3px) scale(1.1);
  text-decoration: none;
}

.profile-quick-info {
  margin-bottom: 30px;
  padding-bottom: 25px;
  border-bottom: 1px solid #e5e7eb;
}

.profile-quick-info h3 {
  color: #0b1730;
  font-weight: 700;
  font-size: 18px;
  margin: 0 0 15px;
}

.profile-quick-info .contact-item {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
  font-size: 14px;
}

.profile-quick-info .contact-item i {
  color: #1f3c88;
  width: 16px;
  text-align: center;
}

.profile-quick-info .contact-item a {
  color: #6b7280;
  text-decoration: none;
  transition: color 0.3s ease;
}

.profile-quick-info .contact-item a:hover {
  color: #1f3c88;
  text-decoration: none;
}

.profile-credentials h4 {
  color: #0b1730;
  font-weight: 700;
  font-size: 16px;
  margin: 0 0 15px;
}

.credential-item {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
  font-size: 14px;
  color: #6b7280;
}

.credential-item i {
  color: #1f3c88;
  font-size: 16px;
  width: 20px;
  text-align: center;
}

/* Expert Details */
.expert-details {
  background: #ffffff;
  border-radius: 20px;
  padding: 40px;
  box-shadow: 0 12px 32px rgba(0,0,0,0.08);
  border: 1px solid #e5e7eb;
}

.profile-section {
  margin-bottom: 50px;
  padding-bottom: 40px;
  border-bottom: 1px solid #e5e7eb;
}

.profile-section:last-child {
  margin-bottom: 0;
  padding-bottom: 0;
  border-bottom: none;
}

.section-header {
  margin-bottom: 30px;
}

.section-header h2 {
  color: #0b1730;
  font-weight: 700;
  font-size: 28px;
  margin: 0 0 10px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.section-header h2 i {
  color: #1f3c88;
}

.section-header p {
  color: #6b7280;
  margin: 0;
  font-size: 16px;
}

.lead-text {
  font-size: 18px;
  color: #374151;
  line-height: 1.8;
  margin-bottom: 30px;
  font-weight: 500;
}

/* Highlights Grid */
.highlights-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}

.highlight-item {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  padding: 25px;
  background: #f8fafc;
  border-radius: 12px;
  border-left: 4px solid #1f3c88;
}

.highlight-icon {
  width: 50px;
  height: 50px;
  background: linear-gradient(135deg, #1f3c88, #22408f);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  font-size: 20px;
  flex-shrink: 0;
}

.highlight-content h4 {
  color: #0b1730;
  font-weight: 700;
  font-size: 18px;
  margin: 0 0 8px;
}

.highlight-content p {
  color: #6b7280;
  margin: 0;
  line-height: 1.6;
}

/* Memberships Grid */
.memberships-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 25px;
}

.membership-card {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 25px;
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px rgba(0,0,0,0.05);
}

.membership-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 24px rgba(0,0,0,0.1);
  border-color: #1f3c88;
}

.membership-icon {
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, #1f3c88, #22408f);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  font-size: 24px;
  flex-shrink: 0;
}

.membership-info h4 {
  color: #0b1730;
  font-weight: 700;
  font-size: 18px;
  margin: 0 0 5px;
}

.membership-info p {
  color: #6b7280;
  margin: 0;
  font-size: 14px;
}

/* Practice Areas Grid */
.practice-areas-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
}

.practice-area-card {
  background: #ffffff;
  padding: 25px;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  text-align: center;
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px rgba(0,0,0,0.05);
}

.practice-area-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 32px rgba(0,0,0,0.1);
  border-color: #1f3c88;
}

.practice-icon {
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, #1f3c88, #22408f);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 15px;
  color: #ffffff;
  font-size: 24px;
  box-shadow: 0 8px 16px rgba(31,60,136,0.2);
  transition: transform 0.3s ease;
}

.practice-area-card:hover .practice-icon {
  transform: rotateY(180deg);
}

.practice-area-card h4 {
  color: #0b1730;
  font-weight: 700;
  font-size: 16px;
  margin: 0 0 10px;
}

.practice-area-card p {
  color: #6b7280;
  font-size: 14px;
  margin: 0;
  line-height: 1.5;
}

/* Profile CTA */
.profile-cta {
  background: linear-gradient(135deg, #1f3c88, #22408f);
  color: #ffffff;
  padding: 40px;
  border-radius: 16px;
  text-align: center;
}

.cta-content h3 {
  color: #ffffff;
  font-weight: 700;
  font-size: 28px;
  margin: 0 0 15px;
}

.cta-content p {
  color: #e5edff;
  font-size: 16px;
  margin: 0 0 30px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.cta-buttons {
  display: flex;
  justify-content: center;
  gap: 15px;
  flex-wrap: wrap;
}

.cta-buttons .btn {
  min-width: 160px;
}

.btn-primary {
  background: #ffffff;
  color: #1f3c88;
  border: 2px solid #ffffff;
}

.btn-primary:hover {
  background: transparent;
  color: #ffffff;
  border-color: #ffffff;
}

.btn-secondary {
  background: rgba(255,255,255,0.1);
  color: #ffffff;
  border: 2px solid rgba(255,255,255,0.3);
  backdrop-filter: blur(10px);
}

.btn-secondary:hover {
  background: rgba(255,255,255,0.2);
  border-color: rgba(255,255,255,0.5);
  color: #ffffff;
}

.btn-outline {
  background: transparent;
  color: #ffffff;
  border: 2px solid rgba(255,255,255,0.5);
}

.btn-outline:hover {
  background: rgba(255,255,255,0.1);
  border-color: #ffffff;
  color: #ffffff;
}

/* Responsive Styles for Hold My Brief and Expert Profile Pages */
@media (max-width: 991px) {
  .holdmybrief-hero-section,
  .expert-profile-hero {
    min-height: 50vh;
  }
  
  .hero-title,
  .expert-name {
    font-size: 36px;
  }
  
  .service-stats,
  .expert-stats {
    flex-direction: column;
    gap: 20px;
    align-items: center;
  }
  
  .service-stats .stat-item,
  .expert-stats .stat-item {
    max-width: 300px;
    width: 100%;
  }
  
  .form-progress {
    gap: 20px;
  }
  
  .step-label {
    font-size: 10px;
  }
  
  .pricing-card {
    position: relative;
    top: auto;
    margin-top: 30px;
  }
  
  .expert-profile-card {
    position: relative;
    top: auto;
    margin-bottom: 30px;
  }
}

@media (max-width: 768px) {
  .holdmybrief-hero-section,
  .expert-profile-hero {
    min-height: 40vh;
    padding: 60px 0;
  }
  
  .hero-title,
  .expert-name {
    font-size: 32px;
  }
  
  .hero-subtitle,
  .expert-title {
    font-size: 16px;
  }
  
  .title-badge,
  .expert-badge {
    font-size: 12px;
    padding: 6px 16px;
  }
  
  .service-info-section,
  .holdmybrief-form-section,
  .expert-profile-content {
    padding: 60px 0;
  }
  
  .info-card {
    margin-bottom: 30px;
  }
  
  .section-title {
    font-size: 28px;
  }
  
  .form-container,
  .expert-details {
    padding: 30px 20px;
  }
  
  .form-progress {
    flex-direction: column;
    gap: 15px;
  }
  
  .progress-step {
    flex-direction: row;
    justify-content: center;
  }
  
  .step-number {
    margin-right: 10px;
    margin-bottom: 0;
  }
  
  .form-navigation {
    flex-direction: column;
    gap: 15px;
  }
  
  .btn {
    width: 100%;
    justify-content: center;
  }
  
  .highlights-grid,
  .memberships-grid,
  .practice-areas-grid {
    grid-template-columns: 1fr;
  }
  
  .highlight-item {
    flex-direction: column;
    text-align: center;
  }
  
  .membership-card {
    flex-direction: column;
    text-align: center;
  }
  
  .profile-image {
    height: 250px;
  }
  
  .cta-buttons {
    flex-direction: column;
    align-items: center;
  }
  
  .cta-buttons .btn {
    width: 100%;
    max-width: 280px;
  }
}

@media (max-width: 480px) {
  .hero-title,
  .expert-name {
    font-size: 28px;
  }
  
  .section-title {
    font-size: 24px;
  }
  
  .service-stats .stat-item,
  .expert-stats .stat-item {
    padding: 15px;
  }
  
  .info-card {
    padding: 30px 20px;
  }
  
  .form-container,
  .expert-details {
    padding: 25px 15px;
  }
  
  .pricing-card,
  .expert-profile-card {
    padding: 25px 20px;
  }
  
  .step-header h3 {
    font-size: 20px;
  }
  
  .form-control {
    padding: 12px;
  }
  
  .profile-image {
    height: 200px;
  }
  
  .section-header h2 {
    font-size: 24px;
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }
  
  .lead-text {
    font-size: 16px;
  }
  
  .highlight-item,
  .membership-card {
    padding: 20px;
  }
  
  .practice-area-card {
    padding: 20px;
  }
  
  .profile-cta,
  .cta-content {
    padding: 30px 20px;
  }
  
  .cta-content h3 {
    font-size: 24px;
  }
}

/* Team Page Enhanced Responsive Styles */
@media (max-width: 991px) {
  .team-hero-enhanced {
    min-height: 50vh;
  }
  
  .page-heading-enhanced {
    font-size: 36px;
  }
  
  .hero-stats {
    flex-direction: column;
    gap: 20px;
    align-items: center;
  }
  
  .stat-item {
    max-width: 300px;
    width: 100%;
  }
  
  .section-title-enhanced {
    font-size: 32px;
  }
  
  .featured-team-card {
    text-align: center;
  }
  
  .featured-content {
    padding-left: 0;
    margin-top: 30px;
  }
  
  .premium-team-grid .col-lg-3 {
    margin-bottom: 30px;
  }
  
  .members-header .col-md-4 {
    text-align: center;
    margin-top: 20px;
  }
}

@media (max-width: 768px) {
  .team-hero-enhanced {
    min-height: 40vh;
    padding: 60px 0;
  }
  
  .page-heading-enhanced {
    font-size: 28px;
  }
  
  .hero-subtitle-enhanced {
    font-size: 16px;
  }
  
  .hero-badge {
    font-size: 12px;
    padding: 6px 16px;
  }
  
  .section-title-enhanced {
    font-size: 28px;
  }
  
  .section-desc-enhanced {
    font-size: 16px;
  }
  
  .featured-team-card {
    padding: 30px 20px;
  }
  
  .featured-team-card .row {
    flex-direction: column;
  }
  
  .image-frame {
    width: 250px;
    height: 300px;
    margin: 0 auto 30px;
  }
  
  .featured-name {
    font-size: 28px;
  }
  
  .achievements {
    gap: 10px;
  }
  
  .achievement {
    flex-direction: column;
    text-align: center;
    padding: 20px;
  }
  
  .premium-team-grid .row {
    justify-content: center;
  }
  
  .premium-team-grid .col-lg-3 {
    max-width: 350px;
  }
  
  .team-values-section {
    padding: 40px 0;
  }
  
  .value-card {
    margin-bottom: 30px;
  }
  
  .team-cta {
    padding: 40px 20px;
  }
}

@media (max-width: 480px) {
  .page-heading-enhanced {
    font-size: 24px;
  }
  
  .section-title-enhanced {
    font-size: 24px;
  }
  
  .hero-stats {
    flex-direction: column;
    gap: 15px;
  }
  
  .stat-item {
    padding: 15px;
  }
  
  .featured-team-card {
    padding: 25px 15px;
  }
  
  .image-frame {
    width: 200px;
    height: 240px;
  }
  
  .featured-name {
    font-size: 24px;
  }
  
  .featured-description {
    font-size: 14px;
  }
  
  .achievement {
    padding: 15px;
  }
  
  .member-image-container {
    height: 220px;
  }
  
  .member-content {
    padding: 20px;
  }
  
  .member-name {
    font-size: 18px;
  }
  
  .value-card {
    padding: 25px 15px;
  }
  
  .team-cta {
    padding: 30px 15px;
  }
}

/* Google Maps Responsive Styles */
@media (max-width: 768px) {
  .google-maps-section {
    margin-top: 50px;
  }
  
  .maps-header {
    margin-bottom: 40px;
  }
  
  .maps-title {
    font-size: 28px;
  }
  
  .office-map-card {
    margin-bottom: 30px;
  }
  
  .map-header {
    padding: 20px;
  }
  
  .office-name {
    font-size: 20px;
  }
  
  .google-map-container {
    height: 250px;
  }
  
  .map-overlay {
    transform: translateY(0);
    position: static;
    background: linear-gradient(135deg, #0b1730, #1f3c88);
    padding: 20px;
  }
  
  .directions-btn {
    width: 100%;
    justify-content: center;
  }
  
  .hours-card {
    padding: 25px;
  }
  
  .office-hours-section {
    margin-top: 40px;
  }
}

@media (max-width: 480px) {
  .maps-title {
    font-size: 24px;
  }
  
  .maps-badge {
    padding: 8px 20px;
    font-size: 12px;
  }
  
  .office-name {
    font-size: 18px;
  }
  
  .office-address {
    font-size: 13px;
  }
  
  .google-map-container {
    height: 200px;
  }
  
  .map-header {
    padding: 15px;
  }
  
  .contact-detail {
    font-size: 13px;
  }
  
  .hours-card {
    padding: 20px;
  }
  
  .hours-icon {
    width: 50px;
    height: 50px;
    font-size: 20px;
  }
  
  .hours-header h4 {
    font-size: 18px;
  }
  
  .hours-item {
    padding: 12px 15px;
    font-size: 14px;
  }
}
.contact-info-modern {
  background: #f8fafc;
  border-radius: 16px;
  padding: 40px;
  height: 100%;
  border: 1px solid #e5e7eb;
}
.contact-info-title {
  color: #0b1730;
  font-weight: 700;
  margin: 0 0 10px;
  font-size: 24px;
}
.contact-info-subtitle {
  color: #6b7280;
  margin: 0 0 30px;
  font-size: 14px;
}

.contact-offices {
  margin-bottom: 40px;
}
.office-contact {
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  padding: 25px;
  margin-bottom: 20px;
  transition: all 0.3s ease;
}
.office-contact:hover {
  box-shadow: 0 8px 16px rgba(0,0,0,0.08);
  border-color: #c7d2fe;
}
.office-header {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-bottom: 15px;
}
.office-icon {
  width: 50px;
  height: 50px;
  background: linear-gradient(135deg, #1f3c88, #22408f);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  font-size: 20px;
}
.office-title h4 {
  color: #0b1730;
  font-weight: 700;
  margin: 0;
  font-size: 16px;
}
.office-status {
  color: #1f3c88;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.office-details {
  margin-left: 65px;
}
.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 15px;
}
.contact-item i {
  color: #1f3c88;
  width: 16px;
  text-align: center;
  margin-top: 2px;
  font-size: 14px;
}
.contact-text {
  flex: 1;
}
.contact-text p {
  color: #6b7280;
  font-size: 13px;
  line-height: 1.5;
  margin: 0;
}
.contact-text a {
  color: #1f3c88;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s ease;
}
.contact-text a:hover {
  color: #22408f;
  text-decoration: none;
}
.contact-text strong {
  color: #0b1730;
  display: block;
  margin-bottom: 5px;
  font-size: 14px;
}

.general-contact {
  margin-bottom: 30px;
}

.emergency-contact-box {
  background: linear-gradient(135deg, #1f3c88, #22408f);
  color: #ffffff;
  padding: 20px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  gap: 15px;
}
.emergency-icon {
  font-size: 24px;
  color: #fbbf24;
}
.emergency-info strong {
  display: block;
  font-size: 14px;
  margin-bottom: 5px;
}
.emergency-info p {
  color: #e5edff;
  font-size: 12px;
  margin: 0 0 8px;
}
.emergency-phone {
  color: #ffffff;
  font-weight: 700;
  font-size: 16px;
  text-decoration: none;
}
.emergency-phone:hover {
  color: #fbbf24;
  text-decoration: none;
}

.contact-form-modern {
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 16px;
  padding: 40px;
  box-shadow: 0 4px 8px rgba(0,0,0,0.05);
}
.form-header {
  text-align: center;
  margin-bottom: 30px;
}
.form-header h3 {
  color: #0b1730;
  font-weight: 700;
  margin: 0 0 10px;
  font-size: 24px;
}
.form-header p {
  color: #6b7280;
  margin: 0;
  font-size: 14px;
}

.modern-form {
  max-width: 100%;
}
.form-group-row {
  display: flex;
  gap: 20px;
  margin-bottom: 20px;
}
.form-group {
  margin-bottom: 20px;
}
.form-group.half-width {
  flex: 1;
}
.form-group.full-width {
  width: 100%;
}
.form-group label {
  color: #374151;
  font-weight: 600;
  margin-bottom: 8px;
  display: block;
  font-size: 14px;
}
.required {
  color: #ef4444;
}
.modern-input,
.modern-textarea {
  width: 100%;
  padding: 12px 16px;
  border: 2px solid #e5e7eb;
  border-radius: 8px;
  font-size: 14px;
  transition: all 0.3s ease;
  background: #ffffff;
  color: #374151;
}
.modern-input:focus,
.modern-textarea:focus {
  outline: none;
  border-color: #1f3c88;
  box-shadow: 0 0 0 3px rgba(31,60,136,0.1);
}
.modern-textarea {
  resize: vertical;
  min-height: 120px;
  font-family: inherit;
}
.form-checkbox {
  display: flex;
  align-items: flex-start;
  gap: 10px;
}
.form-checkbox input[type="checkbox"] {
  margin-top: 2px;
}
.form-checkbox label {
  font-size: 13px;
  line-height: 1.5;
  margin-bottom: 0;
  font-weight: 400;
}
.btn-submit-modern {
  background: linear-gradient(135deg, #1f3c88, #22408f);
  color: #ffffff;
  border: none;
  padding: 15px 30px;
  border-radius: 8px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
}
.btn-submit-modern:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 16px rgba(31,60,136,0.3);
}
.form-response {
  margin-top: 20px;
  padding: 15px;
  background: #f0fdf4;
  border: 1px solid #bbf7d0;
  border-radius: 8px;
}
.success-message {
  color: #166534;
  margin: 0;
  font-size: 14px;
}

.map-section {
  margin-top: 60px;
}
.map-card {
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 8px rgba(0,0,0,0.05);
  transition: all 0.3s ease;
}
.map-card:hover {
  box-shadow: 0 8px 16px rgba(0,0,0,0.08);
  transform: translateY(-2px);
}
.map-header {
  background: #f8fafc;
  padding: 15px 20px;
  border-bottom: 1px solid #e5e7eb;
}
.map-header h4 {
  color: #0b1730;
  font-weight: 600;
  margin: 0;
  font-size: 16px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.map-header i {
  color: #1f3c88;
}
.map-placeholder {
  height: 200px;
  background: #f9fafb;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}
.map-info {
  color: #6b7280;
}
.map-info i {
  font-size: 48px;
  color: #d1d5db;
  margin-bottom: 15px;
  display: block;
}
.map-info p {
  margin: 5px 0;
  font-size: 14px;
}

@media (max-width: 991px) {
  /* Enhanced Clients Responsive */
  .main-title {
    font-size: 36px;
  }
  .stat-circle {
    width: 120px;
    height: 120px;
  }
  .stat-number {
    font-size: 24px;
  }
  .showcase-title {
    font-size: 28px;
  }
  .logos-grid {
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 20px;
  }
  
  /* Enhanced Contact Responsive */
  .contact-main-title {
    font-size: 36px;
  }
  .quick-contact-options {
    gap: 15px;
  }
  .quick-contact-btn {
    min-width: 120px;
    padding: 15px 20px;
  }
  
  /* General Responsive */
  .form-group-row {
    flex-direction: column;
    gap: 0;
  }
  .category-card,
  .team-card-modern {
    margin-bottom: 30px;
  }
  .office-details {
    margin-left: 0;
    margin-top: 15px;
  }
  .contact-info-modern,
  .contact-form-modern {
    margin-bottom: 40px;
  }
}

@media (max-width: 991px) {
  /* Team Hero Responsive */
  .page-heading-enhanced {
    font-size: 36px;
  }
  .hero-stats {
    gap: 20px;
  }
  .stat-item .stat-number {
    font-size: 24px;
  }
  .hero-illustration {
    padding: 20px;
  }
  .justice-scale {
    font-size: 60px;
  }
  .team-icon {
    width: 50px;
    height: 50px;
    font-size: 20px;
  }
  
  /* Featured Card Responsive */
  .featured-content {
    padding-left: 0;
    margin-top: 30px;
  }
  .image-frame {
    width: 250px;
    height: 300px;
    margin: 0 auto;
  }
  .achievements {
    flex-direction: column;
  }
  
  /* Team Grid Responsive */
  .members-title {
    font-size: 28px;
  }
  .counter-number {
    font-size: 36px;
  }
  .team-counter {
    margin-top: 20px;
  }
}

@media (max-width: 767px) {
  /* Enhanced Clients Mobile */
  .main-title {
    font-size: 28px;
  }
  .header-description {
    font-size: 16px;
  }
  .clients-stats {
    margin-top: 30px;
  }
  .stat-circle {
    width: 100px;
    height: 100px;
  }
  .stat-number {
    font-size: 20px;
  }
  .stat-label {
    font-size: 10px;
  }
  .enhanced-category-card {
    padding: 30px 20px;
  }
  .category-icon {
    width: 60px;
    height: 60px;
    font-size: 24px;
  }
  .showcase-title {
    font-size: 24px;
  }
  .logos-grid {
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 15px;
  }
  .logo-card {
    height: 100px;
    padding: 20px;
  }
  
  /* Enhanced Contact Mobile */
  .contact-main-title {
    font-size: 28px;
  }
  .contact-description {
    font-size: 16px;
  }
  .quick-contact-options {
    flex-direction: column;
    align-items: center;
    gap: 12px;
  }
  .quick-contact-btn {
    width: 200px;
    padding: 18px 25px;
  }
  
  /* Hero Mobile */
  .team-hero-enhanced {
    min-height: 60vh;
    text-align: center;
  }
  .page-heading-enhanced {
    font-size: 28px;
  }
  .hero-subtitle-enhanced {
    font-size: 16px;
  }
  .hero-stats {
    justify-content: center;
    gap: 15px;
  }
  .stat-item .stat-number {
    font-size: 20px;
  }
  .stat-item .stat-label {
    font-size: 10px;
  }
  
  /* Section Headers Mobile */
  .section-title-enhanced {
    font-size: 28px;
  }
  .section-desc-enhanced {
    font-size: 16px;
  }
  
  /* Featured Card Mobile */
  .featured-team-card {
    padding: 20px;
  }
  .image-frame {
    width: 200px;
    height: 240px;
  }
  .featured-name {
    font-size: 24px;
  }
  .featured-title {
    font-size: 16px;
  }
  .featured-description {
    font-size: 14px;
  }
  .achievement {
    flex-direction: column;
    text-align: center;
    gap: 10px;
  }
  .btn-view-profile {
    width: 100%;
    justify-content: center;
  }
  
  /* Team Members Mobile */
  .members-header {
    text-align: center;
  }
  .members-title {
    font-size: 24px;
  }
  .counter-number {
    font-size: 28px;
  }
  .premium-team-card {
    margin-bottom: 30px;
  }
  .member-image-container {
    height: 250px;
  }
  
  /* General Mobile Adjustments */
  .clients-cta .cta-inner h3,
  .team-cta .cta-inner h3 {
    font-size: 24px;
  }
  .contact-info-modern,
  .contact-form-modern {
    padding: 25px;
  }
  .team-image-wrapper {
    height: 240px;
  }
  .emergency-contact-box {
    flex-direction: column;
    text-align: center;
    gap: 10px;
  }
}

@media (max-width: 480px) {
  /* Extra Small Mobile */
  .team-hero-enhanced {
    min-height: 50vh;
  }
  .page-heading-enhanced {
    font-size: 24px;
  }
  .hero-stats {
    flex-direction: column;
    gap: 10px;
  }
  .floating-shape {
    display: none;
  }
  
  /* Featured Card Extra Small */
  .featured-team-card {
    padding: 15px;
  }
  .image-frame {
    width: 180px;
    height: 220px;
  }
  .experience-badge {
    width: 60px;
    height: 60px;
    bottom: -15px;
    right: 15px;
  }
  .badge-content .years {
    font-size: 14px;
  }
  .badge-content .text {
    font-size: 8px;
  }
  
  /* Team Grid Extra Small */
  .premium-team-card {
    margin-bottom: 20px;
  }
  .member-content {
    padding: 20px;
  }
  .expertise-tags {
    gap: 5px;
  }
  .tag {
    font-size: 10px;
    padding: 3px 8px;
  }
  
  /* General Extra Small */
  .hero-area { min-height: 40vh; }
  .hero-content h1 { font-size: 26px; }
  .hero-content p { font-size: 15px; }
  .footer-modern .footer-top-area {
    padding: 25px 0;
  }
  .footer-links-wrapper {
    grid-template-columns: 1fr;
  }
  .footer-social .social-inline li {
    margin-right: 5px;
  }
  .category-icon,
  .value-icon {
    width: 60px;
    height: 60px;
    font-size: 24px;
  }
  .office-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }
  .office-icon {
    width: 40px;
    height: 40px;
    font-size: 18px;
  }
}

@media (max-width: 480px) {
  .hero-area { min-height: 40vh; }
  .hero-content h1 { font-size: 26px; }
  .hero-content p { font-size: 15px; }
  .footer-modern .footer-top-area {
    padding: 25px 0;
  }
  .footer-links-wrapper {
    grid-template-columns: 1fr;
  }
  .footer-social .social-inline li {
    margin-right: 5px;
  }
  .category-icon,
  .value-icon {
    width: 60px;
    height: 60px;
    font-size: 24px;
  }
  .office-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }
  .office-icon {
    width: 40px;
    height: 40px;
    font-size: 18px;
  }
}

