/* Professional Law Office Theme for akrac.cz */

:root {
  /* Professional Color Palette - Matching akrac.cz */
  --primary-color: rgb(14, 32, 80);
  --secondary-color: rgb(45, 90, 135);
  --accent-color: #c53030;
  --text-color: #2d3748;
  --text-light: #718096;
  --background: #ffffff;
  --background-light: #f7fafc;
  --border-color: #e2e8f0;
  --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
  
  /* Typography - Clean 2-font system */
  --font-primary: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-heading: 'Playfair Display', Georgia, 'Times New Roman', serif;
}

/* Reset and Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: var(--font-primary);
  line-height: 1.6;
  color: var(--text-color);
  background-color: var(--background);
  padding: 0 !important; /* Override existing padding */
  max-width: none !important; /* Override existing max-width */
  margin: 0 !important; /* Override existing margin */
}

/* Typography - Unified System */
/* All headings use serif font for elegance */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 600;
  line-height: 1.3;
  margin-bottom: 1rem;
  color: var(--primary-color);
}

/* All body text uses sans-serif for readability */
body, p, span, div, a, li, td, th, input, textarea, button {
  font-family: var(--font-primary);
}

/* Navigation and UI elements */
.header, .header-content, .menu, .menu a, .language-switcher, .nav-contact-btn {
  font-family: var(--font-primary);
}

/* Hero section typography */
.hero h1, .hero h2, .hero h3 {
  font-family: var(--font-heading);
}

.hero p, .hero span, .hero div {
  font-family: var(--font-primary);
}

h1 {
  font-size: 2.5rem;
  margin-bottom: 1.5rem;
}

h2 {
  font-size: 2rem;
  margin-bottom: 1.25rem;
}

h3 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

p {
  margin-bottom: 1rem;
  color: var(--text-color);
}

a {
  color: var(--primary-color);
  text-decoration: none;
  transition: color 0.3s ease;
}

a:hover {
  color: var(--accent-color);
}

/* Language Switcher */
.language-switcher {
  display: flex;
  gap: 0.75rem;
  margin-left: 1.5rem;
  align-items: center;
}

.language-switcher .lang-link {
  padding: 0.4rem 0.8rem;
  font-size: 1.8rem;
  border-radius: 0.5rem;
  background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
  border: 2px solid var(--border-color);
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 4.5rem;
  height: 2.2rem;
  text-decoration: none;
  position: relative;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.language-switcher .lang-link::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
  opacity: 0;
  transition: opacity 0.3s ease;
  border-radius: 0.75rem;
}

.language-switcher .lang-link.active {
  background: linear-gradient(135deg, #f0f4ff 0%, #e6f0ff 100%);
  color: var(--primary-color);
  border-color: var(--primary-color);
  font-weight: 600;
  transform: scale(1.05);
  box-shadow: 0 4px 16px rgba(59, 130, 246, 0.2);
}

.language-switcher .lang-link.active::before {
  opacity: 0;
}

.language-switcher .lang-link:not(.active):hover {
  transform: translateY(-3px) scale(1.05);
  box-shadow: 0 6px 20px rgba(59, 130, 246, 0.3);
  border-color: var(--primary-color);
}

.language-switcher .lang-link:not(.active):hover::before {
  opacity: 0.1;
}

.language-switcher .lang-link span {
  position: relative;
  z-index: 1;
  font-size: 1.8rem;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
}

/* Main Content */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0;
}

/* Ensure main content doesn't overlap with header */
.main {
  margin-top: 110px;
  padding-top: 0;
  position: relative;
  z-index: 1;
}

