/* ======================
   BASE STYLES 
   ====================== */
body, h1, h2, h3, h4, h5, h6, .section-title, .hero-title, .hero-subtitle, 
.cta-button, .lawyers-online, .online-calls, .consultation-form, .form-title, 
.submit-btn, .steps-heading, .steps-subheading, .steps-list, .step-box, 
.intro-text, .flip-card-front, .flip-card-back, .matter-title, .matter-description, 
.process-card, .trust-text, .testimonial-box, .testimonial-text, .testimonial-author, 
.faq-question, .faq-answer, .cta-title, .cta-text, .cta-button, .cta-contact,
.practice-area-card, .feature-card, .feature-icon, .expertise-card,
.hover-shadow, .hover-card, .card {
  font-family: 'Segoe UI', sans-serif;
}

body {
  line-height: 1.6;
}

h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
}

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

/* ======================
   HERO SECTION 
   ====================== */
.hero {
  background-image: url(../images/new-home/banner_online_consltation.jpg);
  background-size: cover;
  background-position: center;
  height: 80vh;
  color: white;
  position: relative;
}

.hero .overlay {
  background-color: rgba(0,0,0,0.6);
  z-index: 0;
}

.hero .content-container {
  z-index: 1;
}

.hero-content {
  padding: 2rem;
}

.hero-title {
  font-size: 3rem;
  font-weight: 800;
  margin-bottom: 1.5rem;
  line-height: 1.2;
}

.hero-subtitle {
  font-size: 1.8rem;
  color: #ffc107;
  margin-bottom: 2rem;
}

.hero-cta {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  flex-wrap: wrap;
  margin-bottom: 1.5rem;
}

.cta-button {
  padding: 1rem 2rem;
  font-size: 1.25rem;
  border-radius: 8px;
  transition: all 0.3s ease;
}

.cta-button:hover {
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

.lawyers-online {
  display: flex;
  align-items: center;
}

.lawyer-avatar {
  width: 50px;
  height: 50px;
  object-fit: cover;
}

.online-calls {
  background-color: #fff;
  color: #333;
  border-radius: 50px;
  padding: 0.5rem 1.5rem;
  font-weight: 700;
  font-size: 1.25rem;
}

.consultation-form {
  background-color: rgba(255,255,255,0.85);
  color: #333;
  padding: 2.5rem;
  border-radius: 10px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}

.form-title {
  font-weight: 700;
  margin-bottom: 1.5rem;
  text-align: center;
  font-size: 1.5rem;
}

.submit-btn {
  padding: 0.75rem;
  font-size: 1.2rem;
  font-weight: 600;
}

/* ======================
   STEPS SECTION 
   ====================== */
.steps-section {
  border-top: 1px solid #eee;
}

.steps-heading {
  font-size: 2.2rem;
  color: #0dcaf0;
  margin-bottom: 0.5rem;
  text-align: center;
}

.steps-subheading {
  font-size: 1.8rem;
  color: #333;
  margin-bottom: 2rem;
  text-align: center;
}

.steps-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  list-style: none;
  padding: 0;
  margin: 0;
}

.step-box {
  background-color: #f8f9fa;
  padding: 1.5rem 2rem;
  border-radius: 10px;
  border: 1px solid #dee2e6;
  min-width: 200px;
  text-align: center;
  font-size: 1.2rem;
  font-weight: 600;
  margin: 0.5rem;
  transition: all 0.3s ease;
}

.step-box:hover {
  transform: translateY(-8px);
  box-shadow: 0 0.5rem 1rem rgba(0,0,0,0.15);
  background-color: #e9ecef;
}

.step-line {
  width: 50px;
  height: 2px;
  background-color: #0d6efd;
  margin: 0 1rem;
}


/* ======================
   INTRODUCTION SECTION 
   ====================== */
.introduction {
  background-color: #fff;
}

.intro-text {
  font-size: 1.5rem;
  line-height: 1.7;
  color: #333;
}

/* ======================
   WHY CHOOSE US SECTION 
   ====================== */
.why-choose-us {
  background-color: #f8f9fa;
}

.flip-card {
  background-color: transparent;
  width: 100%;
  height: 280px;
  perspective: 1000px;
  margin-bottom: 1.5rem;
}

.flip-card-inner {
  position: relative;
  width: 100%;
  height: 100%;
  text-align: center;
  transition: transform 0.7s;
  transform-style: preserve-3d;
}

.flip-card:hover .flip-card-inner {
  transform: rotateY(180deg);
}

