/*
Theme Name: Laxis Theme
Theme URI: http://example.com/
Author: Your Name
Author URI: http://example.com/
Description: Custom theme for Nkalawfirm
Version: 1.0.19
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: laxis-theme
*/

@import url("https://fonts.googleapis.com/css2?family=Libre+Baskerville:ital,wght@0,400;0,700;1,400&family=Work+Sans:ital,wght@0,100..900;1,100..900&display=swap");

/* Reset and Base Styles */
:root {
  --primary-color: #db9743;
  /* Gold */
  --secondary-color: #1c1a23;
  /* Dark Blue */
  --text-color: #2d3748;
  /* Dark Gray */
  --background-color: #f7fafc;
  /* Light Gray */
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Work Sans", -apple-system, BlinkMacSystemFont, "Segoe UI",
    Roboto, Oxygen, Ubuntu, Cantarell, "Open Sans", "Helvetica Neue", sans-serif;
  font-optical-sizing: auto;
  font-weight: normal;
  font-style: normal;
  font-variation-settings: "slnt" 0;
  line-height: 1.6;
  color: var(--text-color);
  overflow-x: hidden;
}

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

/* Typography */
h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: "Libre Baskerville", "Work Sans", -apple-system,
    BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell,
    "Open Sans", "Helvetica Neue", sans-serif;
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 1rem;
}

h1 {
  font-size: 3.5rem;
  font-weight: 700;
}

h2 {
  font-size: 2.5rem;
  color: var(--secondary-color);
}

h3 {
  font-size: 1.5rem;
  color: var(--text-color);
}

p {
  margin-bottom: 1rem;
  color: #4a5568;
}

.lead {
  font-size: 1.2rem;
  font-weight: 500;
  color: var(--text-color);
  margin-bottom: 1.5rem;
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 12px 30px;
  text-decoration: none;
  border-radius: 5px;
  font-weight: 600;
  font-size: 16px;
  transition: all 0.3s ease;
  border: 2px solid transparent;
  cursor: pointer;
  text-align: center;
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary-color), #b8941f);
  color: white;
  box-shadow: 0 4px 15px rgba(212, 175, 55, 0.3);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(212, 175, 55, 0.4);
}

.btn-secondary {
  background: transparent;
  color: var(--primary-color);
  border-color: var(--primary-color);
}

.btn-secondary:hover {
  background: var(--primary-color);
  color: white;
  transform: translateY(-2px);
}

.btn-full {
  width: 100%;
}

/* Mini-Header */
.mini-header {
  background-color: rgb(52, 51, 53);
  /* Darker background */
  color: rgba(255, 255, 255, 0.8);
  padding: 10px 0;
  font-size: 0.85rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.mini-header-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  /* Allow wrapping on smaller screens */
}

.mini-header-left span {
  margin-right: 20px;
  white-space: nowrap;
  /* Prevent breaking line for time */
}

.mini-header-left i,
.mini-header-right i {
  color: #d4af37;
  /* Accent color for icons */
}

.mini-header-right {
  display: flex;
  align-items: center;
  gap: 20px;
  /* Space between email, phone, social */
  flex-wrap: wrap;
  justify-content: flex-end;
  /* Align items to the right */
}

.mini-header-right a {
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  transition: color 0.3s ease;
  white-space: nowrap;
  /* Prevent breaking lines for email/phone */
}

.mini-header-right a:hover {
  color: #d4af37;
}

.mini-header .social-icons {
  display: flex;
  gap: 10px;
}

.mini-header .social-icons a {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.8);
  transition: color 0.3s ease;
  height: 25px;
  width: 25px;
  border-radius: 50px;
  border: 1px solid #d4af37;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.mini-header .social-icons a:hover {
  background-color: #d4af37;
  color: white !important;
}

.mini-header .social-icons a:hover i {
  color: white !important;
}

/* Header */
.header {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  /* position: fixed;
  top: 0; */
  width: 100%;
  z-index: 1000;
  transition: all 0.3s ease;
  border-bottom: 1px solid rgba(212, 175, 55, 0.1);
}

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.nav {
  padding: 10px 0;
}

.logo h2 {
  color: var(--secondary-color);
  margin: 0;
  font-size: 1.8rem;
  font-weight: 700;
}

.nav-logo {
  /* NEW: Styling for the image logo */
  height: 50px;
  /* Adjust height as needed */
  width: auto;
  vertical-align: middle;
}

.nav-menu {
  display: flex;
  list-style: none;
  gap: 1.2rem;
}

.nav-link {
  text-decoration: none;
  color: var(--text-color);
  font-weight: 500;
  padding: 0.5rem 0;
  position: relative;
  transition: color 0.3s ease;
}

.nav-link::after {
  content: "";
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--primary-color);
  transition: width 0.3s ease;
}

.nav-link:hover {
  color: var(--primary-color);
}

