/* General Styles */
body {
  font-family: 'Poppins', sans-serif;
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  background-color: #f0f7ff;
  color: #1a2a3a;
}

/* Hero Section */
.hero {
  background: linear-gradient(to bottom, #e6f0ff, #ffffff);
  padding: 10px 10%;
  text-align: center;
}

.hero h1 {
  font-size: 48px;
  margin-bottom: 20px;
  font-weight: 800;
}

/* Responsive font size for mobile */
@media (max-width: 768px) {
  .hero h1 {
    font-size: 24px;
  }
}


.hero p {
  font-size: 18px;
  color: #666666;
  
}

.search-bar {
  display: flex;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
}

.search-bar select, .search-bar button {
  padding: 10px;
  border: 1px solid #1a2a3a;
  border-radius: 5px;
  font-size: 16px;
  background-color: white;
}

.search-bar button {
  background-color: #1a2a3a;
  color: #ffffff;
  border: none;
  cursor: pointer;
  transition: background-color 0.3s;
}

.search-bar button:hover {
  background-color: #0d1a26;
}


/* Featured Lawyers Section */
.featured-lawyers {
  padding: 50px 10%;
  text-align: center;
  background-color: #f0f8ff; /* Light blue background for the section */
}

.featured-lawyers h2 {
  font-size: 36px;
  margin-bottom: 40px;
  color: #1a2a3a; /* Dark blue text color */
}

.lawyer-slider {
  position: relative;
  max-width: 1200px;
  margin: 0 auto;
  overflow: hidden;
}

.lawyer-cards {
  display: flex;
  transition: transform 0.5s ease-in-out;
}

.card {
  flex: 0 0 33.33%;
  background-color: #c4f5e7; /* Light blue card background */
  padding: 20px;
  border-radius: 10px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  margin: 0 10px;
  transition: transform 0.3s, box-shadow 0.3s;
}

.card:hover {
  transform: translateY(-10px);
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}

.card img {
  border-radius: 50%;
  margin-bottom: 15px;
  width: 150px;
  display: block;
  margin-left: auto;
  margin-right: auto;
}

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

.card h3 {
  font-size: 20px;
  margin-bottom: 10px;
  color: #1a2a3a; /* Dark blue text color */
}

.verified-icon {
  color: white; /* WhatsApp green color for verified icon */
  font-size: 18px;
  margin-left: 5px;
  background-color: #1a2a3a;
  padding: 5px;
  border-radius: 20%;
  
}

.card p {
  font-size: 16px;
  color: #666666;
  margin-bottom: 10px;
}

.rating {
  font-size: 18px;
  color: #fa9405; /* Gold color for stars */
  margin-bottom: 15px;
}
/* Mobile Responsiveness */
@media (max-width: 768px) {
  .lawyer-slider {
    position: relative;
    overflow: hidden;
    width: 100%;
  }

  .lawyer-cards {
    display: flex;
    transition: transform 0.5s ease-in-out;
  }

  .card {
    flex: 0 0 100%; /* Ek time par sirf 1 card dikhega */
    width: 100%; /* Card ki width 100% hogi */
    box-sizing: border-box; /* Padding aur border ko width mein include karein */
    margin: 0;
  }

  .slider-arrow {
    display: block; /* Arrows ko mobile par bhi show karein */
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(26, 42, 58, 0.7);
    color: #ffffff;
    border: none;
    padding: 10px;
    cursor: pointer;
    font-size: 24px;
    z-index: 10;
  }

  .slider-arrow.prev {
    left: 10px;
  }

  .slider-arrow.next {
    right: 10px;
  }
}
.contact-now {
  background-color: #25D366; /* WhatsApp green color */
  color: #ffffff;
  border: none;
  padding: 10px 20px;
  border-radius: 5px;
  cursor: pointer;
  transition: background-color 0.3s;
  align-items: center;
  justify-content: center;
  gap: 8px;
  display: block;
  margin-left: auto;
  margin-right: auto;
}

.contact-now:hover {
  background-color: #128C7E; /* Darker shade of WhatsApp green */
}

.contact-now i {
  font-size: 18px;
}

.slider-dots {
  text-align: center;
  margin-top: 20px;
}

.dot {
  display: inline-block;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background-color: #bbb;
  margin: 0 5px;
  cursor: pointer;
  transition: background-color 0.3s;
}

.dot.active {
  background-color: #1a2a3a; /* Dark blue for active dot */
}

.slider-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background-color: rgba(26, 42, 58, 0.7);
  color: #ffffff;
  border: none;
  padding: 10px;
  cursor: pointer;
  font-size: 24px;
  z-index: 10;
}

.slider-arrow.prev {
  left: 10px;
}