/* Hero Section */
.hero {
  background: linear-gradient(rgba(14, 32, 80, 0.8), rgba(14, 32, 80, 0.8)), url('../images/background_homepage.jpg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  color: white;
  padding: 4rem 0 0 0;
  text-align: center;
  display: flex;
  align-items: center;
}

.hero .container {
  width: 100%;
  padding: 0;
}

.hero-content {
  display: flex;
  align-items: center;
  gap: 3rem;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

.hero-text {
  flex: 1;
  text-align: left;
}

.hero-image {
  flex: 1;
  text-align: center;
  margin: 0;
  padding: 0;
}

.person-image {
  max-width: 100%;
  height: auto;
  max-height: 500px;
  object-fit: contain;
  margin: 0;
  padding: 0;
  display: block;
}

.hero h1 {
  color: white;
  font-size: 3rem;
  margin-bottom: 1rem;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.hero p {
  font-size: 1.25rem;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 2rem;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

.hero .btn {
  display: inline-block;
  background-color: var(--accent-color);
  color: white;
  padding: 1rem 2rem;
  border-radius: 0.5rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  transition: all 0.3s ease;
}

.hero .btn:hover {
  background-color: #9c2626;
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

/* Home Content Styling */
.home-content {
  padding: 4rem 0;
}

.intro-section {
  text-align: center;
  margin-bottom: 4rem;
}

.intro-text {
  font-size: 1.25rem;
  line-height: 1.8;
  color: var(--text-light);
  max-width: 800px;
  margin: 0 auto;
}

.services-section {
  margin-bottom: 4rem;
}

.services-section h2 {
  text-align: center;
  margin-bottom: 3rem;
  font-size: 2.5rem;
  color: var(--primary-color);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-bottom: 3rem;
}

.service-card {
  background: white;
  padding: 2rem;
  border-radius: 1rem;
  box-shadow: var(--shadow);
  text-align: center;
  transition: all 0.3s ease;
  border: 1px solid var(--border-color);
}

.service-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
  border-color: var(--primary-color);
}

.service-icon {
  font-size: 3rem;
  margin-bottom: 1rem;
  display: block;
}

.service-card h3 {
  color: var(--primary-color);
  font-size: 1.5rem;
  margin-bottom: 1rem;
  font-weight: 600;
}

.service-card p {
  color: var(--text-light);
  line-height: 1.6;
  margin: 0;
}

.values-section {
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
  color: white;
  padding: 4rem 0;
  border-radius: 1rem;
  text-align: center;
}

.values-content h2 {
  color: white;
  font-size: 2.5rem;
  margin-bottom: 1.5rem;
}

.values-content p {
  font-size: 1.25rem;
  line-height: 1.8;
  margin-bottom: 2rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
  color: white;
}

.btn-secondary {
  background-color: white;
  color: var(--primary-color);
  padding: 1rem 2rem;
  border-radius: 0.5rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  transition: all 0.3s ease;
  display: inline-block;
  text-decoration: none;
}

.btn-secondary:hover {
  background-color: var(--accent-color);
  color: white;
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

.quick-nav h2 {
  margin-bottom: 2rem;
  color: var(--primary-color);
}

.quick-nav nav {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1rem;
  max-width: 800px;
  margin: 0 auto;
}

.quick-nav a {
  background-color: white;
  padding: 1.5rem;
  border-radius: 0.5rem;
  box-shadow: var(--shadow);
  transition: all 0.3s ease;
  font-weight: 500;
}

.quick-nav a:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  color: var(--accent-color);
}

/* Content Sections */
.text {
  font-size: 1.125rem;
  line-height: 1.8;
  margin-bottom: 2rem;
}

.text h2 {
  margin-top: 2rem;
  margin-bottom: 1rem;
  color: var(--primary-color);
}

.text h3 {
  margin-top: 1.5rem;
  margin-bottom: 0.75rem;
  color: var(--secondary-color);
}

.text ul, .text ol {
  margin: 1rem 0;
  padding-left: 2rem;
}

.text li {
  margin-bottom: 0.5rem;
}

/* Contact Form */
.contact-form {
  background-color: var(--background-light);
  padding: 2rem;
  border-radius: 0.5rem;
  box-shadow: var(--shadow);
  margin-top: 2rem;
}

.contact-form h2 {
  margin-bottom: 1.5rem;
  color: var(--primary-color);
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-group label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 500;
  color: var(--text-color);
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 0.75rem;
  border: 1px solid var(--border-color);
  border-radius: 0.375rem;
  font-size: 1rem;
  transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--primary-color);
  box-shadow: 0 0 0 3px rgba(26, 54, 93, 0.1);
}

button[type="submit"] {
  background-color: var(--primary-color);
  color: white;
  padding: 0.75rem 2rem;
  border: none;
  border-radius: 0.375rem;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
}

button[type="submit"]:hover {
  background-color: var(--secondary-color);
  transform: translateY(-1px);
  box-shadow: var(--shadow);
}

/* Blog Cards */
.blog-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

.blog-card {
  background-color: white;
  border-radius: 0.5rem;
  box-shadow: var(--shadow);
  overflow: hidden;
  transition: all 0.3s ease;
}

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

.blog-card-content {
  padding: 1.5rem;
}

.blog-card h3 {
  margin-bottom: 0.75rem;
  color: var(--primary-color);
}

.blog-card .date {
  color: var(--text-light);
  font-size: 0.875rem;
  margin-bottom: 1rem;
}

.blog-card p {
  color: var(--text-color);
  margin-bottom: 1rem;
}

.blog-card a {
  color: var(--accent-color);
  font-weight: 500;
}

/* Alerts */
.alert {
  padding: 1rem;
  border-radius: 0.375rem;
  margin-bottom: 1rem;
}

.alert.success {
  background-color: #f0fff4;
  border: 1px solid #9ae6b4;
  color: #22543d;
}

.alert.error {
  background-color: #fed7d7;
  border: 1px solid #feb2b2;
  color: #742a2a;
}

/* Footer */
.footer {
  background-color: var(--primary-color);
  color: white;
  padding: 2rem 0;
  text-align: center;
  margin-top: 4rem;
}

.footer p {
  color: rgba(255, 255, 255, 0.8);
}

/* Responsive Design */
/* Mobile Menu Toggle Button */
.mobile-menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: space-around;
  width: 30px;
  height: 30px;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0;
  z-index: 10;
  position: relative;
}

.mobile-menu-toggle span {
  width: 25px;
  height: 3px;
  background-color: #1a365d;
  border-radius: 3px;
  transition: all 0.3s ease;
  transform-origin: 1px;
  display: block;
  margin: 2px 0;
}

.mobile-menu-toggle.active span:first-child {
  transform: rotate(45deg);
}

.mobile-menu-toggle.active span:nth-child(2) {
  opacity: 0;
}

.mobile-menu-toggle.active span:last-child {
  transform: rotate(-45deg);
}

/* Medium screens - fix navbar overlap */
@media (max-width: 1200px) and (min-width: 769px) {
  .header {
    height: 110px;
  }
  
  .header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: nowrap;
    gap: 1rem;
    padding: 1rem 2rem;
    height: 100%;
  }
  
  .logo-image {
    height: 60px;
    max-width: 250px;
  }
  
  .menu {
    display: flex;
    align-items: center;
    flex-wrap: nowrap;
    gap: 1rem;
    justify-content: center;
    order: 2;
    width: auto;
  }
  
  .menu a {
    font-size: 0.9rem;
    padding: 0.4rem 0.8rem;
  }
  
  .language-switcher {
    order: 3;
    margin-left: auto;
  }
  
  .main {
    margin-top: 110px;
  }
}

@media (max-width: 768px) {
  .mobile-menu-toggle {
    display: flex !important;
    visibility: visible !important;
    opacity: 1 !important;
  }
  
  .header-content {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    padding: 1rem;
    position: relative;
  }
  
  .menu {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: rgb(14, 32, 80);
    flex-direction: column;
    gap: 0;
    padding: 0;
    transform: translateY(-100%);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  }
  
  .menu.mobile-open {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
  }
  
  .menu a {
    display: block;
    padding: 1rem 2rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    text-align: left;
    color: white !important;
    background: transparent !important;
  }
  
  .menu a:hover {
    background-color: rgba(255, 255, 255, 0.1) !important;
    color: white !important;
  }
  
  .menu a:last-child {
    border-bottom: none;
  }
  
  .language-switcher {
    display: flex;
    gap: 0.5rem;
    margin: 1rem 2rem 0.5rem 2rem;
    order: 3;
    justify-content: center;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 1rem;
  }
  
  .language-switcher .lang-link {
    width: 3.8rem;
    height: 2rem;
    font-size: 1.5rem;
    padding: 0.3rem 0.6rem;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: white;
  }
  
  .language-switcher .lang-link:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.3);
  }
  
  .language-switcher .lang-link.active {
    background: rgba(255, 255, 255, 0.2);
    border-color: white;
    color: white;
    font-weight: 600;
  }
  
  .language-switcher .lang-link span {
    font-size: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    color: white;
  }
  
  .hero {
    padding: 2rem 0 0 0;
  }
  
  .hero-content {
    flex-direction: column;
    gap: 2rem;
    text-align: center;
  }
  
  .hero-text {
    text-align: center;
  }
  
  .hero h1 {
    font-size: 2rem;
  }
  
  .hero p {
    font-size: 1rem;
  }
  
  .person-image {
    max-height: 300px;
  }
  
  .logo-image {
    height: 45px;
    max-width: 200px;
  }
  
  .container {
    padding: 1rem;
  }
  
  .hero .container {
    padding: 0;
  }
  
  .hero-content {
    padding: 0 1rem;
  }
  
  .quick-nav nav {
    grid-template-columns: 1fr;
  }
}

