:root {
  --primary-yellow: #F6E560;
  --primary-green: #107A56;
  --light-yellow: #fcef92;
  --dark-green: #095E42;
  --white: #FFFFFF;
  --light-gray: #F5F5F5;
  --dark-gray: #333333;
  --accent-yellow: #FFD700;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
  line-height: 1.6;
  color: var(--dark-gray);
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Header Styles */
header {
  background-color: var(--white);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  position: sticky;
  top: 0;
  z-index: 100;
}

.header-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 0;
}

.logo-container {
  display: flex;
  align-items: center;
}

.logo {
  height: 50px;
  margin-right: 10px;
}

.company-name {
  font-size: 24px;
  font-weight: 700;
  color: var(--primary-green);
}

nav ul {
  display: flex;
  list-style: none;
}

nav ul li {
  margin-left: 30px;
}

nav ul li a {
  text-decoration: none;
  color: var(--dark-gray);
  font-weight: 500;
  transition: color 0.3s;
}

nav ul li a:hover {
  color: var(--primary-green);
}

nav ul li a.active {
  color: var(--primary-green);
  font-weight: 700;
}

.mobile-menu-btn {
  display: none;
  background: none;
  border: none;
  font-size: 24px;
  cursor: pointer;
}

/* Hero Section */
.hero {
  background-color: var(--primary-yellow);
  padding: 60px 0;
  text-align: center;
}

.hero h1 {
  font-size: 36px;
  color: var(--primary-green);
  margin-bottom: 20px;
}

.hero p {
  font-size: 18px;
  max-width: 800px;
  margin: 0 auto;
}

/* Content Section */
.service-content {
  padding: 60px 0;
}

.content-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}

.text-content h2 {
  font-size: 28px;
  color: var(--primary-green);
  margin-bottom: 20px;
}

.text-content p {
  margin-bottom: 20px;
}

.image-container img {
  width: 100%;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.cta-button {
  display: inline-block;
  background-color: var(--primary-green);
  color: var(--white);
  padding: 12px 25px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: 600;
  transition: background-color 0.3s;
  margin-top: 20px;
}

.cta-button:hover {
  background-color: var(--dark-green);
}

/* Services Section */
.legal-services {
  background-color: var(--light-yellow);
  padding: 60px 0;
}

.section-title {
  text-align: center;
  font-size: 32px;
  color: var(--primary-green);
  margin-bottom: 40px;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
}

.service-card {
  background-color: var(--white);
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s, box-shadow 0.3s;
}

.service-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.service-icon {
  background-color: var(--white);
  padding: 30px;
  text-align: center;
}

.service-icon span {
  font-size: 48px;
  color: var(--primary-yellow);
}

.service-details {
  padding: 30px;
}

.service-details h3 {
  font-size: 22px;
  color: var(--primary-green);
  margin-bottom: 15px;
}

.service-details p {
  margin-bottom: 20px;
}

.service-list {
  list-style: none;
}

.service-list li {
  margin-bottom: 10px;
  display: flex;
  align-items: flex-start;
}

.service-list li:before {
  content: "✓";
  color: var(--primary-green);
  margin-right: 10px;
  font-weight: 700;
}

/* Why Choose Section */
.why-choose {
  padding: 60px 0;
}

.why-choose-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}

.why-choose-list {
  list-style: none;
}

.why-choose-item {
  display: flex;
  align-items: flex-start;
  margin-bottom: 25px;
}

.why-choose-icon {
  width: 50px;
  height: 50px;
  background-color: var(--light-yellow);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  color: var(--primary-green);
  margin-right: 20px;
  flex-shrink: 0;
}

.why-choose-content h3 {
  font-size: 20px;
  color: var(--primary-green);
  margin-bottom: 10px;
}

/* Footer Styles */
footer {
  background-color: var(--primary-green);
  color: var(--white);
  padding: 60px 0 20px;
}

.footer-container {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  margin-bottom: 40px;
}

.footer-col {
  flex: 1;
  min-width: 200px;
}

.footer-col h3 {
  font-size: 1.2rem;
  margin-bottom: 20px;
  position: relative;
  padding-bottom: 10px;
}

.footer-col h3::after {
  content: '';
  position: absolute;
  width: 40px;
  height: 3px;
  background-color: var(--accent-yellow);
  bottom: 0;
  left: 0;
}

.footer-col ul {
  list-style: none;
}

.footer-col ul li {
  margin-bottom: 10px;
}

.footer-col a {
  color: var(--white);
  text-decoration: none;
  transition: color 0.3s;
}

.footer-col a:hover {
  color: var(--accent-yellow);
}

.social-links {
  display: flex;
  gap: 15px;
  margin-top: 20px;
}

.social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background-color: rgba(255,255,255,0.1);
  border-radius: 50%;
  transition: background-color 0.3s;
}

.social-link:hover {
  background-color: var(--accent-yellow);
}

.social-link i {
  font-size: 20px;
}

.copyright {
  text-align: center;
  padding-top: 20px;
  border-top: 1px solid rgba(255,255,255,0.1);
}

/* Responsive Styles for Mobile */
@media (max-width: 768px) {
  .container {
      padding: 10px; /* Adjust padding for smaller screens */
  }

  .content-container,
  .services-grid,
  .why-choose-container {
      grid-template-columns: 1fr; /* Stack items vertically */
  }

  .image-container,
  .why-choose-list {
      order: -1; /* Move images above text */
  }

  .service-card,
  .why-choose-item {
      margin-bottom: 20px; /* Add space between stacked items */
  }

  .footer-container {
      flex-direction: column; /* Stack footer columns vertically */
      align-items: flex-start; /* Align footer content to the start */
  }

  .footer-col {
      width: 100%; /* Make footer columns full width */
      margin-bottom: 20px; /* Add space between footer columns */
  }

  .mobile-menu-btn {
      display: block; /* Show mobile menu button */
  }

  nav {
      display: none; /* Hide desktop nav by default */
      position: absolute;
      top: 60px; /* Adjust top position as needed */
      left: 0;
      width: 100%;
      background-color: white;
      box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
      padding: 10px;
      z-index: 1000;
  }

  nav.active {
      display: block; /* Show nav when active */
  }

  nav ul {
      flex-direction: column; /* Stack nav items vertically */
      align-items: flex-start; /* Align nav items to the start */
  }

  nav ul li {
      margin: 10px 0; /* Add space between nav items */
  }
}