.slider-arrow.next {
  right: 10px;
}
/* Testimonials Section */
.testimonials {
  padding: 50px 10%;
  text-align: center;
  background-color: #ffffff;
}

.testimonials h2 {
  font-size: 36px;
  margin-bottom: 40px;
}

.testimonial-slider {
  position: relative;
  max-width: 800px;
  margin: 0 auto;
  overflow: hidden;
}

.testimonial-card {
  display: none;
  padding: 20px;
  background-color: #f0f7ff;
  border-radius: 10px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  text-align: left;
}

.testimonial-card.active {
  display: block;
  animation: fadeIn 1s ease-in-out;
}

.testimonial-card p {
  font-size: 18px;
  color: #1a2a3a;
  margin: 0;
}


.user-info {
  display: flex;
  padding: 20px;
  justify-content: center;
  align-items: center;
}

.user-info h4 {
  margin: 0; /* Remove default margin */
  font-size: 16px;
  color: #666666;
  display: flex;
  align-items: center; /* Vertically align text */
}

.user-info .verified-client {
  font-size: 14px;
  color: #25d366; /* WhatsApp green for verified */
  font-weight: 600;
  font-family: 'Poppins', sans-serif;
  margin-left: 10px; /* Space between name and verified text */
  display: flex;
  align-items: center; /* Vertically align text */
}

.user-image {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  margin-right: 10px;
  border: 2px solid #ffffff;
  vertical-align: middle; /* Image aur text ko align kare */
}



.slider-dots {
  text-align: center;
  margin-top: 20px;
}

.dot {
  display: inline-block;
  width: 10px;
  height: 10px;
  background-color: #ccc;
  border-radius: 50%;
  margin: 0 5px;
  cursor: pointer;
  transition: background-color 0.3s;
}

.dot.active {
  background-color: #1a2a3a;
}

/* Animations */
@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}
/* Contact Form Section */
.contact-form {
  padding: 50px 10%;
  background-color: #f0f7ff;
}

.contact-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 40px;
}

.contact-image img {
  max-width: 400px;
  border-radius: 10px;
}

.contact-details {
  flex: 1;
}

.contact-details h2 {
  font-size: 20px;
  margin-bottom: 20px;
  color: #1a2a3a;
}

.contact-details form {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.contact-details input,
.contact-details textarea,
.contact-details select {
  padding: 10px;
  border: 1px solid #1a2a3a;
  border-radius: 5px;
  font-size: 16px;
  background-color: #ffffff;
  color: #1a2a3a;
  transition: border-color 0.3s, box-shadow 0.3s;
}

.contact-details input:focus,
.contact-details textarea:focus,
.contact-details select:focus {
  border-color: #0d1a26;
  box-shadow: 0 0 5px rgba(26, 42, 58, 0.3);
  outline: none;
}

.contact-details textarea {
  resize: vertical;
}

.select-group {
  display: flex;
  gap: 15px;
}

.select-group select {
  flex: 1;
  appearance: none; /* Remove default arrow */
  background-image: url("data:image/svg+xml;charset=US-ASCII,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%22292.4%22%20height%3D%22292.4%22%3E%3Cpath%20fill%3D%22%231a2a3a%22%20d%3D%22M287%2069.4a17.6%2017.6%200%200%200-13-5.4H18.4c-5%200-9.3%201.8-12.9%205.4A17.6%2017.6%200%200%200%200%2082.2c0%205%201.8%209.3%205.4%2012.9l128%20127.9c3.6%203.6%207.8%205.4%2012.8%205.4s9.2-1.8%2012.8-5.4L287%2095c3.5-3.5%205.4-7.8%205.4-12.8%200-5-1.9-9.2-5.5-12.8z%22%2F%3E%3C%2Fsvg%3E");
  background-repeat: no-repeat;
  background-position: right 10px center;
  background-size: 12px;
  padding-right: 30px;
}

.contact-details button {
  background-color: #1a2a3a;
  color: #ffffff;
  border: none;
  padding: 10px 20px;
  border-radius: 5px;
  cursor: pointer;
  transition: background-color 0.3s;
  font-size: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.contact-details button:hover {
  background-color: #0d1a26;
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
  .contact-content {
    flex-direction: column;
  }

  .contact-image {
    display: none;
  }

  .select-group {
    flex-direction: column;
  }
}

/* Blog Section */
.blog {
  padding: 50px 5%;
  text-align: center;
  overflow-x: hidden; /* Prevent horizontal overflow */
}

.blog h2 {
  font-size: 36px;
  margin-bottom: 40px;
  color: #1a2a3a;
}

.blog-cards {
  display: flex;
  justify-content: center;
  gap: 30px;
  flex-wrap: wrap;
  max-width: 1200px;
  margin: 0 auto;
}

.blog-card {
  background-color: #ffffff;
  padding: 25px;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  width: 300px; /* Fixed width */
  transition: transform 0.3s, box-shadow 0.3s;
  flex: 0 0 auto; /* Prevent shrinking/growing */
}

.blog-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.15);
}

