/* ==========================================================================
   Sean Olender Law Firm - Optimized CSS
   ========================================================================== */

/* ==========================================================================
   CSS CUSTOM PROPERTIES
   ========================================================================== */
:root {
  /* Brand Colors */
  --primary-color: #2B5A87;
    --primary-hover: #2B5A87;
  --primary-light: #3b82f6;
  --primary-dark: #2B5A87;
  --secondary-color: #3b82f6;
  --accent-color: #f59e0b;
  --accent-hover: #d97706;
  
  /* Text Colors */
  --text-primary: #1f2937;
  --text-secondary: #6b7280;
  --text-light: #9ca3af;
  --text-muted: #9ca3af;
  --text-inverse: #ffffff;
  
  /* Background Colors */
  --bg-primary: #ffffff;
  --bg-secondary: #f9fafb;
  --bg-light: #f3f4f6;
  --bg-muted: #e5e7eb;
  --bg-dark: #1f2937;
  
  /* Gray Scale */
  --gray-50: #f9fafb;
  --gray-100: #f3f4f6;
  --gray-200: #e5e7eb;
  --gray-300: #d1d5db;
  --gray-400: #9ca3af;
  --gray-500: #6b7280;
  --gray-600: #4b5563;
  --gray-700: #374151;
  --gray-800: #1f2937;
  --gray-900: #111827;
  
  /* Spacing */
  --spacing-xs: 0.25rem;
  --spacing-sm: 0.5rem;
  --spacing-md: 1rem;
  --spacing-lg: 1.5rem;
  --spacing-xl: 2rem;
  --spacing-2xl: 3rem;
  --spacing-3xl: 4rem;
  
  /* Shadows */
  --shadow-xs: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --shadow-sm: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px 0 rgba(0, 0, 0, 0.06);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
  --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
  
  /* Border Radius */
  --radius-sm: 0.125rem;
  --radius-md: 0.375rem;
  --radius-lg: 0.5rem;
  --radius-xl: 0.75rem;
  --radius-2xl: 1rem;
  --radius-full: 50%;
  
  /* Transitions */
  --transition-base: all 0.1s ease;
  
  /* Typography */
  --font-size-xs: 0.75rem;
  --font-size-sm: 0.875rem;
  --font-size-base: 1rem;
  --font-size-lg: 1.125rem;
  --font-size-xl: 1.25rem;
  --font-size-2xl: 1.5rem;
  --font-size-3xl: 1.875rem;
  --font-size-4xl: 2.25rem;
  --font-size-5xl: 3rem;
  
  --font-weight-normal: 400;
  --font-weight-medium: 500;
  --font-weight-semibold: 600;
  --font-weight-bold: 700;
  --font-weight-extrabold: 800;
  
  --line-height-tight: 1.25;
  --line-height-snug: 1.375;
  --line-height-normal: 1.5;
  --line-height-relaxed: 1.625;
  --line-height-loose: 2;
  
  /* Layout */
  --container-max-width: 1200px;
  --container-padding: 1.25rem;
  --header-height: 80px;
  --section-padding: 4rem 0;
  
  /* Z-Index Scale */
  --z-dropdown: 500;
  --z-sticky: 500;
  --z-fixed: 1030;
  --z-modal-backdrop: 1040;
  --z-modal: 1050;
  --z-popover: 1060;
  --z-tooltip: 1070;

  scroll-behavior: auto;
}

/* ==========================================================================
   GLOBAL RESET & BASE STYLES
   ========================================================================== */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

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

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
  font-size: var(--font-size-base);
  font-weight: var(--font-weight-normal);
  line-height: var(--line-height-relaxed);
  color: var(--text-primary);
  background-color: var(--bg-primary);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* ==========================================================================
   LAYOUT UTILITIES
   ========================================================================== */
.container {
  width: 100%;
  max-width: var(--container-max-width);
  margin: 0 auto;
  padding: 0 var(--container-padding);
}

.section {
  padding: var(--section-padding);
}