.nav-link:hover::after {
  width: 100%;
}

/* Dropdown Menu */
.dropdown {
  position: relative;
}

.dropdown-toggle span {
  font-size: 0.8rem;
  margin-left: 0.5rem;
  transition: transform 0.3s ease;
}

.dropdown:hover .dropdown-toggle span {
  transform: rotate(180deg);
}

.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  background: white;
  min-width: 200px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  border-radius: 8px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: all 0.3s ease;
  z-index: 100000 !important; /* Increase z-index to ensure it appears above other elements */
  list-style: none;
  padding: 0.5rem 0;
  border: 1px solid rgba(212, 175, 55, 0.1);
}

.dropdown:hover .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dropdown-menu li {
  margin: 0;
}

.dropdown-menu a {
  display: block;
  padding: 0.75rem 1.5rem;
  color: var(--text-color);
  text-decoration: none;
  font-weight: 500;
  transition: all 0.3s ease;
  border-left: 3px solid transparent;
}

.dropdown-menu a:hover {
  background: var(--background-color);
  color: var(--primary-color);
  border-left-color: var(--primary-color);
}

.hamburger {
  display: none;
  flex-direction: column;
  cursor: pointer;
}

.bar {
  width: 25px;
  height: 3px;
  background: #2d3748;
  margin: 3px 0;
  transition: 0.3s;
}

/* Hero Section */
.hero {
  position: relative;
  min-height: 400px;
  overflow: hidden;
  /* padding: 83px 0 0; */
}

/* Hero Carousel */
.hero-carousel {
  position: relative;
  width: 100%;
  height: 500px;
}

.hero-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  display: flex;
  align-items: center;
  opacity: 0;
  transition: opacity 1s ease-in-out;
  color: white;
}

.hero-slide.active {
  opacity: 1;
}

.hero-slide::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="50" cy="50" r="1" fill="white" opacity="0.1"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
  opacity: 0.1;
}

.hero-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  position: relative;
  z-index: 2;
}

.hero-content {
  max-width: 800px;
  margin-bottom: 3rem;
}

