/* ===== Global Styles ===== */
body {
  margin: 0;
  font-family: 'Montserrat', sans-serif;
}

h1, h2, h3, p {
  font-family: 'Montserrat', sans-serif;
  font-weight: 400;
  
}

/* ===== Utilities ===== */
.service, .card {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  cursor: pointer;
}

.service:hover, .card:hover {
  transform: scale(1.05);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.button:hover, .btn:hover {
  background-color: #5e6203;
  transform: translateY(-2px);
}

.btn {
  display: inline-block;
  padding: 0.8rem 1.4rem;
  font-size: 15px;
  font-weight: 600;
  border: none;
  text-decoration: none;
  transition: all 0.3s ease;
}

.btn i {
  margin-left: 8px;
}

.btn-primary {
  background-color: #5e6203;
  color: white;
}

.btn-primary:hover {
  background-color: #383e48;
}

.btn-secondary {
  background-color: #5e6203;
  color: white;
}

.btn-secondary:hover {
  background-color: #383e48;
}

/* ===== Animations ===== */
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeSlideUp {
  0% { opacity: 0; transform: translateY(20px); }
  100% { opacity: 1; transform: translateY(0); }
}

.animate-entry {
  animation: fadeIn 1s ease-in-out;
}

.hero-content > * {
  opacity: 0;
  animation: fadeSlideUp 1s ease forwards;
}

.hero-content p.section-label { animation-delay: 0.2s; }
.hero-content .icon-line { animation-delay: 0.4s; }
.hero-content h1 { animation-delay: 0.6s; }
.hero-content .hero-text { animation-delay: 0.8s; }
.hero-content .btn-primary { animation-delay: 1s; }

/* ===== Top Bar ===== */
.top-bar {
  background-color: #383e48;
  color: white;
  display: flex;
  justify-content: space-between;
  padding: 0.5rem 2rem;
  align-items: center;
  font-size: 14px;
  flex-wrap: wrap;
}

.top-bar i, .top-bar-right i {
  color: #5e6203;
  margin: 0 8px;
}

.top-bar-right i {
  margin-left: 20px;
  cursor: pointer;
}

/* ===== Header ===== */
.main-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 2rem;
  background-color: white;
  border-bottom: 1px solid #eee;
  flex-wrap: wrap;
}

.logo-area {
  display: flex;
  align-items: center;
  gap: 10px;
}

.logo-icon {
  width: 40px;
  height: 40px;
  filter: sepia(1) saturate(3) hue-rotate(15deg);
}

.logo-text h1 {
  margin: 0;
  font-size: 24px;
  font-weight: bold;
  color: #333;
}

.logo-text p {
  margin: 0;
  font-size: 12px;
  color: #888;
}

.tagline {
  color: #5e6203;
  font-weight: 600;
  font-style: italic;
  font-size: 16px;
  flex-grow: 1;
  text-align: center;
}

.nav-menu {
  display: flex;
  gap: 25px;
  align-items: center;
}

.nav-menu a {
  text-decoration: none;
  color: #383e48;
  font-weight: 500;
  position: relative;
}

.nav-menu a:hover {
  color: #5e6203;
}

.nav-toggle {
  display: none;
  font-size: 24px;
  cursor: pointer;
  color: #1e3053;
}

/* ===== Responsive ===== */
@media (max-width: 768px) {
  .tagline {
    flex-basis: 100%;
    margin-top: 10px;
    text-align: center;
  }

  .nav-menu {
    display: none;
    flex-direction: column;
    width: 100%;
    margin-top: 10px;
    gap: 15px;
    background: white;
    padding: 1rem 2rem;
    border-top: 1px solid #eee;
  }

  .nav-menu.active {
    display: flex;
  }

  .nav-toggle {
    display: block;
  }

  .about-container, .footer-container {
    flex-direction: column;
    align-items: flex-start;
  }

  .about-content {
    text-align: left;
  }
}