/* ==========================================================================
   BUTTON SYSTEM
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--spacing-sm);
  padding: 0.75rem 1.5rem;
  font-size: var(--font-size-base);
  font-weight: var(--font-weight-semibold);
  line-height: var(--line-height-tight);
  text-align: center;
  text-decoration: none;
  white-space: nowrap;
  border: 2px solid transparent;
  border-radius: var(--radius-lg);
  cursor: pointer;
  transition: var(--transition-base);
  user-select: none;
  vertical-align: middle;
}

.btn:focus {
  outline: 2px solid var(--primary-color);
  outline-offset: 2px;
}

.btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

/* Button Variants */
.btn-primary,
.cta-button {
  background-color: var(--primary-color);
  color: var(--text-inverse);
  border-color: var(--primary-color);
}

.btn-primary:hover,
.cta-button:hover {
  background-color: var(--primary-hover);
  border-color: var(--primary-hover);
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

.btn-outline {
  background-color: transparent;
  color: var(--primary-color);
  border-color: var(--primary-color);
}

.btn-outline:hover {
  background-color: var(--primary-color);
  color: var(--text-inverse);
}

/* Button Sizes */
.btn-sm {
  padding: 0.5rem 1rem;
  font-size: var(--font-size-sm);
}

.btn-lg {
  padding: 1rem 2rem;
  font-size: var(--font-size-lg);
}

/* ==========================================================================
   TYPOGRAPHY SYSTEM
   ========================================================================== */
h1, h2, h3, h4, h5, h6 {
  font-weight: var(--font-weight-bold);
  line-height: var(--line-height-tight);
  color: var(--text-primary);
  margin-bottom: var(--spacing-md);
}

h1 { font-size: var(--font-size-4xl); }
h2 { font-size: var(--font-size-3xl); }
h3 { font-size: var(--font-size-2xl); }
h4 { font-size: var(--font-size-xl); }
h5 { font-size: var(--font-size-lg); }
h6 { font-size: var(--font-size-base); }

p {
  margin-bottom: var(--spacing-md);
  color: var(--text-secondary);
  line-height: var(--line-height-relaxed);
}

a {
  color: var(--primary-color);
  text-decoration: none;
  transition: var(--transition-base);
}

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

/* ==========================================================================
   HEADER COMPONENT SYSTEM
   ========================================================================== */
.header {
  background-color: var(--bg-primary);
  border-bottom: 1px solid var(--gray-200);
  position: sticky;
  top: 0;
  z-index: var(--z-sticky);
  box-shadow: var(--shadow-sm);
  transition: var(--transition-base);
}

.header.scrolled {
  box-shadow: var(--shadow-md);
  background-color: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
}

.header-top {
  background-color: var(--bg-secondary);
  padding: var(--spacing-sm) 0;
  border-bottom: 1px solid var(--gray-200);
}

.header-top-content,
.header-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.header-main {
  padding: var(--spacing-md) 0;
}

/* Site Branding */
.site-branding h1 {
  font-size: var(--font-size-2xl);
  font-weight: var(--font-weight-bold);
  color: var(--primary-color);
  margin: 0;
}

.site-branding a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition-base);
}

.site-branding a:hover {
  color: var(--primary-hover);
}

/* Navigation System */
.main-navigation {
  display: flex;
  align-items: center;
  gap: var(--spacing-sm);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: var(--spacing-xl);
  flex-wrap: wrap;
}

.nav-links a {
  text-decoration: none;
  color: var(--text-primary);
  font-weight: var(--font-weight-medium);
  transition: var(--transition-base);
  position: relative;
}

.nav-links a:hover {
  color: var(--primary-color);
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--primary-color);
  transition: width 0.3s ease;
}

.nav-links a:focus {
  outline: transparent !important;
}

.nav-links a:hover::after {
  width: 100%;
}

/* Mobile Menu Toggle */


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

.hero-section {
  background: linear-gradient(135deg, var(--bg-secondary) 0%, var(--gray-200) 100%);
  padding: 7.5rem 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.hero-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(circle at 30% 20%, rgba(59, 130, 246, 0.1) 0%, transparent 50%),
              radial-gradient(circle at 70% 80%, rgba(245, 158, 11, 0.1) 0%, transparent 50%);
  pointer-events: none;
}

