/* Reset some default styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Arial', sans-serif;
  background-color: #f9f9f9;
  color: #333;
  line-height: 1.6;
}

/* Header Styles */
header {
  background-color: #2c3e50;
  padding: 15px 30px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: white;
}

.logo {
  font-size: 20px;
  font-weight: bold;
}

nav {
  display: flex;
  gap: 20px;
}

nav a {
  color: white;
  text-decoration: none;
  font-weight: 500;
}

#translateBtn {
  background-color: #e67e22;
  border: none;
  padding: 8px 15px;
  color: white;
  font-weight: bold;
  cursor: pointer;
  border-radius: 4px;
}

#translateBtn:hover {
  background-color: #d35400;
}

/* Slider Styles */
#slider {
  position: relative;
  overflow: hidden;
  height: 80vh;
}

.slider-container {
  position: relative;
  width: 100%;
  height: 100%;
}

.slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 0.5s ease-in-out;
}

.slide.active {
  opacity: 1;
}

.slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Overlay Styles */
.overlay {
  position: absolute;
  top: 50px;
  right: 50px;
  bottom: 50px;
  max-width: 50%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  text-align: center;
  color: white;
  padding: 20px;
}

/* Text Container */
.text-container {
  margin-right: 40px;
  max-width: 500px;
}

/* Headings and Paragraphs */
.overlay h2 {
  margin-bottom: 10px;
  font-size: 1.2rem;
  margin: 0 0 0.5rem;
  font-weight: bolder;
}

.overlay h3 {
  margin-bottom: 10px;
  font-size: 2rem;
}

.overlay p {
  margin: 10px 0;
  font-size: 1.2rem;
}

.cta-btn {
  display: inline-block;
  background: #462768;
  color: #fff;
  text-decoration: none;
  padding: 0.5rem 0.75rem;
  font-size: 16px;
  border-radius: 4px;
  font-weight: 700;
  border: none;
  max-width: 300px;
  white-space: nowrap;
  margin: 0 auto;
}

.cta-btn:hover {
  background-color: #5b4faa;
}

.arrows {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  justify-content: space-between;
  width: 100%;
}

.arrows button {
  background-color: transparent;
  border: none;
  color: white;
  font-size: 30px;
  cursor: pointer;
  padding: 10px;
}

.arrows button:hover {
  background-color: rgba(255, 255, 255, 0.2);
}

/* Footer Styles */
.footer {
  background-color: #222;
  color: white;
  padding: 40px 0;
}

.footer-container {
  display: flex;
  justify-content: space-between;
  gap: 40px;
  max-width: 1200px;
  margin: 0 auto;
}

.footer-column {
  width: calc(33% - 20px);
}

.about,
.contact-us,
.practice-areas {
  h3 {
    font-size: 1.5rem;
    margin-bottom: 10px;
  }
  hr {
    border-top: 1px solid #ccc;
    margin: 10px 0;
  }
}

.about p {
  line-height: 1.6;
  margin-bottom: 20px;
}

.contact-us .contact-info {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.info-item {
  display: flex;
  align-items: center;
  gap: 10px;
}

.info-item i {
  font-size: 1.5rem;
  color: #6c5ce7;
}

.info-item span {
  font-weight: bold;
}

.practice-areas ul {
  list-style: none;
  padding: 0;
}

.practice-areas li {
  margin: 5px 0;
}

.practice-areas a {
  color: white;
  text-decoration: none;
  transition: color 0.3s ease;
}

.practice-areas a:hover {
  color: #6c5ce7;
}

.copyright {
  background-color: #333;
  text-align: center;
  padding: 15px 0;
  margin-top: 20px;
  bottom: 0;
  left: 0;
  z-index: 9999;
}

.hero-section {
  text-align: center;
  margin-bottom: 40px;
  padding: 40px 20px;
  background-color: #fefefe;
  border-top: 4px solid #462768;
  border-bottom: 4px solid #462768;
}

.hero-section h1 {
  font-size: 1.2rem;
  color: #462768;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.hero-section h2 {
  font-size: 2rem;
  color: #462768;
  font-weight: 900;
  margin-bottom: 10px;
}

/* Content Section */
.content-section {
  display: flex;
  gap: 10px; 
  align-items: flex-start;
  margin-top: 40px;
  flex-wrap: wrap;
   padding: 0 40px;       /* control spacing from edges */
  max-width: 1800px; 
}

.image-column img {
  width: 100%; 
  height: auto;
  display: block; 
  border-radius: 8px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.image-column {
  /* Option 1: Using flex-basis (recommended for flex layouts) */
  flex-grow: 0;       /* Don't allow it to grow */
  flex-shrink: 0;     /* Don't allow it to shrink if space is tight (can be 1 if you want shrinking) */
  flex-basis: 420px;
}

.text-column {
  flex: 1;
  margin-left: 90px;
  text-align: center;
  gap: 20px;
 }


.text-column h3 {
  font-size: 1.4rem;
  margin-bottom: 15px;
  color: #2c3e50;
  font-weight: 700;
  line-height: 1.4;
}

.text-column p {
  font-size: 0.95rem;
  margin-bottom: 20px;
  color: #555ea0;
  line-height: 1.6;
  text-align: left;
}

/* Services List */
.services-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  justify-content: center;
  gap: 20px 40px; /* row-gap, column-gap */
  max-width: 900px;
  margin: 30px auto 0 auto;
  text-align: center;
}

.service-item {
  padding: 15px 20px;
  font-size: 1rem;
  font-weight: bold;
  color: #c20000;
  background-color: #fff0f0;
  border-radius: 10px;
  box-shadow: 0 4px 12px rgba(255, 0, 0, 0.1);
  transition: all 0.3s ease;
  border: 1px solid #ffd5d5;
  
}



.service-item i {
  color: #6c5ce7;
  font-size: 1rem;
}

.service-item span {
  font-size: 1.1rem;
  font-weight: bold;
}

.advice-section {
  display: flex;
  align-items: flex-start;
  gap: 30px;
  padding: 60px 40px;
  background-color: #fefefe;
  border-top: 4px solid #462768;
  border-bottom: 4px solid #462768;
  flex-wrap: wrap;
}

.advice-image img {
  max-width: 480px;
  height: auto;
  border-radius: 10px;
  object-fit: cover;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.1);
}