/* ===== Hero Section ===== */
.hero {
  position: relative;
  color: white;
  min-height: 90vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-bg, .hero-overlay {
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}

.hero-overlay {
  background: #00000066;
  display: flex;
  align-items: center;
}

.hero-content {
  max-width: 700px;
  padding: 2rem;
  margin-left: 5%;
}

.section-label {
  font-size: 14px;
  color: #5e6203;
  letter-spacing: 1px;
  margin-bottom: 5px;
}

.icon-line {
  color: #5e6203;
  font-size: 18px;
  margin-bottom: 20px;
}

.hero-content h1 {
  font-size: 44px;
  line-height: 1.3;
  margin-bottom: 1rem;
  font-weight: 700;
}

.hero-subtext {
  font-size: 16px;
  margin-bottom: 1.5rem;
  color: #f1f1f1;
}

/* ===== Info Box Section ===== */
.info-box {
  background-color: #383e48;
  padding: 1rem 2rem;
  color: white;
  text-align: center;
}

.info-content {
  max-width: 800px;
  margin: auto;
}

.info-content h3 {
  font-family: Georgia, 'Times New Roman', serif;
  font-size: 20px;
  color: #5e6203;
  margin-bottom: 15px;
}

.info-content p {
  font-size: 14px;
  color: #e0e0e0;
  margin-bottom: 1.5rem;
  font-family: system-ui, sans-serif;
}

/* ===== Footer ===== */
.main-footer {
  background-color: #383e48;
  color: #fff;
  padding: 4rem 2rem 2rem;
  font-size: 0.95rem;
}

.footer-container {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

.footer-col {
  flex: 1 1 220px;
}

.footer-logo {
  max-width: 150px;
  margin-bottom: 1rem;
}

.footer-col h4 {
  color: #5e6203;
  margin-bottom: 1rem;
}

.footer-col ul {
  list-style: none;
  padding-left: 0;
}

.footer-col ul li {
  margin-bottom: 0.5rem;
  cursor: pointer;
  color: #ddd;
}

.footer-col p, .footer-col ul li {
  line-height: 1.6;
}

.footer-col i, .social-icons i {
  color: #5e6203;
}

.social-icons {
  margin-top: 1rem;
}

.social-icons i {
  font-size: 1.2rem;
  margin-right: 1rem;
  cursor: pointer;
  transition: transform 0.3s;
}

.social-icons i:hover {
  transform: scale(1.2);
}

.footer-bottom {
  text-align: center;
  padding-top: 2rem;
  border-top: 1px solid #1b2a3a;
  margin-top: 2rem;
  font-size: 0.9rem;
  color: #aaa;
}

/* ===== About Us ===== */
.about-section {
  padding: 4rem 2rem;
  background-color: #fff;
}

.about-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 2rem;
  max-width: 1200px;
  margin: auto;
}

.about-image {
  flex: 1 1 40%;
  text-align: center;
}

.about-image img {
  max-width: 100%;
  height: auto;
}

.about-content {
  flex: 1 1 55%;
}

.about-content h2 {
  font-size: 2.2rem;
  margin: 0.5rem 0 1.5rem;
  color: #383e48;
}

.about-content p {
  color: #383e48;
  line-height: 1.6;
  margin-bottom: 1rem;
}

.section-tag {
  font-size: 0.9rem;
  font-weight: 500;
  color: #5e6203;
  letter-spacing: 1px;
}

/* Add additional sections as needed: Practice, Testimonials, Blog, etc. */
/* ===== Practice Section ===== */
.progress-bar {
    margin-bottom: 1rem;
}

.label-row {
    display: flex;
    justify-content: space-between;
    font-weight: 600;
    margin-bottom: 0.25rem;
}

.bar {
    background-color: #e0e0e0;
    height: 10px;
    border-radius: 10px;
    overflow: hidden;
}

.bar .fill {
    height: 100%;
    background-color: #5e6203;
    border-radius: 10px;
}

/* Responsive */
@media (max-width: 768px) {
    .about-container {
        flex-direction: column;
        text-align: center;
    }

    .about-content {
        text-align: left;
    }
}

/* stars section */
/* stars section */
/* stars section */
/* stars section */

.stats-section {
  position: relative; /* Needed for absolute positioning of ::before */
  background-color: #383e48;
  color: white;
  display: flex;
  justify-content: space-around;
  padding: 2rem 1rem;
  flex-wrap: wrap;
  text-align: center;
  overflow: hidden; /* Prevent image spill */
}

.stats-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url('../img/comp\ \(2\).jpg');
  background-size: cover;
  background-position: center;
  opacity: 0.2; /* Adjust for stronger or lighter fade */
  z-index: 0;
}

.stat-item {
  position: relative; /* So text stays above the image */
  margin: 1rem;
  z-index: 1;
}

.stat-item h2 {
  font-size: 2rem;
  margin-bottom: 0.5rem;
}



/** Practice Area **/

.practice-section {
  padding: 3rem 1rem;
  text-align: center;
}

.practice-section h4 {
  color: #5e6203;
  text-transform: uppercase;
  font-size: 0.9rem;
  margin-bottom: 0.5rem;
}

.practice-section h2 {
  font-size: 2.5rem;
  color: #383e48;
  margin-bottom: 1rem;
}

.practice-section p {
  max-width: 600px;
  margin: 0 auto 2rem;
  color: #5e6203;
}

.cards {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 1.5rem;
  padding: 1rem;
}

.card {
  background-color: #f8f8f8;
  border-radius: 8px;
  overflow: hidden;
  max-width: 55vh;
  box-shadow: 0 4px 8px rgba(0,0,0,0.1);
  transition: transform 0.3s;
}

.card:hover {
  transform: translateY(-5px);
}

.card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.card-content {
  padding: 1rem;
  text-align: left;
}

.card-content h3 {
  margin-bottom: 0.5rem;
  color: #383e48;
}