.flip-card-front,
.flip-card-back {
  position: absolute;
  width: 100%;
  height: 100%;
  backface-visibility: hidden;
  border-radius: 15px;
  padding: 2rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.flip-card-front {
  background-color: #fff;
  color: #0d6efd;
}

.flip-card-front .icon {
  font-size: 3.5rem;
  margin-bottom: 1rem;
}

.flip-card-front .title {
  font-size: 1.5rem;
  font-weight: 700;
}

.flip-card-back {
  background-color: #ffc107;
  color: #000;
  transform: rotateY(180deg);
  font-size: 1.2rem;
  line-height: 1.6;
}

/* ======================
   LEGAL MATTERS SECTION 
   ====================== */
.legal-matters {
  background-color: #f8f9fa;
}

.matter-item {
  transition: all 0.3s ease;
  padding: 1.5rem;
}

.matter-item:hover {
  background-color: #f1f1f1;
  transform: translateY(-5px);
  box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

.matter-title {
  font-size: 1.4rem;
  font-weight: 700;
  color: #333;
  display: flex;
  align-items: center;
}

.matter-title i {
  font-size: 1.5rem;
  min-width: 40px;
}

.matter-description {
  font-size: 1.2rem;
  color: #6c757d;
}

/* ======================
   HOW IT WORKS SECTION 
   ====================== */
.how-it-works {
  background-color: #f8f9fa;
}

.process-card {
  background-color: #fff;
  border-radius: 20px;
  padding: 1.5rem;
  height: 100%;
  transition: all 0.3s ease;
  box-shadow: 0 5px 15px rgba(0,0,0,0.05);
  min-height: 320px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.process-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(0,0,0,0.1);
}

.process-card h5 {
  font-size: 1.6rem;
  margin: 1.5rem 0 1rem;
  font-weight: 700;
}

.process-card p {
  font-size: 1.5rem;
  color: #6c757d;
  text-align: center;
}

.step-icon {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 2rem;
}

.trust-text {
  font-size: 1.3rem;
  color: #198754;
  font-weight: 700;
  text-align: center;
  margin-top: 3rem;
}

/* ======================
   TESTIMONIALS SECTION 
   ====================== */
.testimonials {
  background-color: #f8f9fa;
}

.testimonial-box {
  background-color: #fff;
  border-radius: 10px;
  padding: 2rem;
  height: 100%;
  transition: all 0.3s ease;
  box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

.testimonial-box:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(0,0,0,0.1);
}

.testimonial-text {
  font-size: 1rem;
  font-style: italic;
  color: #6c757d;
  line-height: 1.9;
}

.testimonial-author {
  margin-top: 2.5rem;
  font-weight: 900;
  color: #333;
}

/* ======================
   FAQ SECTION 
   ====================== */
.faq-item {
  margin-bottom: 1rem;
}

.faq-question {
  width: 100%;
  text-align: left;
  padding: 1.5rem;
  background-color: #fff;
  border: 1px solid #dee2e6;
  border-radius: 8px;
  font-size: 1.2rem;
  transition: all 0.3s;
}

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

.faq-question:focus {
  box-shadow: none;
  outline: none;
}

.faq-answer {
  background-color: #fff;
  border: 1px solid #dee2e6;
  border-top: none;
  border-radius: 0 0 8px 8px;
  padding: 1.5rem;
  font-size: 1.4rem;
  color: #495057;
}

/* ======================
   CTA SECTION 
   ====================== */
.cta {
  background: linear-gradient(135deg, navy, skyblue);
  padding: 4rem 0;
}

.cta-title {
  font-size: 2.5rem;
  margin-bottom: 1.5rem;
  font-weight: 800;
}

.cta-text {
  font-size: 1.5rem;
  margin-bottom: 2rem;
}

.cta-button {
  padding: 1rem 2.5rem;
  font-size: 1.3rem;
  font-weight: 600;
  border-radius: 8px;
  transition: all 0.3s ease;
}

.cta-button:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0,0,0,0.2);
}

.cta-contact {
  font-size: 1.3rem;
  margin-top: 2rem;
}

/* ======================
   FOOTER 
   ====================== */
.footer {
  background-color: #212529;
  padding: 2rem 0;
}

/* ======================
   ANIMATIONS 
   ====================== */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(40px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ======================
   SPECIAL EFFECTS 
   ====================== */
.flip-card-back {
  background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)), 
  url('https://images.pexels.com/photos/6077123/pexels-photo-6077123.jpeg') center/cover no-repeat;
  color: #fff;
  transform: rotateY(180deg);
  font-size: 1.2rem;
  line-height: 1.6;
  border-radius: 15px;
  padding: 2rem;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
}

.product-card {
  transition: transform 0.4s ease, box-shadow 0.4s ease;
  border-radius: 12px;
  overflow: hidden;
}