.advice-text {
  flex: 1;
  padding: 10px 10px 10px 20px;
}

.advice-text h2 {
  font-size: 1.8rem;
  color: #2c3e50;
  margin-bottom: 20px;
  font-weight: 800;
}

.advice-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.advice-list li {
  margin-bottom: 25px;
  padding-left: 20px;
  border-left: 4px solid #462768;
}

.advice-list h4 {
  color: #462768;
  margin: 0 0 5px;
  font-size: 1.2rem;
  font-weight: bold;
}

.advice-list p {
  margin: 0;
  font-size: 1rem;
  color: #444b7d;
  line-height: 1.6;
}


.legal-services {
  padding: 60px 40px;
  background: #fafafa;
  border-top: 4px solid #462768;
}

.services-header {
  text-align: center;
  max-width: 800px;
  margin: 0 auto 40px auto;
}

.services-header h2 {
  font-size: 1.6rem;
  font-weight: 900;
  color: #462768;
  margin-bottom: 15px;
  text-transform: uppercase;
}

.services-header p {
  font-size: 1rem;
  color: #6c3a00;
  line-height: 1.6;
  font-family: cursive;
  font-weight: bold;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
}

.service-card {
  background-color: #fff;
  padding: 30px 25px;
  border-radius: 10px;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  text-align: left;
}

.service-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.15);
}

.service-card i {
  font-size: 1.8rem;
  color: #462768;
  margin-bottom: 15px;
}

.service-card h3 {
  font-size: 1.2rem;
  margin-bottom: 10px;
  color: #2c3e50;
}

.service-card p {
  font-size: 0.95rem;
  line-height: 1.6;
  color: #000000;
}

.icon-wrap {
  font-size: 1.8rem;
  color: white;
  background: #462768;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  margin-bottom: 15px;
}

.consultation-strip {
  background-image: url("images/consultant.jpg");
  background-size: cover;
  background-position: center;
  padding: 60px 30px;
  color: #f5f5f5;
  position: relative;
}

.consultation-strip::before {
  content: "";
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background-color: rgba(70, 39, 104, 0.65); /* softer purple overlay */
  z-index: 1;
}

.consultation-content {
  position: relative;
  z-index: 2;
  max-width: 1000px;
  margin: 0 auto;
  text-align: left;
}

.consultation-content h2 {
  font-size: 1.4rem;
  font-weight: 600; /* was 900 */
  text-transform: uppercase;
  margin-bottom: 15px;
  color: #ffffff;
}

.consultation-content p {
  font-size: 1rem;
  margin-bottom: 15px;
  line-height: 1.6;
  font-weight: 400; /* normal text weight */
  color: #f0f0f0;
}

.consultation-btn {
  display: inline-block;
  margin-top: 20px;
  border: 2px solid #ffffff;
  color: #ffffff;
  text-decoration: none;
  padding: 12px 24px;
  border-radius: 4px;
  font-weight: 600;
  transition: background 0.3s, color 0.3s;
  background-color: transparent;
}

.consultation-btn:hover {
  background-color: #ffffff;
  color: #462768;
}




/* Responsive Design */
@media (max-width: 768px) {
  .content-section {
    flex-direction: column;
  }

  .image-column img {
    width: 100%;
  }

  .text-column h3 {
    font-size: 1.4rem;
  }

  .text-column p {
    font-size: 0.95rem;
  }

  .services-list {
    grid-template-columns: 1fr;
  }
}