.hero-content {
  max-width: 800px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.hero-title {
  font-size: var(--font-size-5xl);
  font-weight: var(--font-weight-extrabold);
  color: var(--text-primary);
  margin-bottom: var(--spacing-lg);
  line-height: var(--line-height-tight);
}

.hero-subtitle {
  font-size: var(--font-size-xl);
  color: var(--text-secondary);
  margin-bottom: var(--spacing-2xl);
  line-height: var(--line-height-relaxed);
}

.hero-cta {
  display: flex;
  gap: var(--spacing-md);
  justify-content: center;
  flex-wrap: wrap;
}

/* ==========================================================================
   SECTION SYSTEM
   ========================================================================== */
section,
.section {
  padding: 6.25rem 0;
}

.section-header {
  text-align: center;
  margin-bottom: var(--spacing-3xl);
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.solution-badge {
  display: inline-flex;
  align-items: center;
  gap: var(--spacing-xs);
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
  color: var(--text-inverse);
  padding: var(--spacing-sm) var(--spacing-md);
  border-radius: var(--radius-2xl);
  font-size: var(--font-size-sm);
  font-weight: var(--font-weight-semibold);
  margin-bottom: var(--spacing-lg);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  box-shadow: var(--shadow-sm);
}

.section-title {
  font-size: var(--font-size-4xl);
  font-weight: var(--font-weight-bold);
  color: var(--text-primary);
  margin-bottom: var(--spacing-lg);
  line-height: var(--line-height-tight);
}

.section-subtitle {
  font-size: var(--font-size-lg);
  color: var(--text-secondary);
  line-height: var(--line-height-relaxed);
  max-width: 600px;
  margin: 0 auto;
}

/* ==========================================================================
   SERVICES SECTION
   ========================================================================== */

.services-section {
  background-color: var(--bg-primary);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 40px;
  margin-top: 64px;
}

.service-item {
  background-color: var(--bg-primary);
  padding: 40px;
  border-radius: 12px;
  text-align: center;
  box-shadow: var(--shadow-md);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  text-decoration: none;
  color: inherit;
  display: block;
}

.service-item:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
  text-decoration: none;
  color: inherit;
}

.service-item:active,
.service-item.active {
  text-decoration: none !important;
  color: inherit !important;
  border-bottom: none !important;
}

.service-icon {
  width: 80px;
  height: 80px;
  background-color: var(--primary-color);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 24px;
  color: var(--bg-primary);
  font-size: 32px;
}

.service-item h3 {
  font-size: 24px;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 16px;
}

.service-item p {
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 24px;
}

.service-link {
  color: var(--primary-color);
  text-decoration: none;
  font-weight: 600;
  transition: color 0.3s ease;
}

.service-link:hover {
  color: var(--primary-hover);
}

/* ==========================================================================
   ABOUT SECTION
   ========================================================================== */

.about-section {
  background-color: var(--gray-50);
}

.about-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.about-text h2 {
  font-size: 36px;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 24px;
  line-height: 1.2;
}

.about-text p {
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 40px;
}

.features-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
}

.feature-column h4 {
  font-size: 20px;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 12px;
}

.feature-column p {
  color: var(--text-secondary);
  line-height: 1.6;
}

.about-image {
  position: relative;
}

.about-image img {
  width: 100%;
  height: 400px;
  object-fit: cover;
  border-radius: 12px;
}

.feature-overlay {
  position: absolute;
  bottom: 24px;
  left: 24px;
  right: 24px;
  background-color: rgba(255, 255, 255, 0.95);
  padding: 24px;
  border-radius: 8px;
  backdrop-filter: blur(10px);
}

.feature-badge {
  background-color: var(--primary-color);
  color: var(--bg-primary);
  padding: 4px 12px;
  border-radius: 12px;
  font-size: 12px;
  font-weight: 600;
  display: inline-block;
  margin-bottom: 16px;
}

.feature-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.feature-list li {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--text-primary);
  font-weight: 500;
  margin-bottom: 8px;
}

.feature-list li:last-child {
  margin-bottom: 0;
}

.feature-list i {
  color: var(--primary-color);
  font-size: 14px;
}

/* ==========================================================================
   TESTIMONIALS SECTION
   ========================================================================== */