.product-card:hover {
  transform: scale(1.05);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.product-card img {
  transition: transform 0.4s ease;
}

.product-card:hover img {
  transform: scale(1.05);
}

.timeline-step {
  position: relative;
  padding-left: 20px;
}


.trusted-section img {
  filter: grayscale(100%);
  transition: 0.3s ease;
}

.trusted-section img:hover {
  filter: none;
}

/* Practice Areas */
.practice-area-card {
  border-left: 4px solid #1a237e;
  transition: all 0.3s ease;
}

.practice-area-card:hover {
  background: #f8f9fa;
  transform: translateX(10px);
}

/* Features Section */
.feature-card {
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
  height: 100%;
  border: none;
}

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

.feature-icon {
  font-size: 2.5rem;
  color: #1a237e;
  margin-bottom: 1rem;
}

.expertise-card {
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}
.expertise-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

/* Gradient backgrounds only */
.bg-gradient-primary {
  background: linear-gradient(135deg, #1e3c72, #2a5298);
}
.bg-gradient-success {
  background: linear-gradient(135deg, #11998e, #38ef7d);
}
.bg-gradient-warning {
  background: linear-gradient(135deg, #fceabb, #f8b500);
}
.bg-gradient-danger {
  background: linear-gradient(135deg, #f85032, #e73827);
}
.bg-gradient-info {
  background: linear-gradient(135deg, #00c6ff, #0072ff);
}
.bg-gradient-secondary {
  background: linear-gradient(135deg, #757f9a, #d7dde8);
}

/* Card styling */
.expertise-card {
  color: white;
  padding: 3rem;
  border-radius: 1rem;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
  transition: all 0.4s ease-in-out;
  text-align: center;
  font-size: 20px;
}

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

/* Inside card elements */
.expertise-card i {
  font-size: 40px;
  margin-bottom: 20px;
}
.expertise-card h4 {
  font-size: 28px;
  font-weight: 700;
  margin-bottom: 15px;
}
.expertise-card p {
  font-size: 22px;
  line-height: 1.6;
}

/* Optional: rounded icons */
.expertise-card i {
  padding: 15px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
}

.hover-shadow:hover {
  transform: translateY(-5px);
  transition: all 0.3s ease-in-out;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15) !important;
}

.hover-card {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  cursor: pointer;
}

.hover-card:hover {
  transform: scale(1.05);
  box-shadow: 0 1rem 2rem rgba(0, 0, 0, 0.3);
  z-index: 2;
}

.card:hover {
  transform: scale(1.03);
  transition: 0.3s ease-in-out;
  box-shadow: 0 0 20px rgba(0,0,0,0.1);
}

/* ======================
   RESPONSIVE STYLES 
   ====================== */
@media (max-width: 992px) {
  .hero-title {
    font-size: 2.5rem;
  }
  
  .hero-subtitle {
    font-size: 1.5rem;
  }
  
  .section-title {
    font-size: 2rem;
  }
}

@media (max-width: 768px) {
  .hero {
    height: auto;
    padding: 4rem 0;
  }
  
  .hero-title {
    font-size: 2rem;
    text-align: center;
  }
  
  .hero-subtitle {
    font-size: 1.3rem;
    text-align: center;
  }
  
  .hero-cta {
    justify-content: center;
  }
  
  .consultation-form {
    margin-top: 2rem;
  }
  
  .steps-list {
    flex-direction: column;
  }
  
  .step-box {
    width: 100%;
    margin: 0.5rem 0;
  }
  
  .step-line {
    width: 2px;
    height: 30px;
    margin: 0.5rem 0;
  }
  
  .matter-item {
    flex-direction: column;
  }
  
  .matter-title, .matter-description {
    width: 100%;
  }
  
  .matter-title {
    margin-bottom: 1rem;
  }
  
  .process-card {
    min-height: auto;
    margin-bottom: 1.5rem;
  }
}

@media (max-width: 576px) {
  .hero-title {
    font-size: 1.8rem;
  }
  
  .section-title {
    font-size: 1.8rem;
  }
  
  .intro-text {
    font-size: 1.2rem;
  }
}
/* Navbar base styles */
.navbar {
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05); /* subtle shadow */
  padding: 10px 0;
  transition: all 0.3s ease-in-out;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

/* Brand logo */
.navbar-brand img {
  max-width: 90px;
  height: auto;
  transition: transform 0.3s;
}

.navbar-brand img:hover {
  transform: scale(1.05);
}

/* Navbar links */
.navbar-nav .nav-link {
  color: #000;
  font-weight: 600;
  font-size: 18px;
  padding: 8px 15px;
  transition: color 0.3s, border-bottom 0.3s;
  border-bottom: 2px solid transparent;
}

/* Hover effect */
.navbar-nav .nav-link:hover {
  color: #ff7a00; /* or any accent color you like */
  border-bottom: 2px solid #ff7a00;
}

 .timeline-step {
  position: relative;
}

.timeline-icon {
  position: relative;
  width: 50px;
  height: 50px;
  font-size: 20px;
  z-index: 1;
}

/* Blue line from icon to next step */
.timeline-step:not(:last-child) .timeline-icon::after {
  content: "";
  position: absolute;
  top: 50px; /* start below icon */
  left: 50%;
  transform: translateX(-50%);
  width: 3px;
  height: calc(100% + 50px); /* extra length to join next icon */
  background-color: #0d6efd;
  z-index: -1;
}

._fbghtopmargin{
   margin-top: 124px;
}


/* Responsive: Adjust padding on smaller devices */
@media (max-width: 991.98px) {
  .navbar-nav .nav-item {
    padding: 10px 0 !important;
    text-align: center;
  }
}