.card-content p {
  color: #383e48;
  font-size: 0.9rem;
  margin-bottom: 0.5rem;
}

.card-content a {
  color: #5e6203;
  text-decoration: none;
  font-weight: bold;
  font-size: 0.9rem;
}

.view-more-btn {
  margin-top: 2rem;
  padding: 0.75rem 1.5rem;
  background-color: #5e6203;
  color: white;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  font-size: 1rem;
  transition: background-color 0.3s;
}

.view-more-btn:hover {
  background-color: #5e6203;
}



/* Testimonials Section */

.testimonials-section {
  background-color: #383e48;
  color: white;
  text-align: center;
  padding: 4rem 1rem;
}

.testimonials-section h5 {
  color: #5e6203;
  text-transform: uppercase;
  margin-bottom: 0.5rem;
}

.testimonials-section h2 {
  font-size: 2.2rem;
  margin-bottom: 1rem;
}

.testimonials-section p {
  max-width: 600px;
  margin: 0 auto 2rem;
  color: #ccc;
}


/* Attorney Section */

.attorney-section {
  padding: 4rem 1rem;
  text-align: center;
}

.attorney-section h5 {
  color: #5e6203;
  text-transform: uppercase;
  margin-bottom: 0.5rem;
}

.attorney-section h2 {
  font-size: 2.2rem;
  margin-bottom: 1rem;
  color: #383e48;
}

.attorney-section p {
  max-width: 600px;
  margin: 0 auto 2rem;
  color: #555;
}

.attorney-cards {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 2rem;
}

.attorney {
  max-width: 250px;
}

.attorney img {
  width: 100%;
  border-radius: 8px;
  margin-bottom: 1rem;
}

.attorney h4 {
  margin-bottom: 0.3rem;
  color: #383e48;
}

.attorney span {
  font-size: 0.9rem;
  color: #5e6203;
}

/* Call to Action Section */

.cta-section {
  background-color: #383e48;
  color: white;
  text-align: center;
  padding: 4rem 1rem;
}

.cta-section h2 {
  font-size: 2rem;
  margin-bottom: 1rem;
}

.cta-section p {
  max-width: 600px;
  margin: 0 auto 1.5rem;
  color: #ccc;
}

.cta-section h3 {
  color: #5e6203;
  font-size: 1.5rem;
}
 
.testimonial {
  display: none;
  transition: opacity 0.5s ease-in-out;
}

.testimonial.active {
  display: block;
  opacity: 1;
}


/* blog */

.blog-section {
  text-align: center;
  padding: 60px 20px;
  background: #fff;
}

.section-subtitle {
  color: #5e6203;
  font-weight: bold;
  font-size: 14px;
}

.section-title {
  font-size: 32px;
  font-weight: bold;
  margin: 10px 0;
  color: #383e48;
}

.section-desc {
  max-width: 600px;
  margin: 0 auto 40px;
  color: #666;
}

.blog-grid {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
}

.blog-card {
  background: #f7f7f7;
  width: 300px;
  border-radius: 6px;
  overflow: hidden;
  position: relative;
  transition: transform 0.3s ease;
}

.blog-card:hover {
  transform: translateY(-5px);
}

.blog-card img {
  width: 100%;
  height: auto;
  display: block;
}

.blog-date {
  position: absolute;
  top: 10px;
  right: 10px;
  background: #5e6203;
  color: #fff;
  padding: 8px 10px;
  text-align: center;
  font-weight: bold;
  font-size: 14px;
  line-height: 1.2;
}

.blog-date span {
  font-size: 12px;
  display: block;
}

.blog-info {
  padding: 20px;
  text-align: left;
}

.meta {
  font-size: 12px;
  color: #888;
  margin-bottom: 10px;
}

.blog-title {
  font-size: 18px;
  color: #5e6203;
  font-weight: bold;
  margin-bottom: 10px;
}

.blog-snippet {
  font-size: 14px;
  color: #444;
  margin-bottom: 15px;
}

.read-more {
  text-decoration: none;
  font-weight: bold;
  color: #5e6203;
  font-size: 14px;
}
.read-more:hover {
  text-decoration: underline;
}

.blog-card {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}


/* Practice  */

.modal {
  display: none; 
  position: fixed; 
  z-index: 1000; 
  left: 0; top: 0; 
  width: 100%; height: 100%; 
  overflow: auto; 
  background-color: rgba(0,0,0,0.6);
}

.modal-content {
  background-color: #fff;
  margin: 10% auto; 
  padding: 20px;
  border-radius: 8px;
  max-width: 600px;
  box-shadow: 0 0 10px rgba(0,0,0,0.3);
  position: relative;
}

.close-btn {
  position: absolute;
  top: 10px; right: 15px;
  font-size: 24px;
  font-weight: bold;
  cursor: pointer;
  color: #444;
}


/* contact info */
/* contact info */



/* contact info */
/* contact info */