.testimonials-section {
  background-color: var(--bg-primary);
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  grid-template-rows: repeat(2, 1fr);
  gap: 40px;
  margin-top: 64px;
}

.testimonial-card {
  background-color: var(--bg-primary);
  padding: 40px;
  border-radius: 12px;
  box-shadow: var(--shadow-md);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.stars {
  display: flex;
  gap: 4px;
  margin-bottom: 20px;
}

.stars i {
  color: var(--accent-color);
  font-size: 16px;
}

.testimonial-content p {
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 24px;
  font-style: italic;
}

.testimonial-author strong {
  color: var(--text-primary);
  font-weight: 600;
  display: block;
}

.testimonial-author span {
  color: var(--text-light);
  font-size: 14px;
}

/* Testimonials Carousel Styles - Grid Layout */
.testimonials-carousel-wrapper {
  position: relative;
  overflow: visible;
  padding: 0 60px;
  min-height: 400px;
}

.testimonials-carousel-container {
  overflow: hidden;
  border-radius: 8px;
}

.testimonials-carousel-track {
  display: flex;
  transition: transform 0.5s ease-in-out;
}

.testimonials-carousel-track .testimonials-grid {
  flex: 0 0 100%;
  min-width: 0;
}

.testimonials-carousel-track .testimonials-grid.active-slide {
  /* First slide is active by default */
}

.testimonials-navigation {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  left: 0;
  right: 0;
  display: flex;
  justify-content: space-between;
  width: 100%;
  pointer-events: none;
  z-index: 10;
}

.testimonials-prev,
.testimonials-next {
  background: var(--primary-color);
  color: white;
  border: none;
  border-radius: 50%;
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 18px;
  transition: all 0.3s ease;
  pointer-events: auto;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  z-index: 20;
}

.testimonials-prev:hover,
.testimonials-next:hover {
  background: var(--secondary-color);
  transform: scale(1.1);
}

.testimonials-prev {
  left: 10px;
}

.testimonials-next {
  right: 10px;
}

.testimonials-indicators {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 30px;
}

.testimonials-indicator {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  border: none;
  background: var(--gray-300);
  cursor: pointer;
  transition: all 0.3s ease;
}

.testimonials-indicator.active {
  background: var(--primary-color);
  transform: scale(1.2);
}

.testimonials-indicator:hover {
  background: var(--secondary-color);
}

/* ==========================================================================
   FAQ SECTION
   ========================================================================== */

.faq-section {
  background-color: var(--gray-50);
  padding: 20px 0;
}

.faq-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  grid-template-rows: repeat(2, 1fr);
  gap: 20px;
  margin-top: 20px;
}

.faq-item {
  background-color: var(--bg-primary);
  padding: 40px;
  border-radius: 12px;
  box-shadow: var(--shadow-md);
  margin-bottom: 40px;
}

.faq-item h3 {
  font-size: 22px;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 20px;
}

.faq-item p {
  color: var(--text-secondary);
  line-height: 1.7;
}

/* FAQ Carousel Styles - Grid Layout */
.faq-carousel-wrapper {
  position: relative;
  overflow: visible;
  padding: 0 60px;
  min-height: 400px;
}

.faq-carousel-container {
  overflow: hidden;
  border-radius: 8px;
}

.faq-carousel-track {
  display: flex;
  transition: transform 0.5s ease-in-out;
}

.faq-carousel-track .faq-grid {
  flex: 0 0 100%;
  min-width: 0;
}

.faq-carousel-track .faq-grid.active-slide {
  /* First slide is active by default */
}

.faq-navigation {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  left: 0;
  right: 0;
  display: flex;
  justify-content: space-between;
  width: 100%;
  pointer-events: none;
  z-index: 10;
}

.faq-prev,
.faq-next {
  background: var(--primary-color);
  color: white;
  border: none;
  border-radius: 50%;
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 18px;
  transition: all 0.3s ease;
  pointer-events: auto;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  z-index: 20;
}

.faq-prev:hover,
.faq-next:hover {
  background: var(--secondary-color);
  transform: scale(1.1);
}

.faq-prev {
  left: 10px;
}

.faq-next {
  right: 10px;
}

.faq-indicators {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 30px;
}