.hero-title {
  font-size: 3rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  line-height: 1.1;
  background: linear-gradient(135deg, #ffffff, #d4af37);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-subtitle p {
  font-size: 1.3rem;
  margin-bottom: 2rem;
  color: #fff;
  font-weight: 400;
}

.hero-buttons {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

/* Hero Navigation */
.hero-nav {
  position: absolute;
  top: 50%;
  width: 100%;
  display: flex;
  justify-content: space-between;
  padding: 0 2rem;
  z-index: 10;
}

.hero-prev,
.hero-next {
  background: rgba(255, 255, 255, 0.2);
  border: 2px solid rgba(255, 255, 255, 0.3);
  color: white;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  font-size: 1.5rem;
  cursor: pointer;
  transition: all 0.3s ease;
  backdrop-filter: blur(10px);
}

.hero-prev:hover,
.hero-next:hover {
  background: rgba(212, 175, 55, 0.8);
  border-color: #d4af37;
  transform: scale(1.1);
}

/* Hero Indicators */
.hero-indicators {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 0.5rem;
  z-index: 10;
}

.indicator {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.4);
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
}

.indicator.active {
  background: #d4af37;
  transform: scale(1.2);
}

.indicator:hover {
  background: rgba(212, 175, 55, 0.8);
}

.hero-stats {
  position: absolute;
  bottom: 6rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 3rem;
  z-index: 10;
}

.stat {
  text-align: center;
}

.stat h3 {
  font-size: 2.5rem;
  color: #d4af37;
  margin-bottom: 0.5rem;
  font-weight: 700;
}

.stat p {
  color: #e2e8f0;
  font-weight: 500;
}

/* Section Header */
.section-header {
  text-align: center;
  margin-bottom: 4rem;
}

.section-header h2 {
  margin-bottom: 1rem;
}

.section-header p {
  font-size: 1.1rem;
  color: #6b7280;
  max-width: 600px;
  margin: 0 auto;
}

/* Services Section */
.services {
  padding: 60px 0;
  background: #f8fafc;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr); /* Set 4 columns by default */
  gap: 1.5rem;
}

@media (max-width: 1200px) {
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .services-grid {
    grid-template-columns: 1fr;
  }
}

.service-card {
  background: white;
  padding: 16px 20px;
  /* border-radius: 10px; */
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
  border-top: 4px solid #d4af37;
}

.service-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.service-icon {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.service-card h3 {
  color: #1a365d;
  margin-bottom: 1rem;
}

.service-card p {
  color: #4a5568;
  line-height: 1.6;
}

/* About Section */
.about {
  padding: 60px 0;
  background: white;
}

.about-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: flex-start;
}

.about-text h2 {
  margin-bottom: 1.5rem;
}

.about-features {
  margin-top: 2rem;
}

.feature {
  margin-bottom: 2rem;
  padding: 1.5rem;
  background: #f8fafc;
  border-radius: 8px;
  border-left: 4px solid #d4af37;
}

.feature h4 {
  color: #1a365d;
  margin-bottom: 0.5rem;
  font-size: 1.1rem;
}

.feature p {
  margin: 0;
  color: #4a5568;
}

.about-image img {
  width: 100%;
  height: 400px;
  object-fit: cover;
  border-radius: 10px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

/* Team Section */
.team {
  padding: 60px 0;
  background: #ffffff;
}

.team-carousel-container {
  position: relative;
  overflow: hidden;
  padding: 0 60px;
}

.team-carousel {
  display: flex;
  gap: 1.5rem;
  overflow-x: auto;
  scroll-behavior: smooth;
  padding: 1rem 0;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.team-carousel::-webkit-scrollbar {
  display: none;
}

.team-member {
  flex: 0 0 320px;
  background: white;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
}

.team-member:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.team-member img {
  width: 100%;
  height: 250px;
  object-fit: cover;
}

.team-info {
  padding: 1.5rem 1.5rem 2rem;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.team-member h3 {
  color: #1a365d;
  margin-bottom: 0.5rem;
  font-size: 1.15rem;
}

.team-member .title {
  color: #d4af37;
  font-weight: 600;
  margin-bottom: 0.5rem;
  font-size: 1rem;
}

.team-member .specialty {
  color: #6b7280;
  margin-bottom: 1rem;
  font-style: italic;
  font-size: 0.9rem;
}

.team-member .bio {
  color: #4a5568;
  font-size: 0.9rem;
  line-height: 1.5;
  margin-top: auto;
}

/* Team Navigation */
.team-nav {
  position: absolute;
  top: 50%;
  width: 100%;
  display: flex;
  justify-content: space-between;
  padding: 0 1rem;
  pointer-events: none;
}

.team-prev,
.team-next {
  background: rgba(26, 54, 93, 0.9);
  border: 2px solid #d4af37;
  color: white;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  font-size: 1.2rem;
  cursor: pointer;
  transition: all 0.3s ease;
  pointer-events: all;
  display: flex;
  align-items: center;
  justify-content: center;
}

.team-prev:hover,
.team-next:hover {
  background: #d4af37;
  border-color: #1a365d;
  transform: scale(1.1);
}

/* News Section */
.news {
  padding: 60px 0;
  /* background: var(--secondary-color); */
  /* color: white; */
  background: #f8fafc;
}

.news .section-header h2,
.news .section-header p {
  color: inherit !important;
}

.news-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 2rem;
  margin-bottom: 3rem;
}

.news-item {
  background: white;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
  transition: all 0.3s ease;
}

.news-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3);
}

.news-image {
  position: relative;
  height: 200px;
  overflow: hidden;
}

.news-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.news-item:hover .news-image img {
  transform: scale(1.05);
}

.news-content {
  padding: 1.5rem;
  color: #2d3748;
}

.news-meta {
  display: flex;
  gap: 1rem;
  margin-bottom: 1rem;
}

.news-date {
  color: #6b7280;
  font-size: 0.9rem;
}

.news-category {
  background: #d4af37;
  color: white;
  padding: 0.25rem 0.75rem;
  border-radius: 15px;
  font-size: 0.8rem;
  font-weight: 600;
}

.news-content h3 {
  margin-bottom: 1rem;
  font-size: 1.3rem;
}

.news-content h3 a {
  color: #1a365d;
  text-decoration: none;
  transition: color 0.3s ease;
}

.news-content h3 a:hover {
  color: #d4af37;
}

.news-content p {
  color: #4a5568;
  margin-bottom: 1rem;
  line-height: 1.6;
}

.read-more {
  color: #d4af37;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
}

.read-more:hover {
  color: #1a365d;
}

.news-cta {
  text-align: center;
}

/* Contact Section */
.contact {
  padding: 60px 0;
  background: #f8fafc;
}

.contact-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
}

.contact-info h2 {
  margin-bottom: 1rem;
}

.contact-info > p {
  margin-bottom: 2rem;
}

.contact-details {
  display: grid;
  gap: 1.5rem;
}

.contact-item h4 {
  color: #1a365d;
  margin-bottom: 0.5rem;
  font-size: 1rem;
}

.contact-item p {
  margin: 0;
  color: #4a5568;
}

.contact-form {
  background: white;
  padding: 2rem;
  border-radius: 10px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px 16px;
  border: 2px solid #e2e8f0;
  border-radius: 5px;
  font-family: inherit;
  font-size: 16px;
  transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: #d4af37;
}

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

/* Footer */
.footer {
  background: var(--secondary-color);
  color: white;
  padding: 60px 0 20px;
  font-size: 0.9rem;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin-bottom: 2rem;
}