.blog-card img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
}

.blog-card h3 {
  font-size: 20px;
  margin-bottom: 12px;
  color: #1a2a3a;
}

.blog-card p {
  font-size: 16px;
  color: #666666;
  margin-bottom: 20px;
  line-height: 1.5;
}

.read-more {
  display: inline-block;
  color: #1a2a3a;
  text-decoration: none;
  font-weight: 600;
  transition: color 0.3s;
  padding: 8px 16px;
  border: 2px solid #1a2a3a;
  border-radius: 6px;
}

.read-more:hover {
  color: #ffffff;
  background-color: #1a2a3a;
}

/* Mobile Styles with Horizontal Scrolling */
@media (max-width: 768px) {
  .blog {
    padding: 40px 20px;
  }
  
  .blog h2 {
    font-size: 28px;
    margin-bottom: 30px;
  }
  
  .blog-cards {
    display: flex;
    flex-wrap: nowrap; /* Prevent wrapping */
    justify-content: flex-start; /* Align cards to start */
    gap: 20px;
    padding: 20px 0;
    overflow-x: auto; /* Enable horizontal scrolling */
    scroll-snap-type: x mandatory; /* Better scrolling */
    -webkit-overflow-scrolling: touch; /* Smooth iOS scroll */
  }
  
  /* Hide scrollbar but keep functionality */
  .blog-cards::-webkit-scrollbar {
    display: none;
  }
  
  .blog-card {
    scroll-snap-align: start; /* Better scroll snapping */
    width: 280px; /* Slightly smaller for mobile */
    padding: 20px;
    flex: 0 0 auto; /* Prevent flex shrinking */
  }
  
  .blog-card img {
    height: 150px;
  }
  
  /* Add some space after cards for better scrolling indication */
  .blog-cards::after {
    content: '';
    padding-right: 20px;
  }
}


/* Footer */
.footer {
  background-color: #1a2a3a;
  color: #ffffff;
  padding: 40px 10%;
}

.footer-content {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 20px;
}

.footer-section {
  flex: 1;
  min-width: 200px;
}

.footer-section h4 {
  font-size: 20px;
  margin-bottom: 15px;
}

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

.footer-section ul li {
  margin-bottom: 10px;
}

.footer-section ul li a {
  color: #ffffff;
  text-decoration: none;
  transition: color 0.3s;
}

.footer-section ul li a:hover {
  color: #e6f0ff;
}

.social-icons a {
  color: #ffffff;
  text-decoration: none;
  margin-right: 10px;
  transition: color 0.3s;
}

.social-icons a:hover {
  color: #e6f0ff;
}

.footer-bottom {
  text-align: center;
  margin-top: 20px;
  padding-top: 20px;
  border-top: 1px solid #ffffff;
}

/* Sticky WhatsApp Button */
.whatsapp-button {
  position: fixed;
  bottom: 20px;
  right: 20px;
  background-color: #25d366;
  color: #ffffff;
  padding: 10px 20px;
  border-radius: 50px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
  z-index: 1000;
  display: flex;
  align-items: center;
  gap: 10px;
  animation: bounce 2s infinite;
}

.whatsapp-button a {
  color: #ffffff;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 10px;
}

.whatsapp-button i {
  font-size: 24px;
}

@keyframes bounce {
  0%, 20%, 50%, 80%, 100% {
    transform: translateY(0);
  }
  40% {
    transform: translateY(-10px);
  }
  60% {
    transform: translateY(-5px);
  }
}

/* Animations */
@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

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

/*online */
/* Online Lawyers Div */
.online-lawyers {
  background-color: #ffffff;
  border: 1px solid #e0e0e0;
  border-radius: 10px;
  padding: 15px;
  margin-bottom: 30px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  display: inline-block;
}

.lawyers-count {
  display: flex;
  align-items: center;
  gap: 15px;
}

.lawyers-images {
  display: flex;
}

.lawyers-images img {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 2px solid #ffffff;
  margin-left: -10px; /* Overlap images */
}

.lawyers-images img:first-child {
  margin-left: 0;
}

.online-info {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 16px;
  color: #1a2a3a;
}

.online-dot {
  width: 10px;
  height: 10px;
  background-color: #25d366; /* WhatsApp green */
  border-radius: 50%;
  animation: pulse 1.5s infinite;
}

.count {
  font-weight: 600;
  color: #1a2a3a;
}

/* Pulse Animation for Online Dot */
@keyframes pulse {
  0% {
    transform: scale(0.9);
    opacity: 0.7;
  }
  50% {
    transform: scale(1.1);
    opacity: 1;
  }
  100% {
    transform: scale(0.9);
    opacity: 0.7;
  }
}