.faq-indicator {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  border: none;
  background: var(--gray-300);
  cursor: pointer;
  transition: all 0.3s ease;
}

.faq-indicator.active {
  background: var(--primary-color);
  transform: scale(1.2);
}

.faq-indicator:hover {
  background: var(--secondary-color);
}

/* ==========================================================================
   CONSULTATION SECTION
   ========================================================================== */

.consultation-section {
  background-color: var(--bg-primary);
  padding: 120px 0;
}

.consultation-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.consultation-text h2 {
  font-size: 36px;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 24px;
  line-height: 1.2;
}

.consultation-text p {
  color: var(--text-secondary);
  line-height: 1.6;
}

.consultation-image {
  position: relative;
}

.consultation-image img {
  width: 100%;
  height: 400px;
  object-fit: cover;
  border-radius: 12px;
}

/* ==========================================================================
   CONTACT SECTION
   ========================================================================== */

.contact-section {
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
  color: var(--bg-primary);
}

.contact-content {
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
}

.contact-text h2 {
  font-size: 36px;
  font-weight: 700;
  margin-bottom: 24px;
  line-height: 1.2;
  color: #ffffff;
}

.contact-text p {
  font-size: 18px;
  margin-bottom: 40px;
  color: #e2e8f0;
  opacity: 1;
}

.contact-info {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 24px;
  margin-bottom: 40px;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 12px;
  justify-content: center;
}

.contact-item i {
  font-size: 20px;
  color: #bfdbfe;
  opacity: 1;
}

.contact-item span {
  font-weight: 500;
  color: #f1f5f9;
}

.contact-section .btn-primary {
  background-color: var(--bg-primary) !important;
  color: var(--primary-color) !important;
  border-color: var(--bg-primary) !important;
}

.contact-section .btn-primary:hover {
  background-color: var(--gray-100) !important;
  border-color: var(--gray-100) !important;
}

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

.footer {
  background-color: var(--gray-900);
  color: var(--bg-primary);
  padding: 60px 0 10px;
}

.footer-columns {
  display: grid;
  grid-template-columns: 1fr 1fr 0.5fr 1.5fr 2.5fr;
  gap: 20px;
  margin-bottom: 20px;
}