/* Contact Page Layout */
.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  margin: 2rem 0;
}

.contact-left {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.contact-info {
  background: var(--background-light);
  padding: 2rem;
  border-radius: 0.5rem;
  box-shadow: var(--shadow);
}

.contact-info h2 {
  color: var(--primary-color);
  margin-bottom: 1.5rem;
  font-size: 1.5rem;
}

.contact-details {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.contact-item h3 {
  color: var(--primary-color);
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.contact-item p {
  margin: 0;
  font-size: 1rem;
  line-height: 1.5;
}

.contact-item a {
  color: var(--primary-color);
  text-decoration: none;
  transition: color 0.3s ease;
}

.contact-item a:hover {
  color: var(--secondary-color);
}

.contact-map {
  background: var(--background-light);
  padding: 2rem;
  border-radius: 0.5rem;
  box-shadow: var(--shadow);
}

.contact-map h3 {
  color: var(--primary-color);
  margin-bottom: 1rem;
  font-size: 1.2rem;
}

.map-container {
  border-radius: 0.5rem;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.contact-right {
  display: flex;
  flex-direction: column;
}

.contact-form {
  background: var(--background-light);
  padding: 2rem;
  border-radius: 0.5rem;
  box-shadow: var(--shadow);
  height: fit-content;
}

.contact-form h2 {
  color: var(--primary-color);
  margin-bottom: 1.5rem;
  font-size: 1.5rem;
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-group label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 500;
  color: var(--text-color);
  font-size: 0.9rem;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 0.75rem;
  border: 1px solid var(--border-color);
  border-radius: 0.25rem;
  font-size: 1rem;
  font-family: var(--font-primary);
  transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--primary-color);
  box-shadow: 0 0 0 2px rgba(14, 32, 80, 0.1);
}

.btn-primary {
  background: var(--primary-color);
  color: white;
  padding: 0.75rem 2rem;
  border: none;
  border-radius: 0.25rem;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  width: 100%;
}

.btn-primary:hover {
  background: var(--secondary-color);
  transform: translateY(-1px);
  box-shadow: 0 4px 8px rgba(14, 32, 80, 0.3);
}

/* Full-width map below contact info and form */
.contact-map-full {
  background: var(--background-light);
  padding: 2rem;
  border-radius: 0.5rem;
  box-shadow: var(--shadow);
  margin-top: 2rem;
  width: 100%;
}

.contact-map-full h3 {
  color: var(--primary-color);
  margin-bottom: 1rem;
  font-size: 1.2rem;
  text-align: center;
}

.contact-map-full .map-container {
  border-radius: 0.5rem;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  width: 100%;
}

/* Mobile responsiveness for contact page */
@media (max-width: 768px) {
  .contact-layout {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .contact-left {
    order: 2;
  }

  .contact-right {
    order: 1;
  }
  
  .contact-map-full {
    margin-top: 1rem;
    padding: 1rem;
  }
}

/* Modern Footer Styles */
.footer {
  background: var(--primary-color);
  color: white;
  padding: 4rem 0 0;
  margin-top: 4rem;
}

.footer-main {
  margin-bottom: 3rem;
}

.footer-brand {
  margin-bottom: 2rem;
}

.footer-brand h3 {
  color: white;
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  font-family: var(--font-heading);
}

.footer-brand p {
  color: rgba(255, 255, 255, 0.8);
  font-size: 1rem;
  margin: 0;
}

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

.contact-section {
  min-height: auto;
}

.contact-section h4 {
  color: white;
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 0.75rem;
  font-family: var(--font-heading);
}

.contact-section p {
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.9rem;
  line-height: 1.5;
  margin: 0;
}

.contact-section a {
  color: rgba(255, 255, 255, 0.9);
  text-decoration: none;
  transition: color 0.3s ease;
}

.contact-section a:hover {
  color: var(--secondary-color);
}

.contact-section ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.contact-section li {
  margin: 0.5rem 0;
}

.contact-section li a {
  color: rgba(255, 255, 255, 0.9);
  text-decoration: none;
  transition: color 0.3s ease;
  font-size: 0.9rem;
}

.contact-section li a:hover {
  color: var(--secondary-color);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  padding: 1.5rem 0;
}

.footer-bottom-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer-bottom-content p {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.9rem;
  margin: 0;
}

.footer-legal {
  display: flex;
  gap: 1.5rem;
}

.footer-legal a {
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  font-size: 0.9rem;
  transition: all 0.3s ease;
  padding: 0.5rem 1rem;
  border-radius: 4px;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.footer-legal a:hover {
  color: white;
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.3);
}

/* Mobile Footer */
@media (max-width: 768px) {
  .footer {
    padding: 3rem 0 0;
  }
  
  .footer-contact-grid {
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 1.5rem;
  }
  
  .footer-bottom-content {
    flex-direction: column;
    text-align: center;
    gap: 1rem;
  }
  
  .footer-legal {
    justify-content: center;
  }
}

/* References Page - Professional Design */
.references-hero {
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
  color: white;
  padding: 4rem 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.references-hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="50" cy="50" r="0.5" fill="white" opacity="0.1"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
  opacity: 0.1;
}

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

.references-hero h1 {
  font-size: 3rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: white;
  text-shadow: 0 2px 4px rgba(0,0,0,0.3);
}

.references-hero .subtitle {
  font-size: 1.25rem;
  opacity: 0.9;
  max-width: 600px;
  margin: 0 auto;
  font-weight: 300;
  color: white;
}

.references-content {
  padding: 4rem 0;
  background: var(--background);
}

.references-section {
  margin-bottom: 3rem;
  padding: 2rem;
  background: white;
  border-radius: 12px;
  box-shadow: var(--shadow);
  border-left: 4px solid var(--primary-color);
  transition: all 0.3s ease;
}

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

.references-section h2 {
  font-size: 1.75rem;
  margin-bottom: 1.5rem;
  color: var(--primary-color);
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.references-section h2::before {
  content: '';
  width: 4px;
  height: 2rem;
  background: var(--primary-color);
  border-radius: 2px;
}

.references-section p {
  font-size: 1.1rem;
  line-height: 1.8;
  color: var(--text-color);
  margin-bottom: 1.5rem;
}

.references-section p:last-child {
  margin-bottom: 0;
}

.references-text {
  font-size: 1.1rem;
  line-height: 1.8;
  color: var(--text-color);
}

.references-text p {
  margin-bottom: 1.5rem;
}

.references-text p:last-child {
  margin-bottom: 0;
}

.references-text strong {
  font-weight: 600;
  color: var(--primary-color);
}

.references-text em {
  font-style: italic;
  color: var(--secondary-color);
}

.references-principles {
  background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
  border: 2px solid var(--border-color);
  border-radius: 16px;
  padding: 2.5rem;
  margin: 3rem 0;
  position: relative;
}

.references-principles::before {
  content: '⚖️';
  position: absolute;
  top: -1rem;
  left: 2rem;
  background: white;
  padding: 0.5rem 1rem;
  border-radius: 50px;
  font-size: 1.5rem;
  border: 2px solid var(--primary-color);
}

.references-principles h3 {
  font-size: 1.5rem;
  color: var(--primary-color);
  margin-bottom: 1.5rem;
  text-align: center;
}

.references-principles ul {
  list-style: none;
  padding: 0;
}

.references-principles li {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem 0;
  border-bottom: 1px solid var(--border-color);
  font-size: 1.1rem;
  font-weight: 500;
}

.references-principles li:last-child {
  border-bottom: none;
}

.references-principles li::before {
  content: '✓';
  background: var(--primary-color);
  color: white;
  width: 2rem;
  height: 2rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  font-size: 1rem;
  flex-shrink: 0;
}

.references-cta {
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
  color: white;
  padding: 3rem 2rem;
  border-radius: 16px;
  text-align: center;
  margin: 3rem 0;
  position: relative;
  overflow: hidden;
}

.references-cta::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="dots" width="20" height="20" patternUnits="userSpaceOnUse"><circle cx="10" cy="10" r="1" fill="white" opacity="0.1"/></pattern></defs><rect width="100" height="100" fill="url(%23dots)"/></svg>');
  opacity: 0.3;
}

.references-cta .container {
  position: relative;
  z-index: 2;
}

.references-cta h3 {
  font-size: 2rem;
  margin-bottom: 1rem;
  color: white;
}

.references-cta p {
  font-size: 1.2rem;
  margin-bottom: 2rem;
  opacity: 0.9;
  color: white;
}

.references-cta .btn {
  background: white;
  color: var(--primary-color);
  padding: 1rem 2rem;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 600;
  font-size: 1.1rem;
  transition: all 0.3s ease;
  display: inline-block;
  box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}

.references-cta .btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0,0,0,0.3);
}

/* Responsive Design for References */
@media (max-width: 768px) {
  .references-hero h1 {
    font-size: 2.5rem;
  }
  
  .references-hero .subtitle {
    font-size: 1.1rem;
  }
  
  .references-section {
    padding: 1.5rem;
  }
  
  .references-principles {
    padding: 2rem 1.5rem;
  }
  
  .references-principles li {
    flex-direction: column;
    text-align: center;
    gap: 0.5rem;
  }
  
  .references-cta {
    padding: 2rem 1.5rem;
  }
  
  .references-cta h3 {
    font-size: 1.5rem;
  }
}

/* About Page - Professional Design */
.about-hero {
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
  color: white;
  padding: 4rem 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.about-hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="50" cy="50" r="0.5" fill="white" opacity="0.1"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
  opacity: 0.1;
}

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

.about-hero h1 {
  font-size: 3rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: white;
  text-shadow: 0 2px 4px rgba(0,0,0,0.3);
}

.about-hero .subtitle {
  font-size: 1.25rem;
  opacity: 0.9;
  max-width: 600px;
  margin: 0 auto;
  font-weight: 300;
  color: white;
}

.about-content {
  padding: 4rem 0;
  background: var(--background);
}

.about-section {
  margin-bottom: 3rem;
  padding: 2rem;
  background: white;
  border-radius: 12px;
  box-shadow: var(--shadow);
  border-left: 4px solid var(--primary-color);
}

.about-intro {
  font-size: 1.1rem;
  line-height: 1.8;
  color: var(--text-color);
}

.about-intro strong {
  font-weight: 600;
  color: var(--primary-color);
}

.about-profile {
  margin: 3rem 0;
  padding: 2rem;
  background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
  border-radius: 16px;
  border: 2px solid var(--border-color);
}

.about-profile-content {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 3rem;
  align-items: center;
}

.about-profile-text {
  font-size: 1.1rem;
  line-height: 1.8;
  color: var(--text-color);
}

.about-profile-text h2 {
  font-size: 1.75rem;
  margin-bottom: 1.5rem;
  color: var(--primary-color);
}

.about-profile-text strong {
  font-weight: 600;
  color: var(--primary-color);
}

.about-profile-image {
  text-align: center;
}

.lawyer-photo {
  width: 100%;
  max-width: 280px;
  height: auto;
  border-radius: 12px;
  box-shadow: var(--shadow-lg);
  transition: transform 0.3s ease;
}

.lawyer-photo:hover {
  transform: scale(1.02);
}

.about-values {
  margin: 3rem 0;
  padding: 2rem;
  background: white;
  border-radius: 12px;
  box-shadow: var(--shadow);
  border-left: 4px solid var(--secondary-color);
}

.about-values-content {
  font-size: 1.1rem;
  line-height: 1.8;
  color: var(--text-color);
}

.about-values-content h2 {
  font-size: 1.75rem;
  margin-bottom: 1.5rem;
  color: var(--primary-color);
}

.about-values-content ul {
  list-style: none;
  padding: 0;
}

.about-values-content li {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem 0;
  border-bottom: 1px solid var(--border-color);
  font-size: 1.1rem;
  font-weight: 500;
}

.about-values-content li:last-child {
  border-bottom: none;
}

.about-values-content li::before {
  content: '✓';
  background: var(--primary-color);
  color: white;
  width: 2rem;
  height: 2rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  font-size: 1rem;
  flex-shrink: 0;
}

.about-location {
  margin: 3rem 0;
  padding: 2rem;
  background: white;
  border-radius: 12px;
  box-shadow: var(--shadow);
  border-left: 4px solid var(--accent-color);
}

.about-location-content {
  font-size: 1.1rem;
  line-height: 1.8;
  color: var(--text-color);
}

.about-location-content h2 {
  font-size: 1.75rem;
  margin-bottom: 1.5rem;
  color: var(--primary-color);
}

.about-location-content strong {
  font-weight: 600;
  color: var(--primary-color);
}

.about-cta {
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
  color: white;
  padding: 3rem 2rem;
  border-radius: 16px;
  text-align: center;
  margin: 3rem 0;
  position: relative;
  overflow: hidden;
}

.about-cta::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="dots" width="20" height="20" patternUnits="userSpaceOnUse"><circle cx="10" cy="10" r="1" fill="white" opacity="0.1"/></pattern></defs><rect width="100" height="100" fill="url(%23dots)"/></svg>');
  opacity: 0.3;
}

.about-cta .container {
  position: relative;
  z-index: 2;
}

.about-cta h3 {
  font-size: 2rem;
  margin-bottom: 1rem;
  color: white;
}

.about-cta p {
  font-size: 1.2rem;
  margin-bottom: 2rem;
  opacity: 0.9;
  color: white;
}

.about-cta .btn {
  background: white;
  color: var(--primary-color);
  padding: 1rem 2rem;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 600;
  font-size: 1.1rem;
  transition: all 0.3s ease;
  display: inline-block;
  box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}

.about-cta .btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0,0,0,0.3);
}