/* Statistics Section */
.statistics {
  padding: 80px 5%;
  background: linear-gradient(135deg, #1a2a3a, #0d1a26);
  text-align: center;
  color: #ffffff;
  overflow-x: hidden; /* Prevent horizontal overflow */
}

.statistics h2 {
  font-size: 36px;
  margin-bottom: 40px;
  color: #ffffff;
  font-weight: 800;
}

.statistics-content {
  display: flex;
  justify-content: center;
  flex-wrap: nowrap; /* Prevent wrapping */
  gap: 20px;
  padding: 10px 0;
  overflow-x: auto; /* Enable horizontal scrolling */
  scroll-snap-type: x mandatory; /* Better scrolling experience */
  -webkit-overflow-scrolling: touch; /* Smooth scrolling on iOS */
  max-width: 100%;
  margin: 0 auto;
}

/* Hide scrollbar but keep functionality */
.statistics-content::-webkit-scrollbar {
  display: none;
}

.statistic-item {
  background-color: rgba(255, 255, 255, 0.1);
  padding: 25px 15px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  flex: 0 0 auto; /* Don't grow or shrink */
  width: 200px; /* Fixed width for mobile */
  scroll-snap-align: start; /* Better scrolling experience */
  transition: transform 0.3s, box-shadow 0.3s, background-color 0.3s;
}

.statistic-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.3);
  background-color: rgba(255, 255, 255, 0.2);
}

.statistic-icon {
  font-size: 40px;
  color: #ffffff;
  margin-bottom: 12px;
  display: inline-block;
  transition: transform 0.3s;
}

.statistic-number {
  font-size: 32px;
  font-weight: 700;
  margin: 8px 0;
  color: #ffffff;
}

.statistic-text {
  font-size: 16px;
  color: #e0e0e0;
  margin: 0;
}

/* Mobile-specific adjustments */
@media (max-width: 768px) {
  .statistics {
    padding: 10px 10px;
  }
  
  .statistics h2 {
    font-size: 15px;
    margin-bottom: 10px;
  }
  
  .statistics-content {
    justify-content: center; /* Align items to start for scrolling */
    gap: 15px;
    padding-bottom: 20px; /* Space for scroll */
  }
  
  .statistic-item {
    width: 90px; /* Slightly smaller for mobile */
    padding: 20px 10px;
  }
  
  .statistic-icon {
    font-size: 32px;
  }
  
  .statistic-number {
    font-size: 12px;
  }
  
  .statistic-text {
    font-size: 14px;
  }
}

/* Top Cities Section */
.top-cities {
  padding: 80px 10%;
  background-color: #f0f7ff;
  text-align: center;
}

.top-cities h2 {
  font-size: 36px;
  margin-bottom: 40px;
  color: #1a2a3a;
}

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

.city-card {
  background-color: #ffffff;
  padding: 20px;
  border-radius: 10px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  text-align: center;
  text-decoration: none;
  color: #1a2a3a;
  transition: transform 0.3s, box-shadow 0.3s;
}

.city-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}

.city-card h3 {
  font-size: 24px;
  margin-bottom: 10px;
  color: #1a2a3a;
}

.city-card p {
  font-size: 16px;
  color: #666666;
  margin: 0;
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
  .cities-grid {
    grid-template-columns: repeat(3, 1fr); /* 4 columns fixed */
    gap: 10px; /* thoda gap chhota karke */
  }

  .city-card {
    padding: 10px; /* thoda chhota padding */
    font-size: 14px; /* thoda chhota font size */
  }

  .city-card h3 {
    font-size: 18px; /* heading bhi chhota */
    margin-bottom: 8px;
  }

  .city-card p {
    font-size: 13px;
  }
}

/* About Us Section */
.about-us {
  padding: 80px 10%;
  background-color: #ffffff;
}

.about-content {
  display: flex;
  align-items: center;
  gap: 40px;
}

.about-image {
  flex: 1;
}