.footer-section h3,
.footer-section h4 {
  color: #d4af37;
  margin-bottom: 1rem;
}

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

.footer-section ul li {
  margin-bottom: 0.5rem;
}

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

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

.footer-section p {
  color: #cbd5e0;
  margin-bottom: 0.5rem;
}

.footer-section .logo {
  height: 70px;
  object-fit: contain;
}

.footer-bottom {
  text-align: center;
  padding-top: 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom p {
  color: #cbd5e0;
  margin: 0;
  font-size: 12.5px;
}

/* Responsive Design */
@media (max-width: 768px) {
  .hamburger {
    display: flex;
  }

  .nav-menu {
    position: fixed;
    left: -100%;
    top: 70px;
    flex-direction: column;
    background-color: white;
    width: 100%;
    text-align: center;
    transition: 0.3s;
    box-shadow: 0 10px 27px rgba(0, 0, 0, 0.05);
    padding: 2rem 0;
  }

  .nav-menu.active {
    left: 0;
  }

  .hero-title {
    font-size: 2.5rem;
  }

  .hero-stats {
    flex-wrap: wrap;
    gap: 2rem;
    justify-content: center;
    bottom: 8rem;
  }

  .hero-buttons {
    justify-content: center;
  }

  .hero-nav {
    padding: 0 1rem;
  }

  .hero-prev,
  .hero-next {
    width: 40px;
    height: 40px;
    font-size: 1.2rem;
  }

  .about-content {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .contact-content {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .services-grid {
    grid-template-columns: 1fr;
  }

  .team-carousel-container {
    padding: 0 40px;
  }

  .team-member {
    flex: 0 0 280px;
  }

  .testimonials-grid {
    grid-template-columns: 1fr;
  }

  .footer-content {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .container {
    padding: 0 15px;
  }
}

@media (max-width: 480px) {

  .hero-title {
    font-size: 2rem;
  }

  .hero-subtitle {
    font-size: 0.8rem;
    line-height: 1.2;
  }

  .hero-buttons {
    flex-direction: column;
    align-items: center;
  }

  .hero-stats {
    bottom: 10rem;
    gap: 1.5rem;
  }

  .hero-nav {
    padding: 0 0.5rem;
  }

  .team-carousel-container {
    padding: 0 20px;
  }

  .team-member {
    flex: 0 0 250px;
  }

  .btn {
    padding: 10px 25px;
    font-size: 14px;
  }

  h2 {
    font-size: 2rem;
  }

  .services,
  .about,
  .team,
  .testimonials,
  .contact {
    padding: 60px 0;
  }

  .service-card,
  .contact-form {
    padding: 1.5rem;
  }
}

/* Animations */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.service-card,
.team-member,
.testimonial {
  animation: fadeInUp 0.6s ease-out;
}

/* Smooth scrolling enhancements */
@media (prefers-reduced-motion: no-preference) {
  html {
    scroll-behavior: smooth;
  }
}

/* styles.css */
.hero-small {
  min-height: 30vh;
  /* Shorter height for internal page heroes */
  padding: 60px 0 40px;
}

.hero-small .hero-content {
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
}

.hero-small .hero-title {
  font-size: 3rem;
  /* Adjust font size for smaller hero */
}

.hero-small .hero-subtitle {
  font-size: 1.2rem;
}

/* Adjust for responsiveness if needed */
@media (max-width: 768px) {
  .hero-small .hero-title {
    font-size: 2.5rem;
  }
  .mini-header {
    display: none;
  }
}

/* styles.css */
.contact-info-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
  margin-bottom: 4rem;
  text-align: center;
}

.contact-item {
  background: white;
  padding: 2rem;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
  border-bottom: 3px solid #d4af37;
}

.contact-item h3 {
  color: #1a365d;
  margin-bottom: 0.75rem;
  font-size: 1.3rem;
}

.contact-item p {
  color: #4a5568;
  line-height: 1.5;
}

.contact-form-map-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: flex-start;
}

@media (max-width: 992px) {
  .contact-form-map-grid {
    grid-template-columns: 1fr;
  }
}

.contact-form {
  background: white;
  padding: 2.5rem;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
}

.contact-form h3 {
  text-align: center;
  color: #1a365d;
  margin-bottom: 2rem;
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-group label {
  display: block;
  margin-bottom: 0.5rem;
  color: #4a5568;
  font-weight: 500;
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 12px 15px;
  border: 1px solid #e2e8f0;
  border-radius: 5px;
  font-family: "Inter", sans-serif;
  font-size: 1rem;
  color: #2d3748;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  border-color: #d4af37;
  outline: none;
  box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.2);
}

.form-group textarea {
  resize: vertical;
}

.contact-map {
  background: white;
  padding: 2.5rem;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  display: flex;
  flex-direction: column;
  align-items: center;
}

.contact-map h3 {
  color: #1a365d;
  margin-bottom: 1.5rem;
  text-align: center;
}

.contact-map iframe {
  border-radius: 8px;
  width: 100%;
  max-width: 600px;
  /* Optional: Limit map width */
}

.map-address {
  margin-top: 1.5rem;
  text-align: center;
  color: #4a5568;
  font-weight: 500;
  font-size: 1.1rem;
}

/* styles.css */
.lawyers-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2rem;
  padding: 1rem 0;
  /* Align with container padding */
}

/* Reuse .team-member, .team-member img, .team-info, h3, .title, .specialty, .bio */
/* Add a small button style for "Voir le profil" */
.btn-small {
  padding: 8px 15px;
  font-size: 0.9rem;
  margin-top: 1rem;
  /* Space below bio */
}

/* styles.css */
.lawyer-hero {
  background: var(--secondary-color);
  color: white;
  padding: 80px 0;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.lawyer-hero-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2rem;
}

@media (min-width: 768px) {
  .lawyer-hero-content {
    flex-direction: row;
    text-align: left;
    gap: 4rem;
  }
}

.lawyer-image-wrapper {
  flex-shrink: 0;
}

.lawyer-image-wrapper img {
  width: 180px;
  height: 180px;
  border-radius: 50%;
  object-fit: cover;
  border: 5px solid #d4af37;
  box-shadow: 0 0 0 8px rgba(212, 175, 55, 0.2);
}

.lawyer-details {
  flex-grow: 1;
}

.lawyer-name {
  font-size: 3rem;
  color: white;
  margin-bottom: 0.5rem;
  background: none;
  /* Override hero-title gradient */
  -webkit-background-clip: unset;
  -webkit-text-fill-color: unset;
  background-clip: unset;
}

.lawyer-title {
  font-size: 1.5rem;
  color: #d4af37;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.lawyer-specialty {
  font-size: 1.1rem;
  color: #e2e8f0;
  margin-bottom: 1.5rem;
}

.social-links {
  display: flex;
  justify-content: center;
  /* For mobile centering */
  gap: 1rem;
  margin-bottom: 2rem;
}

@media (min-width: 768px) {
  .social-links {
    justify-content: flex-start;
  }
}

.social-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.15);
  color: white;
  font-size: 1.2rem;
  text-decoration: none;
  transition: background 0.3s ease;
}

