/* Reset and Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --primary-color: #2c3e50;
  --secondary-color: #c0392b;
  --accent-color: #e74c3c;
  --text-color: #333;
  --light-gray: #f5f6fa;
  --dark-gray: #2c3e50;
  --white: #ffffff;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  color: var(--text-color);
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Header Styles */
header {
  background-color: var(--white);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  position: fixed;
  width: 100%;
  top: 0;
  z-index: 1000;
}

header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 20px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
}

.logo i {
  font-size: 2rem;
  color: var(--secondary-color);
}

.logo h1 {
  color: var(--primary-color);
  font-size: 1.8rem;
  font-weight: 700;
}

nav ul {
  display: flex;
  list-style: none;
  gap: 2rem;
}

nav ul li a {
  text-decoration: none;
  color: var(--primary-color);
  font-weight: 500;
  transition: all 0.3s ease;
}

nav ul li a:hover {
  color: var(--secondary-color);
}

nav ul li a.cta-btn {
  background-color: var(--secondary-color);
  color: var(--white);
  padding: 0.8rem 1.5rem;
  border-radius: 5px;
  transition: all 0.3s ease;
}

nav ul li a.cta-btn:hover {
  background-color: var(--accent-color);
  transform: translateY(-2px);
}

/* Hero Section */
.hero {
  background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)),
              url('https://images.unsplash.com/photo-1589829545856-d10d557cf95f?ixlib=rb-1.2.1&auto=format&fit=crop&w=1950&q=80');
  background-size: cover;
  background-position: center;
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding-top: 80px;
}

.hero-content {
  color: var(--white);
  max-width: 800px;
  padding: 0 20px;
}

.hero-content h2 {
  font-size: clamp(1.5rem, 6vw, 3.5rem);
  margin-bottom: 1.5rem;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.hero-content p {
  font-size: 1.3rem;
  margin-bottom: 2.5rem;
}

.hero-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
}

.primary-btn, .secondary-btn {
  display: inline-block;
  padding: 1rem 2rem;
  border-radius: 5px;
  font-weight: bold;
  text-decoration: none;
  transition: all 0.3s ease;
}

.primary-btn {
  background-color: var(--secondary-color);
  color: var(--white);
}

.secondary-btn {
  background-color: transparent;
  color: var(--white);
  border: 2px solid var(--white);
}

.primary-btn:hover, .secondary-btn:hover {
  transform: translateY(-2px);
}

/* Practice Areas Section */
.practice-areas {
  padding: 5rem 0;
  background-color: var(--light-gray);
}

.practice-areas h2 {
  text-align: center;
  font-size: 2.5rem;
  margin-bottom: 3rem;
  color: var(--primary-color);
}

.areas-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
}

.area-card {
  background: var(--white);
  padding: 2rem;
  border-radius: 10px;
  text-align: center;
  transition: all 0.3s ease;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.area-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 15px rgba(0, 0, 0, 0.2);
}

.area-card i {
  font-size: 2.5rem;
  color: var(--secondary-color);
  margin-bottom: 1rem;
}

.area-card h3 {
  color: var(--primary-color);
  margin-bottom: 1rem;
}

/* Attorneys Section */
.attorneys {
  padding: 4rem 0;
  background-color: var(--light-gray);
  position: relative;
}

.attorneys::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="25" cy="25" r="1" fill="rgba(0,0,0,0.03)"/><circle cx="75" cy="75" r="1" fill="rgba(0,0,0,0.03)"/><circle cx="50" cy="10" r="0.5" fill="rgba(0,0,0,0.02)"/><circle cx="10" cy="60" r="0.5" fill="rgba(0,0,0,0.02)"/><circle cx="90" cy="40" r="0.5" fill="rgba(0,0,0,0.02)"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
  opacity: 0.1;
}

.attorneys .container {
  position: relative;
  z-index: 1;
}

.attorneys h2 {
  color: var(--primary-color);
  text-align: center;
  margin-bottom: 3rem;
  font-size: 2.5rem;
  font-weight: 700;
  position: relative;
  animation: fadeInUp 1s ease-out;
}