/* Responsive Design for About Page */
@media (max-width: 768px) {
  .about-hero h1 {
    font-size: 2.5rem;
  }

  .about-hero .subtitle {
    font-size: 1.1rem;
  }

  .about-section,
  .about-profile,
  .about-values,
  .about-location {
    padding: 1.5rem;
  }

  .about-profile-content {
    grid-template-columns: 1fr;
    gap: 2rem;
    text-align: center;
  }

  .about-values-content li {
    flex-direction: column;
    text-align: center;
    gap: 0.5rem;
  }

  .about-cta {
    padding: 2rem 1.5rem;
  }

  .about-cta h3 {
    font-size: 1.5rem;
  }
}

/* Services Page - Professional Design */
.services-hero {
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
  color: white;
  padding: 4rem 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.services-hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="legal" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="50" cy="50" r="0.5" fill="white" opacity="0.1"/></pattern></defs><rect width="100" height="100" fill="url(%23legal)"/></svg>');
  opacity: 0.1;
}

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

.services-hero h1 {
  font-size: 3rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: white;
  text-shadow: 0 2px 4px rgba(0,0,0,0.3);
}

.services-hero .subtitle {
  font-size: 1.25rem;
  opacity: 0.9;
  max-width: 600px;
  margin: 0 auto;
  font-weight: 300;
  color: white;
}