.social-icon:hover {
  background: #d4af37;
}

/* Lawyer Sections */
.lawyer-sections {
  padding: 60px 0;
  background: #f8fafc;
}

.lawyer-section-grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  /* Main content and sidebar */
  gap: 4rem;
}

@media (max-width: 992px) {
  .lawyer-section-grid {
    grid-template-columns: 1fr;
  }
}

.lawyer-main-content h2 {
  color: #1a365d;
  margin-bottom: 1.5rem;
  font-size: 2rem;
}

.lawyer-main-content p {
  color: #4a5568;
  margin-bottom: 1rem;
}

.lawyer-main-content ul {
  list-style: none;
  padding-left: 0;
  margin-bottom: 2rem;
}

.lawyer-main-content ul li {
  margin-bottom: 0.5rem;
  color: #2d3748;
  position: relative;
  padding-left: 1.5rem;
}

.lawyer-main-content ul li::before {
  content: "✓";
  color: #d4af37;
  position: absolute;
  left: 0;
}

.publication-list {
  margin-top: 2rem;
}

.publication-item {
  background: white;
  padding: 1.5rem;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  margin-bottom: 1.5rem;
  border-left: 4px solid #d4af37;
}

.publication-item h4 {
  color: #1a365d;
  margin-bottom: 0.5rem;
  font-size: 1.2rem;
}

.publication-item p {
  margin: 0;
  font-size: 0.95rem;
}

.lawyer-sidebar {
  background: white;
  padding: 2.5rem;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
}

.sidebar-block {
  margin-bottom: 2rem;
}

.sidebar-block:last-child {
  margin-bottom: 0;
}

.sidebar-block h3 {
  color: #1a365d;
  margin-bottom: 1.5rem;
  font-size: 1.5rem;
  text-align: center;
}

.sidebar-block p {
  color: #4a5568;
  margin-bottom: 1rem;
  text-align: center;
}

.testimonial-block blockquote {
  font-style: italic;
  color: #6b7280;
  border-left: 4px solid #d4af37;
  padding-left: 1rem;
  margin: 1.5rem 0;
  text-align: center;
}

/* styles.css */
.pagination {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 3rem;
}

.pagination .btn {
  min-width: 40px;
  text-align: center;
}

/* styles.css */
.single-news-article {
  padding: 60px 0;
  background: white;
}

.article-header {
  text-align: center;
  margin-bottom: 3rem;
}

.article-title {
  font-size: 3rem;
  color: #1a365d;
  margin-bottom: 1rem;
}