.attorneys h2::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background: linear-gradient(90deg, #e74c3c, #3498db, #2ecc71);
  border-radius: 2px;
  animation: expandWidth 1.5s ease-out 0.5s both;
}

@keyframes fadeInUp {
  0% {
    opacity: 0;
    transform: translateY(30px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes expandWidth {
  0% {
    width: 0;
  }
  100% {
    width: 80px;
  }
}

.attorneys-slider {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 420px;
  margin-bottom: 2rem;
}

.attorneys-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: flex-start;
  gap: 2rem;
  padding: 2rem 0;
  position: relative;
}

.attorney-card {
  max-width: 380px;
  min-width: 280px;
  margin: 0 auto;
  padding: 2rem 1.5rem 2rem 1.5rem;
  border-radius: 20px;
  box-shadow: 0 10px 40px rgba(44,62,80,0.15);
  background: linear-gradient(145deg, #ffffff, #f8f9fa);
  display: flex;
  flex-direction: column;
  align-items: center;
  transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  position: relative;
  overflow: hidden;
  cursor: pointer;
}

.attorney-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, 
    transparent, 
    rgba(231,76,60,0.1), 
    transparent);
  transition: left 0.6s ease;
}

.attorney-card:hover::before {
  left: 100%;
}

.attorney-card:nth-child(odd) {
  animation: cardFloatOdd 6s ease-in-out infinite 1s;
}

.attorney-card:nth-child(even) {
  animation: cardFloatEven 6s ease-in-out infinite reverse 1s;
}

@keyframes cardFloatOdd {
  0%, 100% { transform: translateY(5px) rotate(0deg); }
  50% { transform: translateY(-5px) rotate(0.5deg); }
}

@keyframes cardFloatEven {
  0%, 100% { transform: translateY(-5px) rotate(0deg); }
  50% { transform: translateY(5px) rotate(-0.5deg); }
}

.attorney-card:hover {
  box-shadow: 0 20px 60px rgba(44,62,80,0.25);
  transform: translateY(-15px) scale(1.05) rotate(2deg);
  background: linear-gradient(145deg, #ffffff, #f0f2f5);
}

.attorney-card:nth-child(3n+1) {
  border-left: 4px solid #e74c3c;
}

.attorney-card:nth-child(3n+2) {
  border-left: 4px solid #3498db;
}

.attorney-card:nth-child(3n+3) {
  border-left: 4px solid #2ecc71;
}

/* Simplified entrance animations */
.attorney-card {
  opacity: 1 !important;
  visibility: visible !important;
  animation: cardEnter 1s ease-out;
}

.attorney-card:nth-child(1) { animation-delay: 0.1s; }
.attorney-card:nth-child(2) { animation-delay: 0.2s; }
.attorney-card:nth-child(3) { animation-delay: 0.3s; }
.attorney-card:nth-child(4) { animation-delay: 0.4s; }
.attorney-card:nth-child(5) { animation-delay: 0.5s; }
.attorney-card:nth-child(6) { animation-delay: 0.6s; }
.attorney-card:nth-child(7) { animation-delay: 0.7s; }

@keyframes cardEnter {
  0% {
    transform: translateY(30px) scale(0.95);
    opacity: 0.7;
  }
  100% {
    transform: translateY(0) scale(1);
    opacity: 1;
  }
}

/* Reduce motion for users who prefer it */
@media (prefers-reduced-motion: reduce) {
  .attorney-card,
  .attorney-card:nth-child(odd),
  .attorney-card:nth-child(even),
  .attorneys h2 {
    animation: none !important;
  }
  
  .attorney-card {
    opacity: 1 !important;
    transform: none !important;
  }
}

.attorney-card .attorney-photo {
  width: 140px;
  height: 140px;
  border-radius: 50%;
  object-fit: cover;
  border: 4px solid var(--secondary-color);
  margin-bottom: 1.5rem;
  background: #f5f6fa;
  box-shadow: 0 8px 25px rgba(44,62,80,0.2);
  transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  position: relative;
  z-index: 2;
}

.attorney-card:hover .attorney-photo {
  transform: scale(1.1) rotate(5deg);
  box-shadow: 0 15px 40px rgba(44,62,80,0.3);
  border-width: 5px;
}

.attorney-card .attorney-photo::before {
  content: '';
  position: absolute;
  top: -10px;
  left: -10px;
  right: -10px;
  bottom: -10px;
  border-radius: 50%;
  background: conic-gradient(from 0deg, #e74c3c, #3498db, #2ecc71, #f39c12, #e74c3c);
  z-index: -1;
  opacity: 0;
  transition: opacity 0.4s ease;
}

.attorney-card:hover .attorney-photo::before {
  opacity: 0.7;
  animation: rotate 3s linear infinite;
}

@keyframes rotate {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

.content-wrapper h3 {
  color: var(--primary-color);
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 0.2rem;
  transition: all 0.3s ease;
  text-align: center;
}

.attorney-card:hover .content-wrapper h3 {
  transform: translateY(-5px);
  color: #1a252f;
  text-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.content-wrapper .position {
  color: var(--secondary-color);
  font-size: 1rem;
  transition: all 0.3s ease;
  text-align: center;
}

.attorney-card:hover .content-wrapper .position {
  transform: translateY(-3px);
  font-weight: 600;
}

.content-wrapper {
  margin-bottom: 0.7rem;
}

.know-more-btn {
  margin-top: 0.7rem;
  width: 100%;
  font-size: 0.98rem;
  padding: 0.7rem 0;
}

@media (max-width: 900px) {
  .attorneys-grid {
    gap: 1.5rem;
  }
  .attorney-card {
    padding: 1.8rem 1rem 1.5rem 1rem;
    max-width: 240px;
  }
  .attorney-photo {
    width: 95px;
    height: 95px;
    border: 3px solid var(--secondary-color);
  }
  .content-wrapper h3 {
    font-size: 1.1rem;
  }
  .content-wrapper .position {
    font-size: 0.95rem;
  }
}

@media (max-width: 600px) {
  .attorneys-grid {
    gap: 0.8rem;
  }
  .attorney-card {
    padding: 1.2rem 0.5rem 1rem 0.5rem;
    max-width: 100%;
  }
  .attorney-photo {
    width: 75px;
    height: 75px;
    border: 3px solid var(--secondary-color);
  }
  .content-wrapper h3 {
    font-size: 1rem;
  }
  .content-wrapper .position {
    font-size: 0.85rem;
  }
}

/* Consultation Section */
.consultation {
  padding: 5rem 0;
  background: linear-gradient(rgba(0, 0, 0, 0.8), rgba(0, 0, 0, 0.8)),
              url('https://images.unsplash.com/photo-1589829545856-d10d557cf95f?ixlib=rb-1.2.1&auto=format&fit=crop&w=1950&q=80');
  background-size: cover;
  background-position: center;
  color: var(--white);
}

.consultation-content {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}

.consultation-content h2 {
  font-size: 2.5rem;
  margin-bottom: 1.5rem;
}

.consultation-benefits {
  list-style: none;
  margin: 2rem 0;
  display: block;
  text-align: center;
}

.consultation-benefits li {
  margin: 1rem 0;
  font-size: 1.1rem;
}

.consultation-benefits i {
  color: var(--secondary-color);
  margin-right: 0.7rem;
  font-size: 1.4em;
}

/* Contact Section */
.contact {
  padding: 5rem 0;
  background-color: var(--light-gray);
}

.contact h2 {
  text-align: center;
  font-size: 2.5rem;
  margin-bottom: 3rem;
  color: var(--primary-color);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 2rem;
}

.contact-info {
  background: var(--primary-color);
  color: var(--white);
  padding: 2rem;
  border-radius: 10px;
}

.contact-info h3 {
  margin-bottom: 2rem;
  font-size: 1.5rem;
}

.info-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.info-item i {
  color: var(--secondary-color);
  font-size: 1.2rem;
}

.contact-form {
  background: var(--white);
  padding: 2rem;
  border-radius: 10px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-group label {
  display: block;
  margin-bottom: 0.5rem;
  color: var(--primary-color);
  font-weight: 500;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 0.8rem;
  border: 1px solid #ddd;
  border-radius: 5px;
  font-size: 1rem;
  transition: all 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--secondary-color);
  box-shadow: 0 0 0 2px rgba(192, 57, 43, 0.1);
}

.form-group textarea {
  height: 150px;
  resize: vertical;
}

.submit-btn {
  width: 100%;
  padding: 1rem;
  background-color: var(--secondary-color);
  color: var(--white);
  border: none;
  border-radius: 5px;
  font-size: 1rem;
  font-weight: bold;
  cursor: pointer;
  transition: all 0.3s ease;
}

.submit-btn:hover {
  background-color: var(--accent-color);
  transform: translateY(-2px);
}

/* Footer */
footer {
  background-color: var(--dark-gray);
  color: var(--white);
  padding: 4rem 0 2rem;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin-bottom: 2rem;
}

.footer-section h3 {
  margin-bottom: 1.5rem;
  font-size: 1.2rem;
}

.footer-section ul {
  list-style: none;
}

.footer-section ul li {
  margin-bottom: 0.8rem;
}

.footer-section a {
  color: var(--white);
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-section a:hover {
  color: var(--secondary-color);
}

.social-links {
  display: flex;
  gap: 1rem;
}

.social-links a {
  font-size: 1.5rem;
}

.footer-bottom {
  text-align: center;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* Responsive Design */
@media (max-width: 768px) {
  /* Header & Navigation */
  .mobile-nav-toggle {
    display: block;
  }

  header .container {
    padding: 1rem;
  }

  nav {
    position: fixed;
    top: 80px;
    left: 0;
    width: 100%;
    background: var(--white);
    padding: 1rem;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    transform: translateY(-150%);
    transition: transform 0.3s ease;
  }

  nav.active {
    transform: translateY(0);
  }

  nav ul {
    flex-direction: column;
    gap: 1rem;
  }

  nav ul li {
    width: 100%;
    text-align: center;
  }

  nav ul li a {
    display: block;
    padding: 0.8rem;
    border-radius: 5px;
  }

  nav ul li a:hover {
    background-color: var(--light-gray);
  }

  nav ul li a.cta-btn {
    margin-top: 1rem;
  }

  /* Hero Section */
  .hero {
    height: auto;
    min-height: 100vh;
    padding: 120px 0 60px;
  }

  .hero-content h2 {
    font-size: 2.2rem;
    line-height: 1.2;
  }

  .hero-content p {
    font-size: 1.1rem;
  }

  .hero-buttons {
    flex-direction: column;
    gap: 1rem;
  }

  .primary-btn, .secondary-btn {
    width: 100%;
    text-align: center;
  }

  /* Practice Areas */
  .practice-areas {
    padding: 4rem 0;
  }

  .areas-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
    padding: 0 1rem;
  }

  .area-card {
    padding: 1.5rem;
  }

  /* Attorneys Section */
  .attorneys {
    padding: 4rem 0;
  }

  .attorneys-grid {
    gap: 1.5rem;
    padding: 0 1rem;
  }

  .attorney-card {
    padding: 1.5rem 1rem 1.2rem 1rem;
    max-width: 100%;
  }

  .attorney-photo {
    width: 90px;
    height: 90px;
    border: 3px solid var(--secondary-color);
  }

  .content-wrapper h3 {
    font-size: 1.1rem;
  }

  .content-wrapper .position {
    font-size: 0.9rem;
  }

  /* Consultation Section */
  .consultation {
    padding: 4rem 0;
  }

  .consultation-content {
    padding: 0 1rem;
  }

  .consultation-benefits {
    text-align: left;
    padding-left: 1rem;
  }

  /* Contact Section */
  .contact {
    padding: 4rem 0;
  }

  .contact-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
    padding: 0 1rem;
  }

  .contact-info {
    padding: 1.5rem;
  }

  .contact-form {
    padding: 1.5rem;
  }

  .form-group input,
  .form-group select,
  .form-group textarea {
    padding: 1rem;
    font-size: 16px; /* Prevents zoom on iOS */
  }

  /* Footer */
  .footer-content {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 2rem;
    padding: 0 1rem;
  }

  .social-links {
    justify-content: center;
  }
}

@media (max-width: 480px) {
  .hero-content h2 {
    font-size: 2rem;
  }

  .hero-content p {
    font-size: 1rem;
  }

  .practice-areas h2,
  .attorneys h2,
  .consultation h2,
  .contact h2 {
    font-size: 2rem;
  }

  .attorney-card {
    padding: 1rem 0.5rem 0.8rem 0.5rem;
  }

  .attorney-photo {
    width: 70px;
    height: 70px;
    border: 2px solid var(--secondary-color);
  }

  .content-wrapper h3 {
    font-size: 1rem;
  }

  .content-wrapper .position {
    font-size: 0.85rem;
  }
}

/* Mobile Navigation */
.mobile-nav-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--primary-color);
  font-size: 1.5rem;
  cursor: pointer;
  padding: 0.5rem;
}

/* Small Mobile Devices */
@media (max-width: 480px) {
  .container {
    padding: 0 15px;
  }

  .hero-content h2 {
    font-size: 2rem;
  }

  .hero-content p {
    font-size: 1rem;
  }

  h2 {
    font-size: 2rem !important;
  }

  h3 {
    font-size: 1.3rem !important;
  }

  .area-card i {
    font-size: 2rem;
  }

  .consultation-benefits li {
    font-size: 1rem;
  }
}

/* Tablet Devices */
@media (min-width: 769px) and (max-width: 1024px) {
  .container {
    padding: 0 2rem;
  }

  .areas-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .attorneys-grid {
    justify-content: space-evenly;
  }
}

/* Touch Device Optimizations */
@media (hover: none) {
  .area-card:hover,
  .attorney-card:hover,
  .primary-btn:hover,
  .secondary-btn:hover,
  .submit-btn:hover {
    transform: none;
  }

  nav ul li a,
  .form-group input,
  .form-group select,
  .form-group textarea {
    font-size: 16px; /* Prevents zoom on iOS */
  }
}

/* Know More Button Styles */
.know-more-btn {
  background: linear-gradient(135deg, var(--secondary-color), #d32f2f);
  color: var(--white);
  border: none;
  padding: 0.8rem 1.5rem;
  position: relative;
  overflow: hidden;
  z-index: 1;
  border-radius: 5px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  margin-top: 1rem;
  width: 100%;
  font-size: 0.95rem;
}

.know-more-btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(255,255,255,0.2), rgba(255,255,255,0.1));
  transition: left 0.5s ease;
  z-index: -1;
}

.know-more-btn:hover::before {
  left: 100%;
}

.know-more-btn:hover {
  background: linear-gradient(135deg, #e74c3c, #c0392b);
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(231,76,60,0.4);
}

.attorney-card:hover .know-more-btn {
  transform: translateY(-2px);
  box-shadow: 0 6px 15px rgba(231,76,60,0.3);
}

/* Modal Styles */
.modal {
  display: none;
  position: fixed;
  z-index: 1000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  animation: fadeIn 0.3s ease;
}

.modal-content {
  background-color: var(--white);
  margin: 5% auto;
  padding: 0;
  border-radius: 10px;
  width: 90%;
  max-width: 600px;
  max-height: 80vh;
  overflow-y: auto;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
  animation: slideIn 0.3s ease;
}

.modal-header {
  padding: 1.5rem;
  border-bottom: 1px solid #eee;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background-color: var(--light-gray);
  border-radius: 10px 10px 0 0;
}

.modal-header h2 {
  margin: 0;
  color: var(--primary-color);
  font-size: 1.5rem;
}

.close {
  color: #aaa;
  font-size: 28px;
  font-weight: bold;
  cursor: pointer;
  transition: color 0.3s ease;
}

.close:hover {
  color: var(--secondary-color);
}

.modal-body {
  padding: 1.5rem;
}

.attorney-details {
  display: grid;
  gap: 1.5rem;
}

.attorney-image {
  text-align: center;
  margin-bottom: 1rem;
}

.attorney-image img {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  object-fit: cover;
  border: 4px solid var(--secondary-color);
}

.attorney-info h3 {
  color: var(--primary-color);
  margin-bottom: 0.5rem;
  font-size: 1.3rem;
}

.attorney-info .position {
  color: var(--secondary-color);
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.attorney-info .specialty {
  color: var(--text-color);
  font-style: italic;
  margin-bottom: 1rem;
}

.detail-section {
  background-color: var(--light-gray);
  padding: 1rem;
  border-radius: 8px;
  border-left: 4px solid var(--secondary-color);
}

.detail-section h4 {
  color: var(--primary-color);
  margin-bottom: 0.5rem;
  font-size: 1.1rem;
}

.detail-section ul {
  list-style: none;
  padding-left: 0;
}

.detail-section li {
  padding: 0.3rem 0;
  border-bottom: 1px solid #ddd;
}

.detail-section li:last-child {
  border-bottom: none;
}

.detail-section li i {
  color: var(--secondary-color);
  margin-right: 0.5rem;
  width: 16px;
}

/* Animations */
@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes slideIn {
  from { transform: translateY(-50px); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}

/* Responsive Modal */
@media (max-width: 768px) {
  .modal-content {
    width: 95%;
    margin: 10% auto;
    max-height: 85vh;
  }
  
  .modal-header {
    padding: 1rem;
  }
  
  .modal-header h2 {
    font-size: 1.3rem;
  }
  
  .modal-body {
    padding: 1rem;
  }
  
  .attorney-image img {
    width: 100px;
    height: 100px;
  }
  
  .detail-section {
    padding: 0.8rem;
  }
}

@media (max-width: 480px) {
  .modal-content {
    width: 98%;
    margin: 5% auto;
  }
  
  .modal-header h2 {
    font-size: 1.2rem;
  }
  
  .attorney-image img {
    width: 80px;
    height: 80px;
  }
  
  .detail-section {
    padding: 0.6rem;
  }
  
  .detail-section h4 {
    font-size: 1rem;
  }
}

.attorney-modal-section {
  margin-bottom: 1.5rem;
  padding: 0.5rem 0 0.5rem 0.5rem;
  background: #f8f9fa;
  border-radius: 8px;
  box-shadow: 0 1px 4px rgba(44,62,80,0.04);
}

.attorney-modal-title {
  font-weight: 700;
  color: var(--primary-color);
  font-size: 1.1rem;
  margin-bottom: 0.3rem;
  margin-top: 0.5rem;
  letter-spacing: 0.5px;
}

.attorney-modal-text {
  color: #333;
  font-size: 1rem;
  margin-bottom: 0.5rem;
  line-height: 1.6;
}

.attorney-modal-list {
  margin: 0.5rem 0 0.5rem 1.2rem;
  padding-left: 1.2rem;
  color: #444;
  font-size: 0.98rem;
  line-height: 1.6;
}

.attorney-modal-list li {
  margin-bottom: 0.3rem;
  list-style: disc;
}

.slider-controls {
  display: flex;
  justify-content: center;
  gap: 2rem;
  margin-bottom: 1.5rem;
}

.slider-arrow {
  background: var(--secondary-color);
  color: #fff;
  border: none;
  border-radius: 50%;
  width: 48px;
  height: 48px;
  font-size: 2rem;
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(44,62,80,0.10);
  transition: background 0.2s, transform 0.2s;
}

.slider-arrow:hover {
  background: var(--accent-color);
  transform: scale(1.08);
}

/* Language Switcher Styles */
.language-switcher {
  display: flex;
  gap: 8px;
  margin-left: 20px;
}

.lang-btn {
  padding: 8px 12px;
  border: 2px solid #2c3e50;
  background: transparent;
  color: #2c3e50;
  border-radius: 6px;
  cursor: pointer;
  font-size: 14px;
  font-weight: 600;
  transition: all 0.3s ease;
  min-width: 50px;
  text-align: center;
}

.lang-btn:hover {
  background: #2c3e50;
  color: white;
}

.lang-btn.active {
  background: #2c3e50;
  color: white;
}

/* Mobile responsive for language switcher */
@media (max-width: 768px) {
  .language-switcher {
    margin-left: 0;
    margin-top: 15px;
    justify-content: center;
  }
  
  .lang-btn {
    padding: 6px 10px;
    font-size: 12px;
    min-width: 40px;
  }
}

/* Ensure proper spacing in header */
header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
}

header nav {
  display: flex;
  align-items: center;
}

/* Translation loading state */
.translating {
  opacity: 0.7;
  pointer-events: none;
} 