.about-image img {
  max-width: 100%;
  border-radius: 10px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.about-text {
  flex: 1;
}

.about-text h2 {
  font-size: 36px;
  margin-bottom: 20px;
  color: #1a2a3a;
}

.about-text p {
  font-size: 16px;
  color: #666666;
  line-height: 1.6;
  margin-bottom: 20px;
}

.about-text .read-more {
  display: inline-block;
  padding: 10px 20px;
  background-color: #1a2a3a;
  color: #ffffff;
  text-decoration: none;
  border-radius: 5px;
  transition: background-color 0.3s;
}

.about-text .read-more:hover {
  background-color: #0d1a26;
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
  .about-content {
    flex-direction: column;
  }

  .about-image {
    order: 1; /* Image upar aayegi mobile view mein */
  }

  .about-text {
    order: 2; /* Text neeche aayega mobile view mein */
  }
}

/*slider*/
/* Dark Blue Gradient Background */
.slider-with-content {
  padding: 80px 5%;
  background: linear-gradient(135deg, #0a1a2a, #1a3a5a);
  position: relative;
  overflow: hidden;
}

/* Container with subtle glow effect */
.slider-content-container {
  display: flex;
  max-width: 1200px;
  margin: 0 auto;
  gap: 50px;
  align-items: center;
  position: relative;
  z-index: 2;
}

/* Image Slider Box with Consistent Borders */
.image-slider-box {
  flex: 0 0 45%;
  min-width: 0;
  position: relative;
}

.slider-wrapper {
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0,0,0,0.3);
  border: 2px solid rgba(255,255,255,0.1);
}

.image-container {
  padding: 10px;
  background: rgba(0,0,0,0.2);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 8px;
  height: 100%;
}

.slider-image {
  width: 100%;
  height: 350px;
  object-fit: contain;
  display: block;
  margin: 0 auto;
  border-radius: 4px;
  background: rgba(0,0,0,0.3);
}

/* Fixed Pagination Dots (Always Outside) */
.pagination-container {
  position: absolute;
  bottom: -40px;
  left: 0;
  width: 100%;
  height: 20px;
  display: flex;
  justify-content: center;
}

.swiper-pagination {
  position: relative;
  bottom: auto;
}

.swiper-pagination-bullet {
  background: rgba(255,255,255,0.5);
  opacity: 1;
  width: 12px;
  height: 12px;
  margin: 0 6px !important;
}

.swiper-pagination-bullet-active {
  background: #ffffff;
  transform: scale(1.2);
}

/* Enhanced Content Box */
.content-box {
  flex: 1;
  color: white;
}

.content-box h2 {
  font-size: 36px;
  margin-bottom: 25px;
  font-weight: 700;
  line-height: 1.3;
  text-shadow: 0 2px 4px rgba(0,0,0,0.3);
}

.highlight {
  color: #4fc3f7;
  font-weight: 800;
}

.content-divider {
  width: 80px;
  height: 4px;
  background: linear-gradient(90deg, #4fc3f7, transparent);
  margin: 20px 0;
}

.content-text {
  font-size: 18px;
  line-height: 1.7;
  margin-bottom: 25px;
  opacity: 0.9;
}

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

.feature-list li {
  margin-bottom: 12px;
  font-size: 16px;
  position: relative;
  padding-left: 30px;
}

.feature-list i {
  color: #4fc3f7;
  position: absolute;
  left: 0;
  top: 3px;
}

.cta-button {
  background: linear-gradient(90deg, #4fc3f7, #2196f3);
  border: none;
  color: white;
  padding: 14px 32px;
  font-size: 16px;
  font-weight: 600;
  border-radius: 50px;
  cursor: pointer;
  box-shadow: 0 4px 15px rgba(33, 150, 243, 0.3);
  transition: all 0.3s;
  animation: fullPulse 2s infinite ease-in-out;
  display: inline-block; /* Ensures transform works properly */
  transform-origin: center; /* Makes zoom centered */
}

.cta-button:hover {
  animation: none;
  transform: translateY(-3px) scale(1.05); /* Combines hover effects */
  box-shadow: 0 6px 20px rgba(33, 150, 243, 0.4);
}

@keyframes fullPulse {
  0% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.1);
  }
  100% {
    transform: scale(1);
  }
}

/* Mobile Styles */
@media (max-width: 768px) {
  .slider-with-content {
    padding: 10px 15px;
  }
  
  .slider-content-container {
    flex-direction: column;
    gap: 30px;

  }
  
  .image-slider-box {
    flex: 0 0 100%;
    width: 100%;
    padding-bottom: 40px; /* Space for dots */
  }
  
  .content-box {
    text-align: center;
    display: none;
  }
  
  .content-divider {
    margin: 20px auto;
  }
  
  .slider-image {
    height: 250px;
  }
  
  .pagination-container {
    bottom: 1px;
  }
}

/*navbar*/
/* Search Popup Styling */
#search-popup {
  backdrop-filter: blur(5px); /* Adds a blur effect to the background */
}

#search-popup .bg-white {
  position: relative;
}

#search-popup .fa-times {
  font-size: 1.5rem;
  cursor: pointer;
}

.view-all{
  display: inline-block;
  padding: 5px 10px;
  background-color: #1a2a3a;
  color: #ffffff;
  text-decoration: none;
  border-radius: 5px;
  transition: background-color 0.3s;
}

