/* Avvocà Legal Services - CSS Identico alla Versione Angular */

/* Reset Bootstrap Navbar Conflicts */
.navbar-nav {
  flex-direction: row !important;
}

.navbar-nav .nav-link {
  padding-right: 0 !important;
  padding-left: 0 !important;
}

.navbar-collapse {
  flex-basis: auto !important;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  line-height: 1.6;
  color: #333;
  background-color: #fff;
}

/* Main content spacing for fixed navbar */
.main-content {
  padding-top: 76px;
}

/* Home Container */
.home-container {
  width: 100%;
}

/* Hero Section */
.hero {
  position: relative;
  /*min-height: 100vh;*/
  display: flex;
  align-items: center;
  overflow: hidden;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.hero-background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #2c3e50 0%, #3498db 50%, #667eea 100%);
}

.hero-content {
  position: relative;
  z-index: 2;
  /*width: 100%;*/
  padding: 2rem 0;
}

.hero-text {
  text-align: center;
  color: white;
  max-width: 800px;
  margin: 0 auto;
}

.hero-logo-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: 2rem;
}

.hero-logo {
  /*width: 120px;*/
  height: 120px;
  border-radius: 50%;
  margin-bottom: 1rem;
  /*box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);*/
  object-fit: cover;
}

.hero-badge {
  background: rgba(255, 255, 255, 0.2);
  padding: 0.5rem 1.5rem;
  border-radius: 25px;
  font-size: 0.9rem;
  font-weight: 500;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.3);
}

.hero h1 {
  font-size: 3.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
  line-height: 1.2;
}

.hero h2 {
  font-size: 2rem;
  font-weight: 300;
  margin-bottom: 2rem;
  line-height: 1.3;
}

.highlight {
  color: #ffd700;
  font-weight: 600;
}

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

.hero-features {
  display: flex;
  justify-content: center;
  gap: 3rem;
  margin-bottom: 3rem;
  flex-wrap: wrap;
}

.hero-feature {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 1rem;
  font-weight: 500;
}

.hero-feature i {
  font-size: 1.2rem;
  color: #ffd700;
}

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

.btn-primary, .btn-secondary, .btn-outline {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 1rem 2rem;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  font-size: 1.1rem;
  transition: all 0.3s ease;
  cursor: pointer;
  border: none;
}

.btn-primary {
  background: linear-gradient(135deg, #ffd700 0%, #ffed4e 100%);
  color: #333;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(255, 215, 0, 0.4);
  color: #333;
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.2);
  color: white;
  border: 1px solid rgba(255, 255, 255, 0.3);
  backdrop-filter: blur(10px);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.3);
  transform: translateY(-2px);
  color: white;
}

.btn-outline {
  background: transparent;
  color: #667eea;
  border: 2px solid #667eea;
}

.btn-outline:hover {
  background: #667eea;
  color: white;
  transform: translateY(-2px);
}

/* Services Preview Section */
.services-preview {
  padding: 5rem 0;
  background: #f8f9fa;
}

/* Services Carousel */
.services-carousel-container {
  position: relative;
  max-width: 900px;
  margin: 0 auto;
}

.services-carousel {
  position: relative;
  overflow: hidden;
  border-radius: 20px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
}

.service-slide {
  display: none;
  width: 100%;
  opacity: 0;
  transform: translateX(30px);
  transition: all 0.5s ease;
}

.service-slide.active {
  display: block;
  opacity: 1;
  transform: translateX(0);
}

.service-slide .service-card {
  background: white;
  padding: 3rem;
  text-align: center;
  border-radius: 20px;
  margin: 0;
  border: none;
  box-shadow: none;
  position: relative;
  min-height: 550px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.service-slide .service-card.featured {
  background: linear-gradient(135deg, #fff 0%, #fffdf0 100%);
  border: 2px solid #ffd700;
}

.service-slide .featured-badge {
  position: absolute;
  top: -15px;
  right: 30px;
  background: rgba(255, 255, 255, 0.2);
  color: #fff;
  padding: 0.5rem 1.5rem;
  border-radius: 25px;
  font-size: 0.9rem;
  font-weight: 500;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.3);
  box-shadow: 0 5px 20px rgba(255, 255, 255, 0.1);
  animation: pulse 3s infinite;
}

@keyframes pulse {
  0%, 100% { 
    transform: scale(1);
    box-shadow: 0 8px 25px rgba(243, 156, 18, 0.4);
  }
  50% { 
    transform: scale(1.05);
    box-shadow: 0 8px 25px rgba(243, 156, 18, 0.6), 0 0 0 10px rgba(243, 156, 18, 0.1);
  }
}

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

/* Badge "Più Richiesto" - Stile identico a quello della home */
.featured-badge {
  position: absolute;
  top: -10px;
  left: 50%;
  transform: translateX(-50%);
  background: #ff6b6b;
  color: white;
  padding: 6px 16px;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 600;
}

.service-slide .service-icon {
  width: 80px;
  height: 80px;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 2rem;
  color: white;
  font-size: 2rem;
  box-shadow: 0 10px 30px rgba(102, 126, 234, 0.3);
}

.service-slide .service-card h4 {
  font-size: 1.8rem;
  font-weight: 700;
  color: #333;
  margin-bottom: 1.5rem;
}

.service-slide .service-card p {
  color: #666;
  line-height: 1.8;
  margin-bottom: 2rem;
  font-size: 1.1rem;
}

.service-slide .service-price {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-weight: 600;
  margin-bottom: 2rem;
}

.service-slide .price {
  font-size: 2.5rem;
  color: #667eea;
  font-weight: 700;
}

.service-slide .period {
  color: #999;
  font-size: 1rem;
}

.service-features {
  display: flex;
  justify-content: space-around;
  margin: 2rem 0;
  flex-wrap: wrap;
  gap: 1rem;
}

.service-features .feature {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: #666;
  font-size: 0.9rem;
}

.service-features .feature i {
  color: #667eea;
  font-size: 1rem;
}

.btn-service-cta {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  border: none;
  padding: 1rem 2rem;
  border-radius: 50px;
  font-weight: 600;
  font-size: 1.1rem;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  margin: 0 auto;
  box-shadow: 0 5px 20px rgba(102, 126, 234, 0.3);
}

.btn-service-cta:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 30px rgba(102, 126, 234, 0.4);
}