.services-content {
  padding: 4rem 0;
  background: var(--background);
}

.services-section {
  margin-bottom: 3rem;
  padding: 2rem;
  background: white;
  border-radius: 12px;
  box-shadow: var(--shadow);
  border-left: 4px solid var(--primary-color);
}

.services-intro {
  font-size: 1.1rem;
  line-height: 1.8;
  color: var(--text-color);
}

.services-intro h2 {
  font-size: 1.75rem;
  margin-bottom: 1.5rem;
  color: var(--primary-color);
}

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

.service-card {
  background: white;
  border-radius: 16px;
  padding: 2rem;
  box-shadow: var(--shadow);
  border: 2px solid var(--border-color);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
}

.service-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
  border-color: var(--primary-color);
}

.service-icon {
  font-size: 3rem;
  margin-bottom: 1rem;
  display: block;
}

.service-card h3 {
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
  color: var(--primary-color);
}

.service-content {
  font-size: 1rem;
  line-height: 1.7;
  color: var(--text-color);
}

.service-content h4 {
  font-size: 1.1rem;
  font-weight: 600;
  margin: 1rem 0 0.5rem 0;
  color: var(--primary-color);
}

.service-content ul {
  margin: 1rem 0;
  padding-left: 1.5rem;
}

.service-content li {
  margin-bottom: 0.5rem;
  font-size: 0.95rem;
}

.services-online {
  margin: 3rem 0;
  padding: 2rem;
  background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
  border-radius: 16px;
  border: 2px solid var(--border-color);
}

.services-online-content h2 {
  font-size: 1.75rem;
  margin-bottom: 1.5rem;
  color: var(--primary-color);
}

.online-content {
  font-size: 1.1rem;
  line-height: 1.8;
  color: var(--text-color);
}

.services-approach {
  margin: 3rem 0;
  padding: 2rem;
  background: white;
  border-radius: 12px;
  box-shadow: var(--shadow);
  border-left: 4px solid var(--secondary-color);
}

.services-approach-content h2 {
  font-size: 1.75rem;
  margin-bottom: 1.5rem;
  color: var(--primary-color);
}

.approach-content {
  font-size: 1.1rem;
  line-height: 1.8;
  color: var(--text-color);
}

.approach-content ul {
  list-style: none;
  padding: 0;
}

.approach-content li {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem 0;
  border-bottom: 1px solid var(--border-color);
  font-size: 1.1rem;
  font-weight: 500;
}

.approach-content li:last-child {
  border-bottom: none;
}

.approach-content li::before {
  content: '✓';
  background: var(--primary-color);
  color: white;
  width: 2rem;
  height: 2rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  font-size: 1rem;
  flex-shrink: 0;
}

.services-cta {
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
  color: white;
  padding: 3rem 2rem;
  border-radius: 16px;
  text-align: center;
  margin: 3rem 0;
  position: relative;
  overflow: hidden;
}

.services-cta::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="services-dots" width="20" height="20" patternUnits="userSpaceOnUse"><circle cx="10" cy="10" r="1" fill="white" opacity="0.1"/></pattern></defs><rect width="100" height="100" fill="url(%23services-dots)"/></svg>');
  opacity: 0.3;
}

.services-cta .container {
  position: relative;
  z-index: 2;
}

.services-cta h3 {
  font-size: 2rem;
  margin-bottom: 1rem;
  color: white;
}

.services-cta p {
  font-size: 1.2rem;
  margin-bottom: 2rem;
  opacity: 0.9;
  color: white;
}

.services-cta .btn {
  background: white;
  color: var(--primary-color);
  padding: 1rem 2rem;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 600;
  font-size: 1.1rem;
  transition: all 0.3s ease;
  display: inline-block;
  box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}

.services-cta .btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0,0,0,0.3);
}

/* Responsive Design for Services Page */
@media (max-width: 768px) {
  .services-hero h1 {
    font-size: 2.5rem;
  }

  .services-hero .subtitle {
    font-size: 1.1rem;
  }

  .services-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .service-card {
    padding: 1.5rem;
  }

  .services-section,
  .services-online,
  .services-approach {
    padding: 1.5rem;
  }

  .services-cta {
    padding: 2rem 1.5rem;
  }

  .services-cta h3 {
    font-size: 1.5rem;
  }
}