/* Professional Legal Services Styles */
  .legal-services-container {
    width: 100%;
    margin-bottom: 25px;
    background: #f5f7fa;
    border-radius: 10px;
    padding: 20px 15px;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.03);
    border: 1px solid #e1e6ef;
  }
  
  .legal-services-carousel {
    display: flex;
    overflow: none;
    width: 100%;
  }
  
  .legal-services-carousel .services-slide {
    display: none;
    width: 100%;
    flex-shrink: 0;
    gap: 12px;
  }
  
  .legal-services-carousel .services-slide.active {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
  }
  
  .legal-services-carousel .service-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 18px 10px;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.04);
    text-align: center;
    transition: all 0.3s ease;
    border: 1px solid #e1e6ef;
  }
  
  .legal-services-carousel .service-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(58, 86, 197, 0.1);
    border-color: #3a56c5;
  }
  
  .legal-services-carousel .icon-box {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, #3a56c5 0%, #6a30d1 100%);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 10px;
  }
  
  .legal-services-carousel .service-icon {
    font-size: 20px;
    color: #fff;
  }
  
  .legal-services-carousel .service-item span {
    font-size: 13px;
    font-weight: 600;
    color: #2c3e50;
    line-height: 1.3;
  }
  
  .services-dots-container {
    display: flex;
    justify-content: center;
    margin-top: 15px;
    gap: 8px;
  }
  
  .services-dots-container .services-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #d1d6e6;
    cursor: pointer;
    transition: all 0.3s ease;
  }
  
  .services-dots-container .services-dot.active {
    background: #3a56c5;
    width: 20px;
    border-radius: 5px;
  }

  .service-headings-my{
    text-align: center;
            font-size: 24px;
            color: #2c3e50;
            
            font-weight: 600;
            padding: 0 20px;
  }
  
  /* Mobile Responsiveness */
  @media (max-width: 768px) {
    .legal-services-carousel .services-slide.active {
      grid-template-columns: repeat(2, 1fr);
      gap: 10px;
    }
    
    .legal-services-container {
      padding: 15px 10px;
    }
    
    .legal-services-carousel .service-item {
      padding: 15px 5px;
      min-height: auto;
    }
    
    .legal-services-carousel .icon-box {
      width: 40px;
      height: 40px;
    }
    
    .legal-services-carousel .service-icon {
      font-size: 18px;
    }
    
    .legal-services-carousel .service-item span {
      font-size: 12px;
    }
  }



   /* Unique classes with mycourt prefix */
        .mycourt-cases-section {
            width: 100%;
            max-width: 1200px;
            margin: 40px auto;
            padding: 20px 0;
            
            border-radius: 10px;
        }
        
        .mycourt-section-heading {
            text-align: center;
            font-size: 24px;
            color: #2c3e50;
            margin-bottom: 25px;
            font-weight: 600;
            padding: 0 20px;
        }
        
        .mycourt-courts-container {
            width: 100%;
            overflow: hidden;
        }
        
        .mycourt-courts-track {
            display: flex;
            width: max-content;
            animation: mycourt-scroll 120s linear infinite;
        }
        
        .mycourt-court-box {
            min-width: 250px;
            background: white;
            margin: 0 15px;
            padding: 20px;
            border-radius: 8px;
            box-shadow: 0 4px 8px rgba(0,0,0,0.1);
            display: flex;
            flex-direction: column;
            align-items: center;
            border-left: 4px solid #3a5a78;
        }
        
        .mycourt-court-icon {
            font-size: 28px;
            color: #3a5a78;
            margin-bottom: 12px;
        }
        
        .mycourt-court-name {
            font-weight: 600;
            color: #333;
            text-align: center;
            font-size: 16px;
            margin-bottom: 15px;
        }
        
        .mycourt-about-btn {
            background: #3a5a78;
            color: white;
            border: none;
            padding: 8px 15px;
            border-radius: 4px;
            cursor: pointer;
            font-size: 14px;
            transition: background 0.3s;
            text-decoration: none;
            display: inline-block;
            margin-top: auto;
        }
        
        .mycourt-about-btn:hover {
            background: #2c3e50;
        }
        
        @keyframes mycourt-scroll {
            0% { transform: translateX(0); }
            100% { transform: translateX(-50%); }
        }
        
        /* Pause animation on hover */
        .mycourt-courts-track:hover {
            animation-play-state: paused;
        }
        
        /* Mobile Responsive Styles */
        @media (max-width: 768px) {
            .mycourt-courts-track {
                display: grid;
                grid-template-columns: repeat(2, 1fr);
                gap: 15px;
                width: 100%;
                animation: none;
                padding: 0 15px;
            }
            
            .mycourt-court-box {
                min-width: auto;
                margin: 0;
                height: 100%;
            }
            
            .mycourt-courts-container {
                overflow: visible;
            }
        }