.article-meta {
  color: #6b7280;
  font-size: 0.95rem;
  margin-bottom: 2rem;
}

.article-meta a {
  color: #d4af37;
  text-decoration: none;
  font-weight: 500;
}

.article-main-image {
  width: 100%;
  max-height: 450px;
  object-fit: cover;
  border-radius: 10px;
  margin-top: 1.5rem;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.article-content {
  max-width: 800px;
  margin: 0 auto;
  color: #4a5568;
  line-height: 1.8;
}

.article-content h2,
.article-content h3 {
  color: #1a365d;
  margin-top: 2.5rem;
  margin-bottom: 1rem;
}

.article-content h2 {
  font-size: 2rem;
}

.article-content h3 {
  font-size: 1.5rem;
  color: #2d3748;
}

.article-content ul,
.article-content ol {
  margin-bottom: 1rem;
  padding-left: 20px;
}

.article-content ul li,
.article-content ol li {
  margin-bottom: 0.5rem;
}

.article-content blockquote {
  background: #f8fafc;
  border-left: 5px solid #d4af37;
  padding: 1.5rem;
  margin: 2rem 0;
  font-style: italic;
  color: #2d3748;
  border-radius: 5px;
}

.article-footer {
  margin-top: 3rem;
  padding-top: 1.5rem;
  border-top: 1px solid #e2e8f0;
  text-align: center;
}

.related-articles {
  margin-top: 4rem;
  background: #f8fafc;
  padding: 2.5rem;
  border-radius: 10px;
  box-shadow: 0 2px 15px rgba(0, 0, 0, 0.05);
}

.related-articles h3 {
  color: #1a365d;
  margin-bottom: 1.5rem;
  text-align: center;
  font-size: 1.8rem;
}

.related-articles ul {
  list-style: none;
  padding: 0;
}

.related-articles ul li {
  margin-bottom: 0.75rem;
}

.related-articles ul li a {
  color: #2d3748;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s ease;
}

.related-articles ul li a:hover {
  color: #d4af37;
}

/* Single Service Page Styles */

.service-detail {
  padding: 60px 0;
  background-color: #f8fafc;
  /* Light background for content */
}

.service-detail-grid {
  display: grid;
  grid-template-columns: 2.5fr 1fr;
  /* Main content and sidebar */
  gap: 4rem;
  align-items: flex-start;
  /* Aligns content at the top */
}

@media (max-width: 992px) {
  .service-detail-grid {
    grid-template-columns: 1fr;
    /* Stack columns on smaller screens */
  }
}

.service-content h2 {
  font-size: 2.5rem;
  color: #1a365d;
  margin-bottom: 1.5rem;
}

.service-content h3 {
  font-size: 1.8rem;
  color: #2d3748;
  margin-top: 2rem;
  margin-bottom: 1rem;
}

.service-content p {
  color: #4a5568;
  line-height: 1.7;
  margin-bottom: 1rem;
}

.service-content ul {
  list-style: none;
  padding-left: 0;
  margin-bottom: 2rem;
}

.service-content ul li {
  margin-bottom: 0.8rem;
  color: #2d3748;
  position: relative;
  padding-left: 1.8rem;
  /* Space for custom bullet */
  line-height: 1.6;
}

.service-content ul li strong {
  color: #1a365d;
  /* Darker color for strong text */
}

.service-content ul li::before {
  content: "✓";
  /* Checkmark icon */
  color: #d4af37;
  /* Accent color for checkmark */
  position: absolute;
  left: 0;
  font-weight: bold;
  font-size: 1.1em;
}

.service-sidebar {
  background: white;
  padding: 2.5rem;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
}

.sidebar-block {
  text-align: center;
}

.sidebar-block h3 {
  color: #1a365d;
  margin-bottom: 1.5rem;
  font-size: 1.6rem;
}

.sidebar-block p {
  color: #4a5568;
  margin-bottom: 1rem;
}

.sidebar-block .btn {
  width: 100%;
}

.sidebar-block.list-block ul {
  list-style: none;
  padding: 0;
  text-align: left;
}

.sidebar-block.list-block ul li {
  margin-bottom: 0.7rem;
  border-bottom: 1px solid #e2e8f0;
  padding-bottom: 0.7rem;
  padding-left: 0;
  /* Remove padding from general ul li */
}

.sidebar-block.list-block ul li:last-child {
  border-bottom: none;
  margin-bottom: 0;
  padding-bottom: 0;
}

.sidebar-block.list-block ul li a {
  color: #2d3748;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s ease;
}

.sidebar-block.list-block ul li a:hover {
  color: #d4af37;
}

/* Call to Action Section */
.call-to-action {
  background: linear-gradient(rgba(26, 54, 93, 0.9), rgba(45, 55, 72, 0.9)),
    url("https://images.unsplash.com/photo-1579389083582-7f9e8a7e0f2f?ixlib=rb-4.0.3&auto=format&fit=crop&w=2070&q=80")
      no-repeat center center/cover;
  padding: 80px 0;
  color: white;
  text-align: center;
  margin-top: 5rem;
}

.call-to-action h2 {
  color: white;
  font-size: 2.8rem;
  margin-bottom: 1.5rem;
}

.call-to-action p {
  max-width: 700px;
  margin: 0 auto 2.5rem auto;
  font-size: 1.1rem;
  line-height: 1.8;
}

.call-to-action .btn-lg {
  padding: 15px 40px;
  font-size: 1.1rem;
}

/* Related Lawyers Section for Single Service Page */
.related-lawyers {
  padding: 80px 0;
  background-color: #f0f4f8;
  /* A slightly different background for contrast */
}

.related-lawyers .section-header {
  margin-bottom: 3rem;
}

.related-lawyers-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  /* Slightly smaller cards */
  gap: 2rem;
  justify-content: center;
  /* Center items if fewer than full row */
}