@media (max-width: 1200px) {
  .footer-columns {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 900px) {
  .footer-columns {
    grid-template-columns: repeat(2, 1fr);
  }
}

.footer-column h3 {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 20px;
  color: var(--bg-primary);
}

.footer-column ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer-column li {
  margin-bottom: 12px;
}

.footer-column a {
  color: var(--gray-200);
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-column a:hover {
  color: var(--bg-primary);
}

.footer-bottom {
  text-align: center;
  padding-top: 20px;
  border-top: 1px solid var(--gray-800);
  color: var(--gray-200);
}

/* ==========================================================================
   RESPONSIVE DESIGN
   ========================================================================== */

@media (max-width: 768px) {
  .header-content {
    flex-wrap: wrap;
  }
  
  .site-branding h1 {
    font-size: 20px;
  }
}

/* Tablet styles */
@media (max-width: 1024px) {
  .testimonials-grid {
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: repeat(2, 1fr);
    gap: 30px;
  }
  
  .faq-grid {
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: repeat(2, 1fr);
    gap: 18px;
  }
}

@media (max-width: 768px) {
  .testimonials-grid {
    grid-template-columns: 1fr;
    grid-template-rows: repeat(4, 1fr);
    gap: 30px;
  }
  
  .faq-grid {
    grid-template-columns: 1fr;
    grid-template-rows: repeat(4, 1fr);
    gap: 18px;
  }
}

@media (max-width: 480px) {
  .hero-title {
    font-size: 36px;
  }
  
  .hero-subtitle {
    font-size: 18px;
  }
  
  .section-title {
    font-size: 32px;
  }
  
  .services-grid {
    grid-template-columns: 1fr;
  }
  
  .about-content {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  
  .testimonials-grid {
    grid-template-columns: 1fr;
    grid-template-rows: repeat(4, 1fr);
    gap: 25px;
  }
  
  .faq-grid {
    grid-template-columns: 1fr;
    grid-template-rows: repeat(4, 1fr);
    gap: 15px;
  }
  
  .features-grid {
    grid-template-columns: 1fr;
  }
  
  .hero-cta {
    flex-direction: column;
    align-items: center;
  }
  
  .hero-cta .btn {
    width: 100%;
    max-width: 300px;
  }
  
  .contact-info {
    grid-template-columns: 1fr;
  }
  
  .footer-columns {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  
  .consultation-content {
    grid-template-columns: 1fr;
    gap: 50px;
  }
  
  .faq-item {
    padding: 30px;
    margin-bottom: 30px;
  }
  
  .consultation-section {
    padding: 80px 0;
  }
  
  .faq-section {
    padding: 80px 0;
  }
}

/* ==========================================================================
   UTILITY CLASSES
   ========================================================================== */

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

.text-left {
  text-align: left;
}

.text-right {
  text-align: right;
}

.mt-4 {
  margin-top: 1rem;
}

.mb-4 {
  margin-bottom: 1rem;
}

.py-4 {
  padding-top: 1rem;
  padding-bottom: 1rem;
}

.px-4 {
  padding-left: 1rem;
  padding-right: 1rem;
}

/* ==========================================================================
   PROFESSIONAL CREDENTIALS TABS
   ========================================================================== */

.professional-credentials {
  margin-top: 100px;
}

.professional-credentials h3 {
  font-size: 28px;
  font-weight: 700;
  color: var(--primary-color);
  margin-bottom: 30px;
  text-align: center;
}

.credentials-tabs {
  background: var(--bg-primary);
  border-radius: 12px;
  box-shadow: var(--shadow-md);
  overflow: hidden;
}

.tab-nav {
  display: flex;
  background: var(--gray-50);
  border-bottom: 1px solid var(--gray-200);
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.tab-btn {
  flex: 1;
  min-width: 120px;
  padding: 16px 12px;
  background: none;
  border: none;
  font-size: 14px;
  font-weight: 600;
  color: var(--text-secondary);
  cursor: pointer;
  transition: all 0.3s ease;
  border-bottom: 3px solid transparent;
  text-align: center;
}

.tab-btn:focus {
  outline: transparent !important;
}

.tab-btn:hover {
  color: var(--primary-color);
  background-color: var(--bg-primary);
}

.tab-btn.active {
  color: var(--primary-color);
  background-color: var(--bg-primary);
  border-bottom-color: var(--primary-color);
}

.tab-content {
  display: none;
  padding: 30px;
  min-height: 400px;
  opacity: 0;
  transition: opacity 0.3s ease-in-out;
}

.tab-content.active {
  display: block;
  opacity: 1;
  animation: fadeIn 0.3s ease-in-out;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Honors Tab */
.honors-showcase {
  display: grid;
  gap: 40px;
}

.featured-honors h4 {
  font-size: 22px;
  font-weight: 700;
  color: var(--primary-color);
  margin-bottom: 20px;
  text-align: center;
}

.credentials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 50px;
}

.credential-highlight {
  background: var(--gray-50);
  padding: 24px;
  border-radius: 8px;
  border-left: 4px solid var(--primary-color);
  text-align: center;
  transition: all 0.3s ease;
}

.credential-highlight.featured {
  background: linear-gradient(135deg, var(--gray-50) 0%, var(--white) 100%);
  border-left: 4px solid var(--accent-color);
  box-shadow: var(--shadow-md);
}

.credential-highlight:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

.credential-highlight.featured:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.15);
}

.credential-highlight i {
  font-size: 32px;
  color: var(--primary-color);
  margin-bottom: 16px;
}

.credential-highlight.featured i {
  color: var(--accent-color);
  font-size: 36px;
}

.credential-highlight h4 {
  font-size: 20px;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 8px;
}

.credential-highlight p {
  color: var(--text-secondary);
  margin-bottom: 16px;
  font-size: 14px;
}

.credential-highlight a {
  color: var(--primary-color);
  text-decoration: none;
  font-weight: 600;
  font-size: 14px;
  transition: color 0.3s ease;
}

.credential-highlight a:hover {
  color: var(--primary-hover);
  text-decoration: underline;
}

/* Section Intros */
.section-intro,
.timeline-intro {
  color: var(--text-secondary);
  font-size: 16px;
  margin-bottom: 24px;
  text-align: center;
  font-style: italic;
}

/* Credentials Summary */
.credentials-summary {
  margin-top: 40px;
  padding: 24px;
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
  border-radius: 12px;
  color: var(--white);
}

.summary-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 20px;
  text-align: center;
}

.stat-item {
  padding: 16px;
}

.stat-number {
  font-size: 28px;
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--white);
}

.stat-label {
  font-size: 14px;
  font-weight: 500;
  opacity: 0.9;
}

.stat-label small {
  font-size: 12px;
  opacity: 0.8;
}

/* Timeline Tab */
.recognition-timeline h4 {
  font-size: 22px;
  font-weight: 700;
  color: var(--primary-color);
  margin-bottom: 12px;
  text-align: center;
}

.timeline-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px 30px;
  max-width: 1000px;
  margin: 0 auto;
  align-items: start;
}