/*        registernow*/
.lawyer-registration-section {
  padding: 5rem 0;
  background: linear-gradient(135deg, #f5f7fa 0%, #e4e8f0 100%);
  font-family: 'Poppins', sans-serif;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.registration-card {
  display: flex;
  background: white;
  border-radius: 16px;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.12);
  overflow: hidden;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  position: relative;
  z-index: 1;
}

.registration-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 8px;
  background: linear-gradient(90deg, #6a11cb 0%, #2575fc 100%);
}

.registration-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.2);
}

.content {
  flex: 1;
  padding: 3.5rem;
}

.animated-text {
  font-size: 2.5rem;
  background: linear-gradient(90deg, #2575fc 0%, #6a11cb 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  margin-bottom: 1.5rem;
  position: relative;
  display: inline-block;
  font-weight: 700;
}

.animated-text::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 0;
  width: 80px;
  height: 5px;
  background: linear-gradient(90deg, #6a11cb 0%, #2575fc 100%);
  border-radius: 5px;
  animation: underline-grow 0.8s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards;
}

.description {
  font-size: 1.15rem;
  color: #4a5568;
  line-height: 1.7;
  margin-bottom: 2rem;
}

.register-cta {
  margin-top: 3rem;
  background: rgba(106, 17, 203, 0.05);
  padding: 1.5rem;
  border-radius: 12px;
  border-left: 4px solid #6a11cb;
}

.cta-text {
  font-size: 1.05rem;
  color: #4a5568;
  margin-bottom: 1.5rem;
  font-weight: 500;
}

.register-btn {
  display: inline-flex;
  align-items: center;
  padding: 14px 28px;
  background: linear-gradient(90deg, #6a11cb 0%, #2575fc 100%);
  color: white;
  border: none;
  border-radius: 8px;
  font-size: 1.05rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  box-shadow: 0 6px 15px rgba(37, 117, 252, 0.4);
  position: relative;
  overflow: hidden;
}

.register-btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transition: 0.5s;
}

.register-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 25px rgba(37, 117, 252, 0.6);
}

.register-btn:hover::before {
  left: 100%;
}

.register-btn:active {
  transform: translateY(0);
}

.arrow-icon {
  width: 20px;
  height: 20px;
  margin-left: 10px;
  transition: transform 0.4s ease;
}

.register-btn:hover .arrow-icon {
  transform: translateX(5px);
}

.illustration {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, rgba(106, 17, 203, 0.03) 0%, rgba(37, 117, 252, 0.03) 100%);
  padding: 2rem;
  position: relative;
}

.illustration::before {
  content: '';
  position: absolute;
  top: 20px;
  right: 20px;
  bottom: 20px;
  left: 20px;
  border: 2px dashed rgba(106, 17, 203, 0.15);
  border-radius: 12px;
  pointer-events: none;
}

.animated-img {
  max-width: 90%;
  height: auto;
  animation: float 6s ease-in-out infinite;
  filter: drop-shadow(0 10px 20px rgba(106, 17, 203, 0.15));
}

@keyframes underline-grow {
  from { width: 0; opacity: 0 }
  to { width: 80px; opacity: 1 }
}

@keyframes float {
  0% { transform: translateY(0px) rotate(0deg) }
  50% { transform: translateY(-15px) rotate(2deg) }
  100% { transform: translateY(0px) rotate(0deg) }
}

/* Pulse animation for extra attention */
@keyframes pulse {
  0% { transform: scale(1) }
  50% { transform: scale(1.03) }
  100% { transform: scale(1) }
}

.registration-card:hover .animated-img {
  animation: float 6s ease-in-out infinite, pulse 3s ease-in-out infinite;
}

/* Responsive design */
@media (max-width: 768px) {
  .registration-card {
    flex-direction: column;
  }
  
  .content, .illustration {
    padding: 2rem;
  }
  
  .animated-text {
    font-size: 2rem;
  }
  
  .register-cta {
    margin-top: 2rem;
  }
}

/* Button Styles */
.register-btn {
  display: inline-flex;
  align-items: center;
  padding: 14px 28px;
  background: linear-gradient(90deg, #6a11cb 0%, #2575fc 100%);
  color: white;
  border: none;
  border-radius: 8px;
  font-size: 1.05rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  box-shadow: 0 6px 15px rgba(37, 117, 252, 0.4);
  position: relative;
  overflow: hidden;
}

/* Popup Styles */
.popup-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.7);
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 1000;
  animation: fadeIn 0.3s ease;
  padding: 20px;
  box-sizing: border-box;
  overflow-y: auto;
}

.popup-content {
  background: white;
  padding: 30px;
  border-radius: 12px;
  width: 100%;
  max-width: 600px;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
  position: relative;
  animation: slideUp 0.4s ease;
  box-sizing: border-box;
}