/* Blog Page - Professional Design */
.blog-hero {
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
  color: white;
  padding: 4rem 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.blog-hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="blog-pattern" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="50" cy="50" r="0.5" fill="white" opacity="0.1"/></pattern></defs><rect width="100" height="100" fill="url(%23blog-pattern)"/></svg>');
  opacity: 0.1;
}

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

.blog-hero h1 {
  font-size: 3rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: white;
  text-shadow: 0 2px 4px rgba(0,0,0,0.3);
}

.blog-hero .subtitle {
  font-size: 1.25rem;
  opacity: 0.9;
  max-width: 600px;
  margin: 0 auto;
  font-weight: 300;
  color: white;
}

.blog-content {
  padding: 4rem 0;
  background: var(--background);
}

.blog-intro {
  margin-bottom: 3rem;
  padding: 2rem;
  background: white;
  border-radius: 12px;
  box-shadow: var(--shadow);
  border-left: 4px solid var(--primary-color);
}

.blog-intro h2 {
  font-size: 1.75rem;
  margin-bottom: 1.5rem;
  color: var(--primary-color);
}

.blog-intro p {
  font-size: 1.1rem;
  line-height: 1.8;
  color: var(--text-color);
}

.blog-posts {
  margin: 3rem 0;
}

.blog-posts h2 {
  font-size: 2rem;
  margin-bottom: 2rem;
  color: var(--primary-color);
  text-align: center;
}

.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
  gap: 2rem;
  margin: 2rem 0;
}

.blog-card {
  background: white;
  border-radius: 16px;
  box-shadow: var(--shadow);
  border: 2px solid var(--border-color);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.blog-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
}

.blog-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
  border-color: var(--primary-color);
}

.blog-card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.5rem 1.5rem 0 1.5rem;
  margin-bottom: 1rem;
}

.blog-category {
  background: var(--primary-color);
  color: white;
  padding: 0.5rem 1rem;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.blog-date {
  color: var(--text-muted);
  font-size: 0.9rem;
  font-weight: 500;
}

.blog-card-content {
  padding: 0 1.5rem 1.5rem 1.5rem;
}

.blog-card-content h3 {
  font-size: 1.4rem;
  font-weight: 600;
  margin-bottom: 1rem;
  line-height: 1.4;
}

.blog-card-content h3 a {
  color: var(--text-color);
  text-decoration: none;
  transition: color 0.3s ease;
}

.blog-card-content h3 a:hover {
  color: var(--primary-color);
}

.blog-excerpt {
  font-size: 1rem;
  line-height: 1.7;
  color: var(--text-color);
  margin-bottom: 1.5rem;
}

.blog-card-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 1rem;
  border-top: 1px solid var(--border-color);
}

.blog-read-more {
  background: transparent;
  color: var(--primary-color) !important;
  border: 2px solid var(--primary-color);
  padding: 0.75rem 1.5rem;
  border-radius: 25px;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.9rem;
  transition: all 0.3s ease;
  display: inline-block;
}

.blog-read-more:hover {
  background: var(--primary-color);
  color: white !important;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0,0,0,0.2);
}

.blog-author {
  color: var(--text-muted);
  font-size: 0.9rem;
  font-weight: 500;
}

.blog-empty {
  text-align: center;
  padding: 3rem;
  background: white;
  border-radius: 12px;
  box-shadow: var(--shadow);
}

.blog-empty p {
  font-size: 1.1rem;
  color: var(--text-color);
}

.blog-cta {
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
  color: white;
  padding: 3rem 2rem;
  border-radius: 16px;
  text-align: center;
  margin: 3rem 0;
  position: relative;
  overflow: hidden;
}

.blog-cta::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="blog-cta-dots" width="20" height="20" patternUnits="userSpaceOnUse"><circle cx="10" cy="10" r="1" fill="white" opacity="0.1"/></pattern></defs><rect width="100" height="100" fill="url(%23blog-cta-dots)"/></svg>');
  opacity: 0.3;
}

.blog-cta .container {
  position: relative;
  z-index: 2;
}

.blog-cta h3 {
  font-size: 2rem;
  margin-bottom: 1rem;
  color: white;
}

.blog-cta p {
  font-size: 1.2rem;
  margin-bottom: 2rem;
  opacity: 0.9;
  color: white;
}

.blog-cta .btn {
  background: white;
  color: var(--primary-color);
  padding: 1rem 2rem;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 600;
  font-size: 1.1rem;
  transition: all 0.3s ease;
  display: inline-block;
  box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}

.blog-cta .btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0,0,0,0.3);
}

/* Responsive Design for Blog Page */
@media (max-width: 768px) {
  .blog-hero h1 {
    font-size: 2.5rem;
  }

  .blog-hero .subtitle {
    font-size: 1.1rem;
  }

  .blog-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .blog-card {
    margin-bottom: 1rem;
  }

  .blog-card-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
  }

  .blog-card-footer {
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
  }

  .blog-intro,
  .blog-empty {
    padding: 1.5rem;
  }

  .blog-cta {
    padding: 2rem 1.5rem;
  }

  .blog-cta h3 {
    font-size: 1.5rem;
  }
}

/* Print Styles */
@media print {
  .header,
  .footer,
  .quick-nav,
  .contact-form {
    display: none;
  }
  
  body {
    font-size: 12pt;
    line-height: 1.4;
  }
  
  h1, h2, h3 {
    page-break-after: avoid;
  }
}

/* Article Page - Professional Design */
.article-hero {
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
  color: white;
  padding: 3rem 0;
  margin-bottom: 3rem;
}

.article-hero .container {
  max-width: 800px;
}