/* Reuse .team-member, .team-member img, .team-info, h3, .title, .specialty, .bio */
/* Ensure images are consistent size, e.g., via object-fit: cover; */
.related-lawyers-grid .team-member {
  background: white;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.related-lawyers-grid .team-member:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.related-lawyers-grid .team-member img {
  width: 100%;
  height: 200px;
  /* Fixed height for consistency */
  object-fit: cover;
  display: block;
  border-bottom: 4px solid #d4af37;
  /* Accent border */
}

.related-lawyers-grid .team-info {
  padding: 1.5rem;
}

.related-lawyers-grid .team-info h3 {
  font-size: 1.4rem;
  margin-bottom: 0.5rem;
  color: #1a365d;
}

.related-lawyers-grid .team-info .title {
  font-size: 0.95rem;
  color: #6b7280;
  margin-bottom: 0.1rem;
}

.related-lawyers-grid .team-info .specialty {
  font-size: 1rem;
  color: #2d3748;
  font-weight: 500;
  /* margin-bottom: 1rem; */
}

/* Image Carousel Section */
.service-image-carousel {
  padding: 80px 0;
  background-color: #ffffff;
}

.image-carousel {
  margin-top: 3rem;
}

.image-carousel img {
  width: 100%;
  height: 350px;
  /* Fixed height for carousel images */
  object-fit: cover;
  border-radius: 8px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

/* Slick Carousel Customizations (overriding default slick-theme.css) */
.slick-prev:before,
.slick-next:before {
  font-family: "slick";
  font-size: 30px;
  line-height: 1;
  opacity: 0.75;
  color: #1a365d;
  /* Dark blue arrows */
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.slick-prev {
  left: -40px;
  /* Adjust position */
}

.slick-next {
  right: -40px;
  /* Adjust position */
}

@media (max-width: 768px) {
  .slick-prev {
    left: -20px;
  }

  .slick-next {
    right: -20px;
  }
}

.slick-dots li button:before {
  font-size: 12px;
  color: #6b7280;
  /* Grey dots */
  opacity: 0.5;
}

.slick-dots li.slick-active button:before {
  color: #d4af37;
  /* Accent color for active dot */
  opacity: 1;
}

.slick-dots {
  bottom: -35px;
  /* Adjust position */
}

/* Responsive Styles */
@media (max-width: 992px) {
  .mini-header-content {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
    /* Space between rows */
  }

  .mini-header-left {
    width: 100%;
    text-align: center;
    margin-right: 0;
  }

  .mini-header-right {
    width: 100%;
    justify-content: center;
    /* Center items when stacked */
    gap: 15px;
  }

  .mini-header-right a {
    flex-grow: 1;
    /* Allow email/phone to take available width */
    text-align: center;
  }

  .mini-header .social-icons {
    justify-content: center;
    /* Center social icons */
    width: 100%;
  }

  .nav-menu {
    display: none;
    flex-direction: column;
    width: 100%;
    position: absolute;
    top: 80px;
    /* Height of header */
    left: 0;
    background-color: #1a365d;
    padding: 20px 0;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
    z-index: 999;
  }

  .nav-menu.active {
    display: flex;
  }

  .nav-item {
    margin: 0;
    width: 100%;
    text-align: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  }

  .nav-item:last-child {
    border-bottom: none;
  }

  .nav-link {
    padding: 15px 0;
  }

  .dropdown-menu {
    position: static;
    width: 100%;
    background-color: #2d3748;
    box-shadow: none;
    border-radius: 0;
    padding: 0;
  }

  .dropdown-menu li a {
    padding: 10px 0;
    font-size: 0.95rem;
  }

  .hamburger {
    display: flex;
  }

  .hamburger.active .bar:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
  }

  .hamburger.active .bar:nth-child(2) {
    opacity: 0;
  }

  .hamburger.active .bar:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
  }

  .hero-title {
    font-size: 2.8rem;
  }

  .hero-subtitle {
    font-size: 1.2rem;
  }

  .hero-nav {
    padding: 0 20px;
  }

  .hero-stats {
    bottom: 30px;
    gap: 20px;
  }

  .about-content {
    flex-direction: column;
  }

  .about-text .section-title {
    text-align: center;
  }

  .services-grid,
  .news-grid,
  .testimonials-grid {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  }

  .team-carousel-container {
    padding: 0 20px;
    /* Adjust padding for mobile arrows */
  }

  .service-detail-grid {
    grid-template-columns: 1fr;
    /* Stack columns on smaller screens */
  }

  .slick-prev {
    left: -20px;
  }

  .slick-next {
    right: -20px;
  }
}

@media (max-width: 768px) {
  .mini-header-right a {
    display: block;
    /* Stack email/phone links vertically */
    margin-bottom: 5px;
  }

  .mini-header-right {
    flex-direction: column;
    /* Stack contact info */
    gap: 5px;
    /* Reduce gap */
  }

  .hero-title {
    font-size: 2rem;
  }

  .hero-subtitle {
    font-size: 0.8rem;
    line-height: 1.2;
  }

  .hero-buttons {
    flex-direction: column;
    align-items: center;
  }

  .hero-stats {
    bottom: 10rem;
    /* Adjust if it conflicts with content on very small screens */
    gap: 1.5rem;
  }

  .hero-nav {
    padding: 0 0.5rem;
  }

  .team-carousel-container {
    padding: 0 20px;
  }

  .team-member {
    flex: 0 0 250px;
  }

  .btn {
    padding: 10px 25px;
    font-size: 14px;
  }

  h2 {
    font-size: 2rem;
  }
}

.custom-logo-link img {
  height: 54px;
}

.main-page {
  padding: 60px 0;
}

/* Domain Card */

.domain-card {
  width: 100%;
  /* background-color: #15243d; dark blue */
  background: rgb(52, 51, 53);
  color: white;
  border-radius: 6px;
  overflow: hidden;
  position: relative;
}

.domain-card img {
  display: block;
  width: 100%;
  height: 180px;
  object-fit: cover;
}

.domain-card .icon-box {
  position: relative;
  width: 60px;
  height: 60px;
  background-color: #b07a49; /* brown */
  display: flex;
  justify-content: center;
  align-items: center;
  margin: -30px 0 0 20px;
}
/* diamond outline icon */
.domain-card .diamond-icon {
  width: 42px;
  height: 42px;
  filter: brightness(0) invert(1) brightness(2);
  object-fit: contain;
}
.domain-card .content {
  padding: 20px 20px 60px; /* already present, keep as is */
}
.domain-card .title {
  font-size: 18px;
  font-weight: bold;
  margin-bottom: 10px;
  line-height: 1.25;
}
.domain-card .title .highlight {
  color: #b07a49; /* brown */
}
.domain-card .desc {
  font-size: 14px;
  line-height: 1.5;
  color: #dfe3ea;
}

.voir-plus-link {
  position: absolute;
  right: 20px;
  bottom: 20px;
  display: inline-flex;
  align-items: center;
  color: #fff;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 2;
  font-size: 14px;
}

.voir-plus-link i {
  margin-left: 8px;
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1),
    color 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  color: #fff;
}