.popup-content h3 {
  margin-top: 0;
  color: #2c3e50;
  font-size: 1.5rem;
  text-align: center;
  margin-bottom: 25px;
  background: linear-gradient(90deg, #6a11cb 0%, #2575fc 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.close-btn {
  position: absolute;
  top: 15px;
  right: 20px;
  font-size: 1.5rem;
  cursor: pointer;
  color: #7f8c8d;
  transition: color 0.3s;
}

.close-btn:hover {
  color: #e74c3c;
}

.form-row {
  display: flex;
  gap: 20px;
  margin-bottom: 20px;
}

.form-group {
  flex: 1;
  min-width: 0;
}

.form-group label {
  display: block;
  margin-bottom: 8px;
  font-weight: 500;
  color: #2c3e50;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px 15px;
  border: 1px solid #ddd;
  border-radius: 6px;
  font-size: 1rem;
  transition: border 0.3s;
  box-sizing: border-box;
}

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

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: #6a11cb;
  outline: none;
  box-shadow: 0 0 0 3px rgba(106, 17, 203, 0.1);
}

.submit-btn {
  width: 100%;
  padding: 14px;
  background: linear-gradient(90deg, #6a11cb 0%, #2575fc 100%);
  color: white;
  border: none;
  border-radius: 6px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s;
  margin-top: 10px;
}

.submit-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(37, 117, 252, 0.4);
}

@keyframes fadeIn {
  from { opacity: 0 }
  to { opacity: 1 }
}

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

/* Responsive adjustments */
@media (max-width: 768px) {
  .form-row {
    flex-direction: column;
    gap: 0;
    margin-bottom: 0;
  }
  
  .form-group {
    margin-bottom: 20px;
  }
  
  .popup-content {
    padding: 25px 20px;
    max-height: 85vh;
  }
}

@media (max-width: 480px) {
  .popup-content {
    padding: 20px 15px;
  }
  
  .popup-content h3 {
    font-size: 1.3rem;
    margin-bottom: 20px;
  }
  
  .form-group input,
  .form-group select,
  .form-group textarea {
    padding: 10px 12px;
  }
}

.mini-whatsapp-button {
  position: fixed;
  bottom: 90px;
  right: 20px;
  z-index: 9999;
  background: transparent;
  border-radius: 30px;
  padding: 8px 14px;
  box-shadow: 0 0 15px rgba(0,0,0,0.3);
  overflow: hidden;
}

.mini-whatsapp-button a {
  display: flex;
  align-items: center;
  gap: 8px;
  color: white;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  position: relative;
  z-index: 1;
}

.mini-whatsapp-button i {
  font-size: 16px;
}

/* Moving Border Animation */
.mini-whatsapp-button::before {
  content: "";
  position: absolute;
  top: -2px;
  left: -2px;
  width: calc(100% + 4px);
  height: calc(100% + 4px);
  background: linear-gradient(60deg, #000000, #333333, #111111, #444444, #000000);
  background-size: 300% 300%;
  animation: moveBorder 3s linear infinite;
  z-index: 0;
  border-radius: 35px;
  filter: blur(1.5px);
}

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

.mini-text {
  animation: waveText 2s infinite;
}

/* Wavy text animation */
@keyframes waveText {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-2px); }
}

/* Optional: make it responsive */
@media (max-width: 500px) {
  .mini-whatsapp-button {
    padding: 6px 12px;
  }
  .mini-whatsapp-button a {
    font-size: 13px;
  }
}

.hero-consult-button {
  display: inline-block;
  margin-top: 5px;
  background: linear-gradient(135deg, #ff4b2b, #ff416c);
  border: none;
  border-radius: 50px;
  padding: 12px 24px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.2);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  animation: gradientChange 5s infinite ease-in-out;
  margin-bottom: 10px;
}

.hero-consult-button a {
  display: flex;
  align-items: center;
  gap: 10px;
  color: white;
  font-size: 16px;
  font-weight: 600;
  text-decoration: none;
}

.hero-consult-button i {
  font-size: 18px;
}

/* Hover effect */
.hero-consult-button:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(255,65,108,0.4);
}

/* Gradient animation */
@keyframes gradientChange {
  0% { background: linear-gradient(135deg, #ff4b2b, #ff416c); }
  50% { background: linear-gradient(135deg, #ff6a00, #ee0979); }
  100% { background: linear-gradient(135deg, #ff4b2b, #ff416c); }
}

/* Responsive text */
@media (max-width: 500px) {
  .hero-consult-button {
    padding: 10px 18px;
  }
  .hero-consult-button a {
    font-size: 14px;
  }
  .hero-consult-button i {
    font-size: 16px;
  }
}

.form {
  display: flex;
  justify-content: center;
  width: 100%;
  padding: 0 15px; /* Left & right padding for mobile spacing */
  box-sizing: border-box;
  margin-top: 20px;
}