.article-meta {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.article-category {
  background: rgba(255, 255, 255, 0.2);
  color: white;
  padding: 0.5rem 1rem;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.article-date {
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.9rem;
  font-weight: 500;
}

.article-hero h1 {
  font-size: 2.5rem;
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 1.5rem;
  color: white;
}

.article-author {
  display: flex;
  align-items: center;
  gap: 1rem;
  font-size: 1rem;
}

.author-photo {
  width: 75px;
  height: 75px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid rgba(255, 255, 255, 0.3);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
  display: block;
  flex-shrink: 0;
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
  min-width: 75px;
  min-height: 75px;
}

.author-label {
  color: rgba(255, 255, 255, 0.8);
  font-weight: 500;
}

.author-name {
  color: white;
  font-weight: 600;
}

.article-content {
  padding-bottom: 4rem;
}

.article-body {
  max-width: 800px;
  margin: 0 auto 4rem;
  font-size: 1.1rem;
  line-height: 1.7;
  color: var(--text-color);
}

.article-body h2 {
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--primary-color);
  margin: 2.5rem 0 1.5rem;
  padding-bottom: 0.5rem;
  border-bottom: 3px solid var(--primary-color);
}

.article-body h3 {
  font-size: 1.4rem;
  font-weight: 600;
  color: var(--primary-color);
  margin: 2rem 0 1rem;
}

.article-body p {
  margin-bottom: 1.5rem;
  text-align: justify;
}

.article-body strong {
  font-weight: 600;
  color: var(--primary-color);
}

.article-body em {
  font-style: italic;
  color: var(--secondary-color);
}

.article-body ul, .article-body ol {
  margin: 1.5rem 0;
  padding-left: 2rem;
  list-style-position: outside;
}

.article-body ol {
  list-style: none;
  counter-reset: list-counter;
  padding-left: 0;
}

.article-body ol li {
  counter-increment: list-counter;
  position: relative;
  padding-left: 2rem;
  margin-bottom: 0.5rem;
  line-height: 1.6;
  color: var(--text-color);
}

.article-body ol li::before {
  content: counter(list-counter) ". ";
  position: absolute;
  left: 0;
  color: var(--primary-color);
  font-weight: 600;
  font-size: 1rem;
}

.article-body ul li {
  display: list-item;
  margin-bottom: 0.5rem;
  line-height: 1.6;
  padding-left: 0.5rem;
  color: var(--text-color);
}

.article-body ul li::marker {
  color: var(--primary-color);
  font-weight: 600;
}

.article-body blockquote {
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
  color: white !important;
  padding: 2rem;
  border-radius: 12px;
  margin: 2rem 0;
  font-size: 1.1rem;
  font-weight: 400;
  border-left: 4px solid var(--accent-color);
  display: block;
  position: relative;
}

.article-body blockquote p {
  color: white !important;
  margin: 0;
  font-weight: 400;
}

.article-body blockquote strong {
  color: white !important;
  font-weight: 600;
}

.article-cta {
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
  color: white;
  padding: 3rem 2rem;
  border-radius: 12px;
  margin: 4rem 0;
  text-align: center;
}

.article-cta h2,
.article-cta p,
.article-cta a {
  color: white !important;
}

.article-cta .cta-button {
  background: white;
  color: var(--primary-color) !important;
  border: 2px solid white;
}

.article-cta .cta-button:hover {
  background: transparent;
  color: white !important;
  border-color: white;
}

.cta-content h3 {
  font-size: 1.8rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: white;
}

.cta-content p {
  font-size: 1.1rem;
  margin-bottom: 2rem;
  color: rgba(255, 255, 255, 0.9);
}

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

.btn-primary {
  background: white;
  color: var(--primary-color);
  padding: 1rem 2rem;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 600;
  font-size: 1rem;
  transition: all 0.3s ease;
  display: inline-block;
  border: 2px solid white;
}

.btn-primary:hover {
  background: transparent;
  color: white;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0,0,0,0.3);
}

.btn-secondary {
  background: transparent;
  color: white;
  padding: 1rem 2rem;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 600;
  font-size: 1rem;
  transition: all 0.3s ease;
  display: inline-block;
  border: 2px solid white;
}

.btn-secondary:hover {
  background: white;
  color: var(--primary-color);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0,0,0,0.3);
}

.related-articles {
  margin-top: 4rem;
  padding-top: 3rem;
  border-top: 2px solid var(--border-color);
}

.related-articles h3 {
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--primary-color);
  margin-bottom: 2rem;
  text-align: center;
}

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

.related-card {
  background: white;
  border-radius: 12px;
  box-shadow: var(--shadow);
  padding: 1.5rem;
  transition: all 0.3s ease;
  border: 1px solid var(--border-color);
}

.related-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
  border-color: var(--primary-color);
}

.related-meta {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1rem;
}

.related-category {
  background: var(--primary-color);
  color: white;
  padding: 0.4rem 0.8rem;
  border-radius: 15px;
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.related-date {
  color: var(--text-muted);
  font-size: 0.9rem;
  font-weight: 500;
}

.related-card h4 {
  margin-bottom: 1rem;
}

.related-card h4 a {
  color: var(--text-color);
  text-decoration: none;
  font-size: 1.1rem;
  font-weight: 600;
  transition: color 0.3s ease;
}

.related-card h4 a:hover {
  color: var(--primary-color);
}

.related-excerpt {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.5;
  margin-bottom: 1rem;
}

.related-read-more {
  color: var(--primary-color);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.9rem;
  transition: color 0.3s ease;
}

.related-read-more:hover {
  color: var(--secondary-color);
}

/* Responsive Design for Article Page */
@media (max-width: 768px) {
  .article-hero {
    padding: 2rem 0;
  }
  
  .article-hero .container {
    padding: 0 1rem;
  }
  
  .article-hero h1 {
    font-size: 2rem;
  }
  
  .article-content {
    padding: 0 1rem 4rem;
  }
  
  .article-body {
    font-size: 1rem;
    padding: 0 1rem;
  }
  
  .article-body h2 {
    font-size: 1.5rem;
  }
  
  .article-body h3 {
    font-size: 1.2rem;
  }
  
  .cta-buttons {
    flex-direction: column;
    align-items: center;
  }
  
  .btn-primary, .btn-secondary {
    width: 100%;
    max-width: 300px;
    text-align: center;
  }
  
  .related-grid {
    grid-template-columns: 1fr;
  }
  
  .article-cta {
    padding: 2rem 1.5rem;
    margin: 2rem 1rem;
  }
  
  .related-articles {
    padding: 0 1rem;
  }
}

/* Contact Form Styles */
.contact-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    margin-top: 2rem;
}