.voir-plus-link:hover,
.voir-plus-link:focus {
  color: #db9743;
}

.voir-plus-link:hover i,
.voir-plus-link:focus i {
  color: #db9743;
  transform: translateX(5px);
}

.news-grid-single {
  display: flex;
  justify-content: center;
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
}

.news-grid-single .news-item {
  width: 100%;
  max-width: 500px;
}

.news-grid-double {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

@media (max-width: 768px) {
  .news-grid-double {
    grid-template-columns: 1fr;
    max-width: 500px;
  }
}

.text-white {
  color: white !important;
}

/* Modal Styles */
.fullscreen-modal {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(30, 30, 40, 0.98);
  z-index: 99999;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: stretch;
}
.modal-header {
  background: transparent;
  padding: 2rem 2rem 1rem 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.modal-header-content {
  display: flex;
  width: 100%;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
}
.modal-navbar {
  display: flex;
  width: 100%;
  flex-direction: row;
  justify-content: space-between;
  gap: 5;
  margin-bottom: 20px;
}
.modal-logo img {
  height: 48px;
}
.modal-close {
  background: none;
  border: none;
  font-size: 2.5rem;
  color: #fff;
  cursor: pointer;
  transition: color 0.2s;
}
.modal-close:hover {
  color: #db9743;
}
.modal-menu {
  display: flex;
  gap: 2rem;
  list-style: none;
}
.modal-menu li a {
  color: #fff;
  font-size: 1.2rem;
  text-decoration: none;
  transition: color 0.2s;
}
.modal-menu li a:hover {
  color: #db9743;
}