/* Carousel Navigation */
.carousel-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2rem;
  margin-top: 2rem;
}

.carousel-btn {
  width: 50px;
  height: 50px;
  border: none;
  border-radius: 50%;
  background: white;
  color: #667eea;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.carousel-btn:hover {
  background: #667eea;
  color: white;
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(102, 126, 234, 0.3);
}

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

.carousel-dots {
  display: flex;
  gap: 0.5rem;
}

.dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #ddd;
  cursor: pointer;
  transition: all 0.3s ease;
}

.dot.active {
  background: #667eea;
  transform: scale(1.2);
}

.dot:hover {
  background: #667eea;
}

/* Services CTA */
.services-cta {
  text-align: center;
  margin-top: 5.rem;
}

/* Areas of Law Section */
.areas-of-law {
  padding: 5rem 0;
  background: white;
}

.law-areas-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

.law-area {
  text-align: center;
  padding: 2rem 1rem;
  border-radius: 12px;
  transition: all 0.3s ease;
}

.law-area:hover {
  background: #f8f9fa;
  transform: translateY(-5px);
}

.law-icon {
  width: 80px;
  height: 80px;
  background: linear-gradient(135deg, #667eea 0%, #2a3f6c 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
  color: white;
  font-size: 2rem;
}

.law-area h4 {
  font-size: 1.3rem;
  font-weight: 600;
  color: #333;
  margin-bottom: 1rem;
}

.law-area p {
  color: #666;
  line-height: 1.6;
}

/* Why Choose Section */
.why-choose {
  padding: 5rem 0;
  background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

.why-content {
  max-width: 1200px;
  margin: 0 auto;
}

.why-text h3 {
  font-size: 2.5rem;
  font-weight: 700;
  color: #333;
  text-align: center;
  margin-bottom: 1rem;
}

.why-subtitle {
  font-size: 1.2rem;
  color: #666;
  text-align: center;
  margin-bottom: 4rem;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

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

.why-feature {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1.5rem;
  background: white;
  border-radius: 12px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
}

.why-feature:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.feature-icon {
  width: 50px;
  height: 50px;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1.2rem;
  flex-shrink: 0;
}

.feature-content h5 {
  font-size: 1.2rem;
  font-weight: 600;
  color: #333;
  margin-bottom: 0.5rem;
}

.feature-content p {
  color: #666;
  line-height: 1.6;
  margin: 0;
}

/* CTA Section */
.cta-section {
  padding: 5rem 0;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  text-align: center;
}

.cta-content {
  max-width: 800px;
  margin: 0 auto;
  color: white;
}

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

.cta-content p {
  font-size: 1.2rem;
  margin-bottom: 2rem;
  opacity: 0.95;
}

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

/* Container */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

/* Responsive Design */
@media (max-width: 768px) {
  .hero h1 {
    font-size: 2.5rem;
  }
  
  .hero h2 {
    font-size: 1.5rem;
  }
  
  .hero-description {
    font-size: 1rem;
  }
  
  .hero-features {
    gap: 1.5rem;
    flex-direction: column;
    align-items: center;
  }
  
  .cta-buttons {
    flex-direction: column;
    align-items: center;
  }
  
  .btn-primary, .btn-secondary, .btn-outline {
    width: 100%;
    max-width: 300px;
  }
  
  .services-grid {
    grid-template-columns: 1fr;
  }
  
  .law-areas-grid {
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  }
  
  .why-features {
    grid-template-columns: 1fr;
  }
  
  .section-header h3 {
    font-size: 2rem;
  }
  
  .cta-content h3 {
    font-size: 2rem;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 1rem;
  }
  
  .hero {
    min-height: 80vh;
  }
  

  
  .hero h1 {
    font-size: 2rem;
  }
  
  .hero h2 {
    font-size: 1.3rem;
  }
  
  .service-card, .why-feature {
    padding: 1.5rem;
  }
}

/* SERVICES PAGE STYLES - IDENTICI ALLA VERSIONE ANGULAR */
.services-container {
  min-height: 100vh;
  background-color: #f8f9fa;
}

.services-header {
  background: linear-gradient(135deg, #2c3e50 0%, #3498db 50%, #667eea 100%) !important;
  color: white !important;
  padding: 5rem 0 3rem !important;
  text-align: center !important;
  margin-bottom: 0 !important;
}

.services-header h1 {
  font-size: 3.5rem !important;
  margin-bottom: 1.5rem !important;
  font-weight: 700 !important;
  color: white !important;
}

.services-header p {
  font-size: 1.3rem !important;
  opacity: 0.95 !important;
  max-width: 700px !important;
  margin: 0 auto !important;
  color: white !important;
  line-height: 1.6 !important;
}

.services-content {
  padding: 3rem 0;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
  gap: 2rem;
  margin-bottom: 4rem;
  max-width: 1400px;
  margin-left: auto;
  margin-right: auto;
}

.service-card {
  background: white;
  border-radius: 16px;
  padding: 2rem;
  box-shadow: 0 4px 6px rgba(0,0,0,0.1);
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
  height: 100%;
  /*min-width: 500px;*/
  position: relative;
}

.service-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.15);
}

/* SINGOLO SERVIZIO - LAYOUT DETTAGLIATO IDENTICO ANGULAR */
.service-icon-large {
  width: 120px !important;
  height: 120px !important;
  background: linear-gradient(135deg, #667eea 0%, #2a3f6c 100%) !important;
  border-radius: 50% !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  margin: 0 auto 2rem !important;
  color: white !important;
  font-size: 3rem !important;
  box-shadow: 0 15px 40px rgba(102, 126, 234, 0.3) !important;
}

.service-title-large {
  font-size: 2.5rem !important;
  font-weight: 700 !important;
  color: #333 !important;
  text-align: center !important;
  margin-bottom: 1rem !important;
}

.service-subtitle {
  font-size: 1.2rem !important;
  color: #2a3f6c !important;
  text-align: center !important;
  margin-bottom: 2rem !important;
  font-weight: 500 !important;
}

/* COSA INCLUDE - LISTA CON CHECKMARKS VERDI */
.service-includes {
  background: white !important;
  border-radius: 12px !important;
  padding: 2rem !important;
  margin: 2rem 0 !important;
  box-shadow: 0 4px 8px rgba(0,0,0,0.1) !important;
}

.service-includes h4 {
  color: #2a3f6c !important;
  font-size: 1.4rem !important;
  font-weight: 600 !important;
  margin-bottom: 1.5rem !important;
  text-align: left !important;
}

.includes-list {
  list-style: none !important;
  padding: 0 !important;
  margin: 0 !important;
}

.includes-list li {
  display: flex !important;
  align-items: center !important;
  padding: 0.5rem 0 !important;
  font-size: 1rem !important;
  color: #333 !important;
}

.includes-list li i {
  color: #28a745 !important;
  margin-right: 1rem !important;
  font-size: 1.2rem !important;
  width: 20px !important;
}

/* PRICING BOXES - STANDARD E URGENTE - SEMPRE AFFIANCATI */
.pricing-options {
  display: flex !important;
  flex-direction: row !important;
  gap: 1.5rem !important;
  margin: 2rem 0 !important;
  flex-wrap: nowrap !important;
}

.pricing-box {
  flex: 1 !important;
  background: #f8f9fa !important;
  border-radius: 12px !important;
  padding: 1.5rem !important;
  text-align: center !important;
  border: none !important;
  min-width: 200px !important;
  max-width: 300px !important;
}

.pricing-box.standard {
  background: #f8f9fa !important;
}

.pricing-box.urgent {
  background: #f8f9fa !important;
}

.pricing-label {
  font-size: 1rem !important;
  font-weight: 600 !important;
  color: #666 !important;
  margin-bottom: 1rem !important;
  text-transform: uppercase !important;
  letter-spacing: 0.5px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 0.5rem !important;
}

.pricing-label i {
  font-size: 1.1rem !important;
}

.pricing-amount {
  font-size: 2.5rem !important;
  font-weight: 700 !important;
  margin-bottom: 0.5rem !important;
}

.pricing-amount.standard {
  color: #2a3f6c !important;
}

.pricing-amount.urgent {
  color: #dc3545 !important;
}

.pricing-timeline {
  font-size: 0.9rem !important;
  color: #666 !important;
  margin-bottom: 0.5rem !important;
}

.pricing-note {
  font-size: 0.8rem !important;
  color: #888 !important;
  font-style: italic !important;
  margin-bottom: 1rem !important;
  line-height: 1.2 !important;
}

/* PULSANTE ORDINA ORA - Stile identico al btn-primary della home */
.btn-primary[_ngcontent-ng-c2036771655],
.btn-order-now {
  display: inline-flex !important;
  align-items: center !important;
  gap: 0.5rem !important;
  padding: 1rem 2rem !important;
  border-radius: 50px !important;
  text-decoration: none !important;
  font-weight: 700 !important;
  font-size: 1.1rem !important;
  transition: all 0.3s ease !important;
  cursor: pointer !important;
  border: none !important;
  background: linear-gradient(135deg, #f39c12, #f1c40f, #f39c12) !important;
  background-size: 200% 200% !important;
  color: #2c3e50 !important;
  width: 100% !important;
  text-align: center !important;
  justify-content: center !important;
  box-shadow: 0 8px 25px rgba(243, 156, 18, 0.4) !important;
  animation: gradientShift 3s ease-in-out infinite, pulse 2s ease-in-out infinite !important;
  position: relative !important;
  overflow: hidden !important;
}

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

.btn-order-now:hover::before {
  left: 100% !important;
}

.btn-primary[_ngcontent-ng-c2036771655]:hover,
.btn-order-now:hover {
  transform: translateY(-3px) scale(1.05) !important;
  box-shadow: 0 15px 40px rgba(243, 156, 18, 0.6) !important;
  color: #2c3e50 !important;
  background: linear-gradient(135deg, #f1c40f, #f39c12, #e67e22) !important;
  text-decoration: none !important;
}

.btn-single {
  padding: 1rem 2rem !important;
  font-size: 1rem !important;
  min-width: 150px !important;
}

/* RESPONSIVE ADJUSTMENTS */
@media (max-width: 480px) {
  .pricing-options {
    flex-direction: column !important;
  }
  
  .service-icon-large {
    width: 100px !important;
    height: 100px !important;
    font-size: 2.5rem !important;
  }
  
  .service-title-large {
    font-size: 2rem !important;
  }
}

/* Desktop e tablet - mantieni affiancati */
@media (min-width: 481px) {
  .pricing-options {
    display: flex !important;
    flex-direction: row !important;
    gap: 1.5rem !important;
  }
  
  .pricing-box {
    flex: 1 !important;
    min-width: 100px !important;
  }
}

/* Services Mobile Optimization */
@media (max-width: 768px) {
  .services-grid {
    grid-template-columns: 1fr !important;
    gap: 1.5rem !important;
    padding: 0 1rem !important;
  }
  
  .service-card {
    padding: 1.5rem !important;
    margin-bottom: 1rem !important;
  }
  
  .service-icon-large {
    width: 80px !important;
    height: 80px !important;
    font-size: 2rem !important;
    margin-bottom: 1.5rem !important;
  }
  
  .service-title-large {
    font-size: 1.8rem !important;
    margin-bottom: 0.8rem !important;
  }
  
  .service-subtitle {
    font-size: 1rem !important;
    margin-bottom: 1.5rem !important;
  }
  
  .service-includes {
    padding: 1.5rem !important;
    margin: 1.5rem 0 !important;
  }
  
  .service-includes h4 {
    font-size: 1.2rem !important;
  }
  
  .includes-list li {
    font-size: 0.9rem !important;
    padding: 0.4rem 0 !important;
  }
  
  .pricing-options {
    flex-direction: column !important;
    gap: 1rem !important;
    margin: 1.5rem 0 !important;
  }
  
  .pricing-box {
    width: 100% !important;
  }
  
  .pricing-amount {
    font-size: 1.8rem !important;
  }
  
  .btn-order-now {
    font-size: 1rem !important;
    padding: 0.8rem 1.5rem !important;
  }
}

@media (max-width: 480px) {
  .services-content {
    padding: 2rem 0 !important;
  }
  
  .service-card {
    padding: 1rem !important;
  }
  
  .service-icon-large {
    width: 70px !important;
    height: 70px !important;
    font-size: 1.8rem !important;
  }
  
  .service-title-large {
    font-size: 1.5rem !important;
  }
  
  .service-subtitle {
    font-size: 0.9rem !important;
  }
  
  .service-includes {
    padding: 1rem !important;
  }
  
  .includes-list li {
    font-size: 0.8rem !important;
  }
  
  .pricing-amount {
    font-size: 1.5rem !important;
  }
}


/* ===== PAGINA ABOUT (CHI SIAMO) ===== */

.about-container {
  min-height: 100vh;
}

/* Hero Section */
.hero {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  padding: 4rem 0;
  text-align: center;
}

.hero h1 {
  font-size: 3.5rem;
  margin-bottom: 1rem;
  font-weight: 700;
}

.hero-subtitle {
  font-size: 1.3rem;
  opacity: 0.9;
  max-width: 600px;
  margin: 0 auto;
}

/* Mission Section */
.mission {
  padding: 5rem 0;
  background: white;
}

.mission-content {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 4rem;
  align-items: center;
}

.mission-text h2 {
  font-size: 2.5rem;
  color: #333;
  margin-bottom: 2rem;
}

.mission-text p {
  font-size: 1.1rem;
  line-height: 1.8;
  color: #666;
  margin-bottom: 1.5rem;
}

.mission-image {
  display: flex;
  justify-content: center;
}

.image-placeholder {
  width: 200px;
  height: 200px;
  background: linear-gradient(135deg, #667eea, #667eea);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.mission-icon {
  font-size: 4rem;
  color: white;
}

/* Values Section */
.values {
  padding: 5rem 0;
  background: #f8f9fa;
}

.values h2 {
  text-align: center;
  font-size: 2.5rem;
  color: #333;
  margin-bottom: 3rem;
}

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

.value-item {
  background: white;
  padding: 2rem;
  border-radius: 12px;
  text-align: center;
  box-shadow: 0 4px 6px rgba(0,0,0,0.1);
  transition: transform 0.3s ease;
}

.value-item:hover {
  transform: translateY(-4px);
}

.value-icon {
  font-size: 3rem;
  margin-bottom: 1rem;
}

.value-item h3 {
  color: #333;
  margin-bottom: 1rem;
  font-size: 1.3rem;
}

.value-item p {
  color: #666;
  line-height: 1.6;
}

/* Stats Section */
.stats {
  padding: 4rem 0;
  background: linear-gradient(135deg, #2c3e50 0%, #3498db 50%, #667eea 100%);
  color: white;
}

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

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

.stat-number {
  font-size: 3rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.stat-label {
  font-size: 1.1rem;
  opacity: 0.9;
}

/* Lawyer Profile Section */
.lawyer-profile {
  padding: 5rem 0;
  background: white;
}

.lawyer-profile h2 {
  text-align: center;
  font-size: 2.5rem;
  color: #333;
  margin-bottom: 3rem;
}

.profile-content {
  max-width: 800px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 3rem;
  align-items: center;
}

.profile-avatar {
  font-size: 6rem;
  text-align: center;
  background: linear-gradient(135deg, #f8f9fa, #e9ecef);
  border: 3px solid #667eea;
  border-radius: 50%;
  width: 150px;
  height: 150px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.profile-info h3 {
  color: #333;
  margin-bottom: 0.5rem;
  font-size: 1.8rem;
  font-weight: 700;
}

.profile-role {
  color: #667eea;
  font-weight: 600;
  margin-bottom: 0.5rem;
  font-size: 1.1rem;
}

.profile-specialization {
  color: #888;
  margin-bottom: 1.5rem;
  font-style: italic;
  font-size: 1rem;
}

.profile-description {
  color: #666;
  line-height: 1.6;
  margin-bottom: 2rem;
  font-size: 1rem;
}

.profile-highlights {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.highlight {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  color: #555;
}

.highlight i {
  color: #667eea;
  font-size: 1.1rem;
  width: 20px;
}

.highlight span {
  font-size: 0.95rem;
}

/* Journey Section */
.journey {
  padding: 5rem 0;
  background: #f8f9fa;
}

.journey h2 {
  text-align: center;
  font-size: 2.5rem;
  color: #333;
  margin-bottom: 3rem;
}

.journey-timeline {
  position: relative;
  max-width: 800px;
  margin: 0 auto;
}

.journey-timeline::before {
  content: '';
  position: absolute;
  left: 50%;
  top: 0;
  bottom: 0;
  width: 2px;
  background: #667eea;
  transform: translateX(-50%);
}

.timeline-item {
  display: flex;
  margin-bottom: 2rem;
  position: relative;
}

.timeline-item:nth-child(odd) {
  flex-direction: row;
}

.timeline-item:nth-child(even) {
  flex-direction: row-reverse;
}

.timeline-year {
  background: #667eea;
  color: white;
  padding: 0.5rem 1rem;
  border-radius: 20px;
  font-weight: 600;
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
}

.timeline-content {
  background: white;
  padding: 1.5rem;
  border-radius: 8px;
  box-shadow: 0 4px 6px rgba(0,0,0,0.1);
  width: 45%;
  margin-top: 2rem;
}

.timeline-item:nth-child(odd) .timeline-content {
  margin-right: 55%;
}

.timeline-item:nth-child(even) .timeline-content {
  margin-left: 55%;
}

.timeline-content h3 {
  color: #333;
  margin-bottom: 0.5rem;
}

.timeline-content p {
  color: #666;
  line-height: 1.6;
}

/* CTA Section */
.cta {
  padding: 4rem 0;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  text-align: center;
}

.cta h2 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

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

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

.btn {
  padding: 0.8rem 2rem;
  border-radius: 8px;
  font-weight: 600;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
  display: inline-block;
}

.btn-primary {
  background-color: #ff6b6b;
  color: white;
}

.btn-primary:hover {
  background-color: #ff5252;
  transform: translateY(-2px);
}

.btn-outline {
  background-color: transparent;
  color: white;
  border: 2px solid white;
}

.btn-outline:hover {
  background-color: white;
  color: #667eea;
}

/* Responsive Design */
@media (max-width: 768px) {
  .hero h1 {
    font-size: 2.5rem;
  }
  
  .mission-content {
    grid-template-columns: 1fr;
    gap: 2rem;
    text-align: center;
  }
  
  .values-grid {
    grid-template-columns: 1fr;
  }
  
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .profile-content {
    grid-template-columns: 1fr;
    gap: 2rem;
    text-align: center;
  }
  
  .profile-avatar {
    margin: 0 auto;
  }
  
  .journey-timeline::before {
    left: 2rem;
  }
  
  .timeline-item {
    margin-left: 3rem;
  }
  
  .timeline-year {
    transform: translateX(-50%);
  }
  
  
  .cta-buttons {
    flex-direction: column;
    align-items: center;
  }
  
  .btn {
    width: 200px;
  }
  
  .container {
    padding: 0 1rem;
  }
}

/* === HOME PAGE STATS GRID === */
.stats-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}

.stat-card {
  background: white;
  padding: 2rem;
  border-radius: 20px;
  text-align: center;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
  border: 1px solid rgba(102, 126, 234, 0.1);
}

.stat-number {
  font-size: 2.5rem;
  font-weight: bold;
  color: #dee2e6;
  display: block;
  margin-bottom: 0.5rem;
}

.stat-label {
  color: #000000bb;
  font-weight: 500;
}

/* === PROCESS SECTION === */
.process {
  padding: 120px 20px;
  background: white;
}

.process-steps {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2rem;
  margin-top: 4rem;
  flex-wrap: wrap;
}

.step {
  text-align: center;
  max-width: 200px;
  position: relative;
}

.step-number {
  position: absolute;
  top: -10px;
  right: -10px;
  width: 30px;
  height: 30px;
  background: #667eea;
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  font-size: 0.9rem;
}

.step-icon {
  width: 80px;
  height: 80px;
  background: linear-gradient(135deg, #f8fafb, #e9ecef);
  border: 2px solid #667eea;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
}

.step-icon i {
  font-size: 1.8rem;
  color: #667eea;
}

.step h4 {
  font-size: 1.2rem;
  font-weight: 600;
  color: #2c5364;
  margin-bottom: 1rem;
}

.step p {
  color: #6c757d;
  line-height: 1.5;
  font-size: 0.95rem;
}

.step-arrow {
  color: #667eea;
  font-size: 1.5rem;
  margin: 0 1rem;
}

/* === RESPONSIVE STATS & PROCESS === */
@media (max-width: 768px) {
  .stats-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
  
  .stat-card {
    padding: 1.5rem;
  }
  
  .stat-number {
    font-size: 2rem;
  }
  
  .process {
    padding: 80px 20px;
  }
  
  .process-steps {
    gap: 3rem;
    margin-top: 3rem;
  }
  
  .step {
    max-width: 250px;
  }
  
  .step-icon {
    width: 70px;
    height: 70px;
  }
  
  .step-icon i {
    font-size: 1.5rem;
  }
}

/* === FAQ PAGE STYLES === */
.faq-container {
  min-height: 100vh;
  background-color: #f8f9fa;
}

/* FAQ Hero Section */
.faq-container .hero {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  padding: 4rem 0;
  text-align: center;
}

.faq-container .hero h1 {
  font-size: 3.5rem;
  margin-bottom: 1rem;
  font-weight: 700;
}

.faq-container .hero-subtitle {
  font-size: 1.3rem;
  opacity: 0.9;
  max-width: 600px;
  margin: 0 auto;
}

/* Search Section */
.search-section {
  padding: 3rem 0;
  background: white;
  text-align: center;
}

.search-box {
  position: relative;
  max-width: 500px;
  margin: 0 auto 1rem;
}

.search-icon {
  position: absolute;
  left: 1rem;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.2rem;
  color: #666;
}

.search-input {
  width: 100%;
  padding: 1rem 1rem 1rem 3rem;
  border: 2px solid #e0e0e0;
  border-radius: 50px;
  font-size: 1rem;
  transition: border-color 0.3s ease;
}

.search-input:focus {
  outline: none;
  border-color: #667eea;
}

.search-help {
  color: #666;
}

.search-help a {
  color: #667eea;
  text-decoration: none;
  font-weight: 500;
}

.search-help a:hover {
  text-decoration: underline;
}

/* FAQ Content */
.faq-content {
  padding: 3rem 0;
}

.faq-category {
  background: white;
  border-radius: 12px;
  margin-bottom: 2rem;
  box-shadow: 0 4px 6px rgba(0,0,0,0.1);
  overflow: hidden;
}

/* Category Header */
.category-header {
  background: #667eea;
  color: white;
  padding: 1.5rem 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.category-title {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.category-icon {
  font-size: 1.5rem;
}

.category-title h2 {
  margin: 0;
  font-size: 1.3rem;
}

.category-actions {
  display: flex;
  gap: 0.5rem;
}

.action-btn {
  background: rgba(255,255,255,0.2);
  color: white;
  border: none;
  padding: 0.5rem 1rem;
  border-radius: 6px;
  cursor: pointer;
  font-size: 0.8rem;
  transition: background 0.3s ease;
}

.action-btn:hover {
  background: rgba(255,255,255,0.3);
}

/* FAQ Items */
.faq-items {
  padding: 0;
}

.faq-item {
  border-bottom: 1px solid #f0f0f0;
}

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

.faq-question {
  padding: 1.5rem 2rem;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: background 0.3s ease;
}

.faq-question:hover {
  background: #f8f9fa;
}

.faq-item.open .faq-question {
  background: #f0f4ff;
  border-bottom: 1px solid #e0e8ff;
}

.faq-question h3 {
  margin: 0;
  color: #333;
  font-size: 1.1rem;
  font-weight: 500;
}

.toggle-icon {
  font-size: 1.5rem;
  color: #667eea;
  font-weight: bold;
  transition: transform 0.3s ease;
}

.faq-item.open .toggle-icon {
  transform: rotate(180deg);
}

/* FAQ Answer */
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease, padding 0.3s ease;
}

.faq-answer.visible {
  max-height: 500px;
  padding: 0 2rem 1.5rem;
}

.answer-content {
  padding-top: 0.5rem;
}

.answer-content p {
  color: #666;
  line-height: 1.7;
  margin: 0;
}

/* Contact Section */
.contact-section {
  padding: 4rem 0;
  background: white;
}

.contact-card {
  text-align: center;
  padding: 3rem;
  background: #f8f9fa;
  border-radius: 16px;
}

.contact-card h2 {
  color: #333;
  margin-bottom: 1rem;
  font-size: 2.2rem;
}

.contact-card > p {
  color: #666;
  font-size: 1.1rem;
  margin-bottom: 3rem;
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
}

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

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

.contact-icon {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.contact-icon .fa-at {
  color: #dc3545;
}

.contact-icon .fa-whatsapp {
  color: #25D366;
}

.contact-icon .fa-edit {
  color: #667eea;
}

.contact-option h3 {
  color: #333;
  margin-bottom: 0.5rem;
}

.contact-option p {
  color: #667eea;
  font-weight: 600;
  margin-bottom: 0.3rem;
}

.contact-option small {
  color: #888;
  font-size: 0.85rem;
}

.contact-actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* === FAQ RESPONSIVE === */
@media (max-width: 768px) {
  .faq-container .hero h1 {
    font-size: 2.5rem;
  }
  
  .category-header {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
  }
  
  .category-actions {
    width: 100%;
    justify-content: center;
  }
  
  .faq-question {
    padding: 1rem;
  }
  
  .faq-answer.visible {
    padding: 0 1rem 1rem;
  }
  
  .contact-options {
    grid-template-columns: 1fr;
  }
  
  .contact-actions {
    flex-direction: column;
    align-items: center;
  }

  .search-input {
    font-size: 16px; /* Prevents zoom on iOS */
  }
}

/* === CONTACT PAGE STYLES === */
.contact-container {
  min-height: 100vh;
  background-color: #f8f9fa;
}

/* Contact Hero Section */
.contact-container .hero {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  padding: 4rem 0;
  text-align: center;
}

.contact-container .hero h1 {
  font-size: 3.5rem;
  margin-bottom: 1rem;
  font-weight: 700;
}

.contact-container .hero-subtitle {
  font-size: 1.3rem;
  opacity: 0.9;
  max-width: 600px;
  margin: 0 auto;
}

/* Success Banner */
.success-banner {
  background: #d4edda;
  border-bottom: 1px solid #c3e6cb;
  padding: 1rem 0;
}

.success-content {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.success-icon {
  font-size: 1.5rem;
}

.success-content h3 {
  color: #155724;
  margin: 0 0 0.3rem 0;
  font-size: 1.1rem;
}

.success-content p {
  color: #155724;
  margin: 0;
  font-size: 0.9rem;
}

.close-btn {
  background: none;
  border: none;
  color: #155724;
  font-size: 1.2rem;
  cursor: pointer;
  margin-left: auto;
  padding: 0.5rem;
  border-radius: 4px;
  transition: background 0.3s ease;
}

.close-btn:hover {
  background: rgba(21, 87, 36, 0.1);
}

/* Contact Content */
.contact-content {
  padding: 4rem 0;
}

.contact-layout {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 4rem;
}

/* Contact Form */
.contact-form, .contact-summary {
  background: white;
  padding: 2rem;
  border-radius: 12px;
  box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

.contact-form h2, .contact-summary h2 {
  color: #333;
  margin-bottom: 0.5rem;
  font-size: 2rem;
}

.contact-form p, .contact-summary p {
  color: #666;
  margin-bottom: 2rem;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-bottom: 1rem;
}

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

.form-group label {
  display: block;
  margin-bottom: 0.5rem;
  color: #333;
  font-weight: 500;
}

.form-group input, .form-group textarea {
  width: 100%;
  padding: 0.8rem;
  border: 1px solid #ddd;
  border-radius: 6px;
  font-size: 1rem;
  transition: border-color 0.3s ease;
}

.form-group input:focus, .form-group textarea:focus {
  outline: none;
  border-color: #667eea;
}

.error-message {
  background: #f8d7da;
  color: #721c24;
  padding: 0.75rem;
  border-radius: 6px;
  margin-bottom: 1rem;
  border: 1px solid #f5c6cb;
}

/* Summary Step */
.summary-card {
  background: #f8f9fa;
  border-radius: 8px;
  padding: 1.5rem;
  margin-bottom: 2rem;
}

.summary-section {
  margin-bottom: 1.5rem;
}

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

.summary-section h3 {
  color: #333;
  margin-bottom: 1rem;
  font-size: 1.2rem;
}

.summary-row {
  display: flex;
  margin-bottom: 0.5rem;
}

.summary-row .label {
  font-weight: 500;
  color: #666;
  min-width: 80px;
}

.summary-row .value {
  color: #333;
}

.message-row {
  flex-direction: column;
}

.message-content {
  background: white;
  padding: 1rem;
  border-radius: 6px;
  margin-top: 0.5rem;
  border: 1px solid #e0e0e0;
  line-height: 1.5;
}

/* Action Options */
.action-options {
  margin-bottom: 2rem;
}

.action-options h3 {
  color: #333;
  margin-bottom: 1.5rem;
  text-align: center;
}

.option-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.option-card {
  background: white;
  border: 2px solid #e0e0e0;
  border-radius: 12px;
  padding: 1.5rem;
  text-align: center;
}

.option-card.featured {
  border-color: #667eea;
  background: linear-gradient(135deg, #f8f9ff, #ffffff);
}

.option-header {
  margin-bottom: 1rem;
}

.option-header h4 {
  color: #333;
  margin: 0 0 0.5rem 0;
  font-size: 1.1rem;
}

.option-price {
  font-size: 1.5rem;
  font-weight: bold;
  color: #667eea;
}

.option-features {
  list-style: none;
  padding: 0;
  margin: 1rem 0;
  text-align: left;
}

.option-features li {
  padding: 0.3rem 0;
  color: #666;
  font-size: 0.9rem;
}

.option-features li:before {
  content: '✓ ';
  color: #28a745;
  font-weight: bold;
}

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

.btn-text {
  background: none;
  border: none;
  color: #667eea;
  text-decoration: underline;
  cursor: pointer;
  font-size: 1rem;
}

/* Contact Info */
.contact-info {
  background: white;
  padding: 2rem;
  border-radius: 12px;
  box-shadow: 0 4px 6px rgba(0,0,0,0.1);
  height: fit-content;
}

.contact-info h2 {
  color: #333;
  margin-bottom: 1.5rem;
  font-size: 1.5rem;
}

.contact-methods {
  margin-bottom: 2rem;
}

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

.method-icon {
  font-size: 1.5rem;
  width: 40px;
  text-align: center;
}

.method-details h3 {
  color: #333;
  margin: 0 0 0.3rem 0;
  font-size: 1rem;
}

.method-value {
  color: #667eea;
  font-weight: 600;
  margin: 0 0 0.2rem 0;
}

.method-description {
  color: #666;
  font-size: 0.85rem;
  margin: 0;
}

.office-hours h3 {
  color: #333;
  margin-bottom: 1rem;
  font-size: 1.1rem;
}

.hours-list {
  border: 1px solid #e0e0e0;
  border-radius: 6px;
}

.hour-item {
  display: flex;
  justify-content: space-between;
  padding: 0.8rem;
  border-bottom: 1px solid #e0e0e0;
}

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

.hour-item span:first-child {
  color: #666;
}

.hour-item span:last-child {
  color: #333;
  font-weight: 500;
}

/* Map Section */
.map-section {
  padding: 4rem 0;
  background: white;
}

.map-section h2 {
  text-align: center;
  color: #333;
  margin-bottom: 2rem;
  font-size: 2rem;
}

.map-container {
  background: #f8f9fa;
  border-radius: 12px;
  overflow: hidden;
}

.map-placeholder {
  text-align: center;
  padding: 3rem;
}

.map-icon {
  font-size: 3rem;
  margin-bottom: 1rem;
}

.map-placeholder h3 {
  color: #333;
  margin-bottom: 0.5rem;
}

.map-placeholder p {
  color: #666;
  margin-bottom: 2rem;
}

.transport-info {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
}

.transport-item {
  background: white;
  padding: 0.5rem 1rem;
  border-radius: 20px;
  font-size: 0.9rem;
  color: #666;
  border: 1px solid #e0e0e0;
}

/* === CONTACT RESPONSIVE === */
@media (max-width: 768px) {
  .contact-container .hero h1 {
    font-size: 2.5rem;
  }
  
  .contact-layout {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  
  .form-row {
    grid-template-columns: 1fr;
  }
  
  .option-cards {
    grid-template-columns: 1fr;
  }
  
  .transport-info {
    flex-direction: column;
    align-items: center;
  }
  
  .contact-form, .contact-summary, .contact-info {
    padding: 1.5rem;
  }
}