.timeline-item {
  display: flex;
  gap: 20px;
  padding: 20px;
  background: var(--white);
  border-radius: 8px;
  border: 1px solid var(--gray-200);
  transition: all 0.3s ease;
  position: relative;
}

.timeline-item:hover {
  border-left-color: var(--accent-color);
  box-shadow: var(--shadow-lg);
  transform: translateY(-2px);
}

.timeline-year {
  flex-shrink: 0;
  width: 80px;
  text-align: center;
  font-size: 16px;
  font-weight: 700;
  color: var(--primary-color);
  background: linear-gradient(135deg, var(--gray-50) 0%, var(--white) 100%);
  padding: 12px 8px;
  border-radius: 6px;
  border: 2px solid var(--primary-color);
  height: fit-content;
}

.timeline-content h5 {
  font-size: 18px;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 8px;
}

.timeline-content p {
  color: var(--text-secondary);
  font-size: 15px;
  margin: 0 0 12px 0;
  line-height: 1.5;
}

.award-type {
  display: inline-block;
  padding: 4px 12px;
  background: var(--primary-color);
  color: var(--white);
  font-size: 12px;
  font-weight: 600;
  border-radius: 20px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* Associations Tab */
.association-list {
  display: grid;
  gap: 20px;
}

.association-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 20px;
  border-radius: 8px;
  border: 1px solid var(--gray-200);
  transition: all 0.3s ease;
}

.association-item:hover {
  border-color: var(--primary-color);
  box-shadow: var(--shadow-md);
}

.association-item i {
  font-size: 24px;
  color: var(--primary-color);
  margin-top: 4px;
}

.association-item h4 {
  font-size: 18px;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 4px;
}

.association-item p {
  color: var(--text-secondary);
  font-size: 14px;
  margin: 0;
}

/* Education Tab */
.education-timeline {
  display: grid;
  gap: 24px;
}

.education-item {
  display: flex;
  gap: 20px;
  padding: 20px;
  border-radius: 8px;
  border: 1px solid var(--gray-200);
  transition: all 0.3s ease;
}

.education-item:hover {
  border-color: var(--primary-color);
  box-shadow: var(--shadow-md);
}

.education-year {
  flex-shrink: 0;
  width: 80px;
  text-align: center;
  font-size: 16px;
  font-weight: 700;
  color: var(--primary-color);
  background: var(--gray-50);
  padding: 8px;
  border-radius: 4px;
}

.education-details h4 {
  font-size: 18px;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 4px;
}

.education-details p {
  color: var(--text-secondary);
  font-size: 16px;
  margin-bottom: 4px;
}

.education-details span {
  color: var(--text-light);
  font-size: 14px;
}

/* Publications Tab */
.publications-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
}

.publication-item {
  background: var(--gray-50);
  padding: 24px;
  border-radius: 8px;
  text-align: center;
  transition: all 0.3s ease;
}

.publication-item:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

.publication-item i {
  font-size: 32px;
  color: var(--primary-color);
  margin-bottom: 16px;
}

.publication-item h4 {
  font-size: 18px;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 8px;
}

.publication-item p {
  color: var(--text-secondary);
  font-size: 14px;
  margin: 0;
}

/* Cases Tab */
.cases-showcase {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}