.contact-left {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.contact-info h2 {
    color: var(--primary-color);
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    font-family: 'Playfair Display', serif;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.contact-item h3 {
    color: var(--primary-color);
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.contact-item p {
    color: var(--text-color);
    margin: 0;
}

.contact-item a {
    color: var(--primary-color);
    text-decoration: none;
}

.contact-item a:hover {
    text-decoration: underline;
}

.contact-map h3 {
    color: var(--primary-color);
    font-size: 1.2rem;
    margin-bottom: 1rem;
    font-family: 'Playfair Display', serif;
}

.map-container {
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.contact-form {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 8px 24px rgba(0,0,0,0.1);
    border: 1px solid #e5e7eb;
}

.contact-form h2 {
    color: var(--primary-color);
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    font-family: 'Playfair Display', serif;
}

.form-description {
    color: var(--text-color);
    margin-bottom: 2rem;
    line-height: 1.6;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    color: var(--text-color);
    font-weight: 500;
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.75rem;
    border: 2px solid #e5e7eb;
    border-radius: 8px;
    font-size: 1rem;
    font-family: 'Inter', sans-serif;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
    box-sizing: border-box;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.math-captcha {
    background: #f8fafc;
    padding: 1rem;
    border-radius: 8px;
    border: 1px solid #e2e8f0;
}

.math-captcha label {
    color: var(--primary-color);
    font-weight: 600;
}

.math-captcha input {
    width: 80px;
    margin-top: 0.5rem;
}

.form-privacy {
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid #e5e7eb;
}

.form-privacy small {
    color: #6b7280;
    font-size: 0.8rem;
    line-height: 1.4;
}

/* Consent Checkbox Styling */
.consent-label {
    display: block;
    cursor: pointer;
    font-size: 0.9rem;
    line-height: 1.4;
    color: var(--text-color);
    padding: 8px 8px 8px 34px;
    border-radius: 8px;
    transition: background-color 0.3s ease;
    user-select: none;
    position: relative;
    text-align: justify;
    font-weight: normal;
}

.consent-label .law-firm-name {
    font-weight: bold;
    color: var(--primary-color);
}

.consent-label:hover {
    background-color: #f9fafb;
}

.consent-label input[type="checkbox"] {
    position: absolute;
    opacity: 0;
    pointer-events: none;
    width: 0;
    height: 0;
    margin: 0;
    padding: 0;
    border: none;
}

.checkmark {
    width: 18px;
    height: 18px;
    border: 2px solid #d1d5db;
    border-radius: 4px;
    background: white;
    position: absolute;
    left: 8px;
    top: 50%;
    transform: translateY(-50%);
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: bold;
    color: white;
}

.consent-label input[type="checkbox"]:checked + .checkmark {
    background: var(--primary-color);
    border-color: var(--primary-color);
}

.consent-label input[type="checkbox"]:checked + .checkmark::before {
    content: '✓';
    color: white;
    font-size: 12px;
    font-weight: bold;
}


/* Ensure proper spacing and visibility */
.consent-group {
    margin-bottom: 1.5rem;
    padding: 1rem;
    background: #f8fafc;
    border-radius: 8px;
    border: 1px solid #e2e8f0;
}

.consent-group:hover {
    background: #f1f5f9;
    border-color: var(--primary-color);
}

/* Form Success State */
.contact-form.success {
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.5s ease;
}

.contact-form.success.show {
    opacity: 1;
    transform: translateY(0);
}

.success-message {
    display: none;
    text-align: center;
    padding: 3rem 2rem;
    background: linear-gradient(135deg, #d1fae5 0%, #a7f3d0 100%);
    border-radius: 12px;
    border: 1px solid #a7f3d0;
}

.success-message.show {
    display: block;
    animation: fadeInUp 0.6s ease;
}

.success-message h3 {
    color: #065f46;
    font-size: 1.5rem;
    margin-bottom: 1rem;
    font-family: 'Playfair Display', serif;
}

.success-message p {
    color: #047857;
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.success-message .btn-secondary {
    background: #065f46;
    color: white;
    padding: 0.75rem 2rem;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    display: inline-block;
}

.success-message .btn-secondary:hover {
    background: #047857;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(6, 95, 70, 0.3);
}

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

#submit-btn {
    width: 100%;
    padding: 1rem;
    font-size: 1rem;
    font-weight: 600;
    transition: all 0.3s ease;
}

#submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(59, 130, 246, 0.3);
}

#submit-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

/* Alert Styles */
.alert {
    padding: 1rem;
    border-radius: 8px;
    margin-bottom: 2rem;
    font-weight: 500;
}

.alert-success {
    background: #d1fae5;
    color: #065f46;
    border: 1px solid #a7f3d0;
}

.alert-error {
    background: #fee2e2;
    color: #991b1b;
    border: 1px solid #fca5a5;
}

/* Contact Form Responsive */
@media (max-width: 768px) {
    .contact-layout {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .contact-form {
        padding: 1.5rem;
    }
    
    .contact-details {
        gap: 1rem;
    }
    
    /* Larger checkbox for mobile touch */
    .consent-label {
        padding: 12px 12px 12px 50px;
        font-size: 1rem;
        line-height: 1.5;
        text-align: justify;
    }
    
    .checkmark {
        width: 28px;
        height: 28px;
        left: 12px;
        font-size: 16px;
    }
    
    .consent-label input[type="checkbox"]:checked + .checkmark::before {
        font-size: 16px;
    }
}

/* New Contact Page Layout */
.contact-form-section {
    margin-bottom: 4rem;
}

.contact-form-section .contact-form {
    max-width: 800px;
    margin: 0 auto;
}

.contact-info-section {
    margin-bottom: 4rem;
    padding: 3rem 0;
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    border-radius: 12px;
}

.contact-info-section .contact-info {
    max-width: 800px;
    margin: 0 auto;
}

.contact-info-section h2 {
    text-align: center;
    color: var(--primary-color);
    font-size: 2rem;
    margin-bottom: 2rem;
    font-family: 'Playfair Display', serif;
}

.contact-details {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
}

.contact-item {
    text-align: center;
    padding: 1.5rem;
    background: white;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.contact-item h3 {
    color: var(--primary-color);
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.contact-item p {
    color: var(--text-color);
    font-size: 1rem;
    margin: 0;
}

.contact-item a {
    color: var(--primary-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

.contact-item a:hover {
    color: var(--secondary-color);
}

.contact-map-section {
    margin-bottom: 2rem;
}

.contact-map-section h3 {
    text-align: center;
    color: var(--primary-color);
    font-size: 1.5rem;
    margin-bottom: 2rem;
    font-family: 'Playfair Display', serif;
}

.map-container {
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 16px rgba(0,0,0,0.1);
}

/* Mobile Responsive for New Layout */
@media (max-width: 768px) {
    .contact-form-section {
        margin-bottom: 3rem;
    }
    
    .contact-info-section {
        margin-bottom: 3rem;
        padding: 2rem 1rem;
    }
    
    .contact-info-section h2 {
        font-size: 1.5rem;
    }
    
    .contact-details {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .contact-item {
        padding: 1rem;
    }
    
    .contact-map-section h3 {
        font-size: 1.25rem;
    }
}