.case-category {
  background: var(--gray-50);
  padding: 24px;
  border-radius: 8px;
  border-left: 4px solid var(--primary-color);
}

.case-category h4 {
  font-size: 18px;
  font-weight: 700;
  color: var(--primary-color);
  margin-bottom: 16px;
}

.case-category ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.case-category li {
  padding: 8px 0;
  border-bottom: 1px solid var(--gray-200);
  color: var(--text-secondary);
  font-size: 14px;
  position: relative;
  padding-left: 20px;
}

.case-category li:last-child {
  border-bottom: none;
}

.case-category li:before {
  content: "•";
  color: var(--primary-color);
  position: absolute;
  left: 0;
  font-weight: bold;
}

/* Responsive Design */
@media (max-width: 768px) {
  .tab-nav {
    flex-direction: column;
  }
  
  .tab-btn {
    min-width: auto;
    border-bottom: none;
    border-right: 3px solid transparent;
  }
  
  .tab-btn.active {
    border-bottom: none;
    border-right-color: var(--primary-color);
  }
  
  .tab-content {
    padding: 20px;
    min-height: 300px;
  }
  
  .credentials-grid {
    grid-template-columns: 1fr;
  }
  
  .cases-showcase {
    grid-template-columns: 1fr;
  }
  
  .timeline-container {
    grid-template-columns: 1fr;
    gap: 16px;
    max-width: 600px;
  }
  
  .timeline-item {
    flex-direction: column;
    text-align: center;
    padding: 16px;
  }
  
  .timeline-year {
    width: auto;
    margin-bottom: 12px;
    align-self: center;
  }
  
  .summary-stats {
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 16px;
  }
  
  .credentials-summary {
    padding: 20px;
  }
  
  .education-item {
    flex-direction: column;
    text-align: center;
  }
  
  .education-year {
    width: auto;
    margin-bottom: 12px;
  }
}

@media (max-width: 480px) {
  .professional-credentials h3 {
    font-size: 24px;
  }
  
  .tab-btn {
    padding: 12px 8px;
    font-size: 13px;
  }
  
  .credential-highlight {
    padding: 20px;
  }
  
  .honors-showcase {
    gap: 30px;
  }
  
  .featured-honors h4,
  .honors-timeline h4 {
    font-size: 20px;
  }
  
  .credential-highlight.featured i {
    font-size: 32px;
  }
  
  .timeline-item {
    padding: 12px;
  }
  
  .timeline-year {
    width: auto;
    font-size: 13px;
    padding: 6px 4px;
  }
  
  .timeline-content h5 {
    font-size: 15px;
  }
  
  .timeline-content h5 {
    font-size: 16px;
  }
  
  .timeline-content p {
    font-size: 13px;
  }
  
  .timeline-year {
    font-size: 14px;
    padding: 8px 6px;
  }
  
  .award-type {
    font-size: 11px;
    padding: 3px 8px;
  }
  
  .summary-stats {
    grid-template-columns: 1fr;
    gap: 12px;
  }
  
  .stat-number {
    font-size: 24px;
  }
  
  .stat-label {
    font-size: 13px;
  }
  
  .credentials-summary {
    margin-top: 30px;
    padding: 16px;
  }
  
  .association-item {
    flex-direction: column;
    text-align: center;
  }
  
  .association-item i {
    margin-top: 0;
  }
}

/* Mobile Responsive Styles for Grid Carousels */
@media (max-width: 768px) {
  .testimonials-carousel-wrapper,
  .faq-carousel-wrapper {
    padding: 0 30px;
  }
  
  .testimonials-prev,
  .testimonials-next,
  .faq-prev,
  .faq-next {
    width: 40px;
    height: 40px;
    font-size: 14px;
  }
}

@media (max-width: 480px) {
  .testimonials-carousel-wrapper,
  .faq-carousel-wrapper {
    padding: 0 20px;
  }
  
  .testimonials-prev,
  .testimonials-next,
  .faq-prev,
  .faq-next {
    width: 36px;
    height: 36px;
    font-size: 12px;
  }
  
  .testimonials-indicators,
  .faq-indicators {
    gap: 8px;
  }
  
  .testimonials-indicator,
  .faq-indicator {
    width: 10px;
    height: 10px;
  }
} 