/* --- Variables & Reset --- */
:root {
  /* Light Mode Colors */
  --bg-color: #ffffff;
  --text-color: #333333;
  --primary-color: #f59e0b;
  --accent-color: #d97706;
  --secondary-bg: #f4f4f4;
  --card-bg: #ffffff;
  --border-color: #e0e0e0;
  --nav-bg: #000000;
  --footer-bg: #000000;
  --footer-text: #ffffff;

  /* Transitions */
  --transition-speed: 0.5s;
}

[data-theme="dark"] {
  /* Dark Mode Colors */
  --bg-color: #121212;
  --text-color: #f1f1f1;
  --primary-color: #f59e0b;
  --accent-color: #ffffff;
  --secondary-bg: #1e1e1e;
  --card-bg: #1e1e1e;
  --border-color: #333333;
  --nav-bg: #000000;
  --footer-bg: #000000;
}

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

body {
  font-family: "Lato", sans-serif;
  background-color: var(--bg-color);
  color: var(--text-color);
  line-height: 1.6;
  transition: background-color var(--transition-speed), color var(--transition-speed);
  overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: "Playfair Display", serif;
  margin-bottom: 1rem;
}

a {
  text-decoration: none;
  color: inherit;
  transition: color 0.3s ease;
}

ul {
  list-style: none;
}

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

/* --- Navigation --- */
/* --- Navigation --- */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  /* Made navbar transparent initially and added transition for resizing */
  background-color: transparent;
  /* Removed fixed height to allow padding to control size */
  /* height: 80px; */
  padding: 20px 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  transition: all 0.3s ease;
}


.navbar.scrolled {
  background-color: var(--nav-bg); /* Becomes solid black */
  padding: 10px 0; /* Shrinks padding */
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
}

.logo-container img {
  /* Added transition for logo resizing */
  transition: height 0.3s ease;
}

/* Resize logo on scroll */
.navbar.scrolled .logo-container img {
  height: 50px;
}

.nav-links {
  display: flex;
  gap: 30px;
}

.nav-link {
  font-weight: 700;
  text-transform: uppercase;
  font-size: 0.9rem;
  letter-spacing: 1px;
  position: relative;
  color: #ffffff;
}

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

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

.nav-controls {
  display: flex;
  align-items: center;
  gap: 15px;
}

button#theme-toggle,
button#edit-mode-toggle {
  background: none;
  border: none;
  cursor: pointer;
  font-size: 1.2rem;
  color: #ffffff;
  transition: transform 0.3s ease;
}

button#theme-toggle:hover,
button#edit-mode-toggle:hover {
  transform: scale(1.1);
  color: var(--primary-color);
}

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

.hamburger span {
  width: 25px;
  height: 3px;
  background-color: #ffffff;
  transition: 0.3s;
}
.logo-container img {
  /* Added transition for logo resizing */
  width: auto;
  transition: height 0.3s ease;
}

/* Added Scroll to Top Button Styles */
#scrollToTop {
  position: fixed;
  bottom: 110px; /* Positioned above WhatsApp button */
  right: 45px;
  width: 50px;
  height: 50px;
  background-color: var(--primary-color);
  color: #ffffff;
  border: none;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
  transition: all 0.3s ease;
  z-index: 999;
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
}

#scrollToTop.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

#scrollToTop:hover {
  background-color: var(--accent-color);
  transform: translateY(-5px);
}


/* Enhanced responsive styles for Navbar */
@media (max-width: 768px) {
  .navbar {
    background-color: var(--nav-bg); /* Ensure readability on mobile */
    padding: 15px 0;
  }

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

  .nav-links {
    position: absolute;
    top: 100%;
    left: 5;
    width: 100%;
    background-color: var(--nav-bg);
    flex-direction: column;
    align-items: flex-start;
    padding: 20px 30px;
    gap: 20px;
    transform: translateY(-150%);
    opacity: 0;
    transition: all 0.4s ease;
    z-index: 999;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
    pointer-events: none;
  }

  .nav-links.active {
    transform: translateY(0);
    opacity: 1;
    pointer-events: all;
  }

  .nav-link {
    width: 100%;
    padding: 12px 0;
    text-align: left;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  }

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

  .nav-link::after {
    display: none;
  }

  .hamburger {
    display: flex;
  }
}

/* Resize logo on scroll */
.navbar.scrolled .logo-container img {
  height: 50px;
}

.nav-links {
  display: flex;
  gap: 30px;
}

.nav-link {
  font-weight: 700;
  text-transform: uppercase;
  font-size: 0.9rem;
  letter-spacing: 1px;
  position: relative;
  color: #ffffff;
}

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

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

.nav-controls {
  display: flex;
  align-items: center;
  gap: 15px;
}

button#theme-toggle,
button#edit-mode-toggle {
  background: none;
  border: none;
  cursor: pointer;
  font-size: 1.2rem;
  color: #ffffff;
  transition: transform 0.3s ease;
}

button#theme-toggle:hover,
button#edit-mode-toggle:hover {
  transform: scale(1.1);
  color: var(--primary-color);
}

.hamburger {
  flex-direction: column;
  cursor: pointer;
  gap: 5px;
}

.hamburger span {
  width: 25px;
  height: 3px;
  background-color: #ffffff;
  transition: 0.3s;
}

/* --- Page Sections & Transitions --- */
main {
  /* Removed margin-top so hero slider can be full page behind transparent navbar */
  /* margin-top: 80px; */
  min-height: 100vh;
}

/* Added specific styles for sub-page hero sections to be partial height */
.page-hero {
  position: relative;
  height: 60vh; /* Reduced from full screen */
  min-height: 400px;
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #ffffff;
  /* Ensure it sits behind the transparent navbar */
  margin-top: -100px;
  padding-top: 100px;
}

.page-hero .hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.6);
  z-index: 1;
}

.page-hero .hero-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
  animation: slideUp 1s ease-out;
}

.page-hero .hero-title {
  font-size: 3.5rem;
  margin-bottom: 15px;
  color: #ffffff;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.page-hero .hero-subtitle {
  font-size: 1.5rem;
  font-weight: 300;
  opacity: 0.9;
}

.page-section {
  display: none;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.8s ease, transform 0.8s ease;
  /* Added padding-top to account for fixed navbar on non-home pages */
  padding-top: 100px;
}

/* Ensure home section starts at the very top for the full-page slider */
#home {
  padding-top: 0;
}

.page-section.active {
  display: block;
  opacity: 1;
  transform: translateY(0);
  animation: fadeIn 0.8s ease-out forwards;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.section-padding {
  padding: 60px 20px;
}

.page-title {
  text-align: center;
  font-size: 2.5rem;
  /* Changed from primary-color to text-color for better readability */
  color: var(--text-color);
  margin-bottom: 40px;
  position: relative;
  display: inline-block;
  width: 100%;
}

.page-title::after {
  content: "";
  display: block;
  width: 60px;
  height: 3px;
  background-color: var(--primary-color);
  margin: 15px auto 0;
}

/* --- Home Page --- */
.hero-slider {
  position: relative;
  /* Changed height to 100vh for full page effect */
  height: 100vh;
  overflow: hidden;
}

.slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity 1s ease-in-out;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #ffffff;
}

.slide.active {
  opacity: 1;
  z-index: 1;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
  animation: slideUp 1s ease-out;
  padding: 40px 50px;
  border-radius: 12px;
}
.hero-content-bg {
  background: rgba(0, 0, 0, 0.5);
}

#edit-mode-toggle {
  background: var(--accent-color);
}

/* Remove background from last slide's hero-content */
.slide:last-child .hero-content {
  background: transparent;
  padding: 0;
}

@keyframes slideUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero-content h1 {
  font-size: 3rem;
  letter-spacing: 2px;
  margin-bottom: 20px;
  color: #ffffff;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.hero-content p {
  font-size: 1.2rem;
  margin-bottom: 40px;
  line-height: 1.8;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

/* Responsive styles for hero-content */
@media (max-width: 768px) {
  .hero-content {
    padding: 30px 25px;
    border-radius: 8px;
  }

  .hero-content h1 {
    font-size: 2rem;
  }

  .hero-content p {
    font-size: 1rem;
  }
}

@media (max-width: 480px) {
  .hero-content {
    padding: 25px 20px;
    border-radius: 6px;
  }

  .hero-content h1 {
    font-size: 1.75rem;
  }

  .hero-content p {
    font-size: 0.95rem;
  }
}

.slider-prev,
.slider-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0, 0, 0, 0.3);
  color: white;
  border: none;
  padding: 15px;
  cursor: pointer;
  z-index: 10;
  font-size: 1.5rem;
  transition: background 0.3s;
}

.slider-prev:hover,
.slider-next:hover {
  background: var(--primary-color);
}

.slider-prev {
  left: 20px;
}

.slider-next {
  right: 20px;
}

.slider-dots {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 10px;
  z-index: 10;
}

.dot {
  width: 12px;
  height: 12px;
  background-color: rgba(255, 255, 255, 0.5);
  border-radius: 50%;
  cursor: pointer;
  transition: background-color 0.3s;
}

.dot.active {
  background-color: var(--primary-color);
}

.section-title {
  text-align: center;
  font-size: 2rem;
  margin-bottom: 40px;
  /* Changed from primary-color to text-color */
  color: var(--text-color);
}

.practice-preview-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
}

.card {
  background-color: var(--card-bg);
  padding: 30px;
  text-align: center;
  border: 1px solid var(--border-color);
  border-radius: 5px;
  transition: transform 0.3s, box-shadow 0.3s;
  cursor: pointer;
}

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

/* Added styles for Features Grid (Why Choose Us) */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 40px;
  text-align: center;
  margin-bottom: 40px;
}

.feature-item {
  padding: 20px;
}

.feature-item i {
  font-size: 2.5rem;
  color: var(--primary-color);
  margin-bottom: 20px;
}

.feature-item h3 {
  /* Changed from primary-color to text-color */
  color: var(--text-color);
  margin-bottom: 15px;
}


/* Added styles for the new Welcome Section */
.welcome-section {
  background-color: var(--bg-color);
  padding-bottom: 40px; /* Add some spacing before the next section */
}

.welcome-wrapper {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 50px;
  align-items: center;
  margin-top: 40px;
}

.welcome-image {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.welcome-image:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.welcome-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  min-height: 400px;
}

.welcome-content {
  text-align: left;
}

.lead-text {
  font-size: 1.25rem;
  color: var(--text-color);
  line-height: 1.8;
  margin-bottom: 25px;
  font-weight: 300;
}

.divider-small {
  width: 80px;
  height: 4px;
  background-color: var(--primary-color);
  margin: 30px 0;
  border-radius: 2px;
}

.welcome-content p:not(.lead-text) {
  font-size: 1.05rem;
  color: #666;
  line-height: 1.7;
}

/* Dark mode support for welcome text */
[data-theme="dark"] .welcome-content p:not(.lead-text) {
  color: #ccc;
}

/* Responsive Design */
@media (max-width: 992px) {
  .welcome-wrapper {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .welcome-image {
    order: 1;
  }

  .welcome-content {
    order: 2;
    text-align: center;
  }

  .divider-small {
    margin: 30px auto;
  }

  .welcome-image img {
    min-height: 300px;
  }
}

@media (max-width: 768px) {
  .welcome-wrapper {
    gap: 30px;
    margin-top: 30px;
  }

  .welcome-image img {
    min-height: 250px;
  }

  .lead-text {
    font-size: 1.15rem;
  }

  .welcome-content p:not(.lead-text) {
    font-size: 1rem;
  }
}
/* End of Welcome Section styles */

/* Styles for Why Choose Us Section */
.why-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.why-card {
  background: var(--card-bg);
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease;
  text-align: center;
  border: 1px solid rgba(0, 0, 0, 0.05);
}

.why-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
  border-color: var(--primary-color);
}

.why-card .icon-box {
  width: 70px;
  height: 70px;
  background: rgba(245, 158, 11, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  color: var(--primary-color);
  font-size: 1.8rem;
}

.why-card h4 {
  margin-bottom: 15px;
  color: var(--text-color);
  font-size: 1.2rem;
}

.why-card p {
  font-size: 0.95rem;
  color: #666;
  line-height: 1.6;
}

/* Added styles for Stats Banner */
.stats-banner {
  background-color: #000000;
  color: #ffffff;
  padding: 60px 0;
  margin: 40px 0;
}

.stats-grid {
  display: flex;
  justify-content: space-around;
  flex-wrap: wrap;
  gap: 30px;
  text-align: center;
}

.stat-item {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.stat-number {
  font-size: 3rem;
  font-weight: 700;
  /* Changed from primary-color to white (since it's on black bg) */
  color: #ffffff;
  font-family: "Playfair Display", serif;
}

.stat-label {
  font-size: 1.1rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-top: 5px;
}

/* Added styles for FAQ Section */
.bg-light {
  background-color: var(--secondary-bg);
  border-radius: 8px;
}

.faq-container {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  margin-bottom: 15px;
  border-bottom: 1px solid var(--border-color);
}

.faq-question {
  width: 100%;
  background: none;
  border: none;
  padding: 20px;
  text-align: left;
  font-size: 1.1rem;
  font-weight: 700;
  /* Changed from primary-color to text-color */
  color: var(--text-color);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: color 0.3s;
}

.faq-question:hover {
  /* Keep hover as primary color for interaction feedback */
  color: var(--primary-color);
}

.faq-question i {
  transition: transform 0.3s;
}

.faq-question.active i {
  transform: rotate(180deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease-out;
  padding: 0 20px;
}

.faq-answer p {
  padding-bottom: 20px;
  color: var(--text-color);
}

.card i {
  font-size: 3rem;
  color: var(--primary-color);
  margin-bottom: 20px;
}

.card h3 {
  font-size: 1.2rem;
  color: var(--text-color);
}

/* Added styles for Testimonials Section */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.testimonial-card {
  background-color: var(--card-bg);
  padding: 30px;
  border-radius: 8px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  border: 1px solid var(--border-color);
  position: relative;
  transition: transform 0.3s;
}

.testimonial-card:hover {
  transform: translateY(-5px);
}

.quote-icon {
  font-size: 2rem;
  color: var(--primary-color);
  opacity: 0.3;
  margin-bottom: 15px;
}

.testimonial-text {
  font-style: italic;
  margin-bottom: 20px;
  color: var(--text-color);
}

.testimonial-author {
  display: flex;
  align-items: center;
}

.author-avatar {
  width: 50px;
  height: 50px;
  background-color: var(--secondary-bg);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 15px;
  color: var(--primary-color);
}

.author-info h4 {
  font-size: 1rem;
  margin-bottom: 2px;
  /* Changed from primary-color to text-color */
  color: var(--text-color);
}

.author-info span {
  font-size: 0.85rem;
  color: #777;
}

/* Added styles for Gallery Section */
.text-center {
  text-align: center;
}

.section-subtitle {
  max-width: 600px;
  margin: -20px auto 40px;
  color: var(--text-color);
  opacity: 0.8;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 20px;
}

.gallery-item {
  position: relative;
  height: 250px;
  border-radius: 8px;
  overflow: hidden;
  cursor: pointer;
}

.gallery-img-placeholder {
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  transition: transform 0.5s ease;
}

.gallery-item:hover .gallery-img-placeholder {
  transform: scale(1.1);
}

.gallery-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  padding: 20px;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
  color: #fff;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.3s, transform 0.3s;
}

.gallery-item:hover .gallery-overlay {
  opacity: 1;
  transform: translateY(0);
}

.gallery-overlay h3 {
  font-size: 1.2rem;
  margin-bottom: 5px;
  /* Changed from primary-color to white */
  color: #ffffff;
}

.gallery-overlay p {
  font-size: 0.9rem;
}

/* Added styles for News Section */
.news-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 40px;
}

.news-card {
  background-color: var(--card-bg);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  border: 1px solid var(--border-color);
  transition: transform 0.3s;
}

.news-card:hover {
  transform: translateY(-5px);
}

.news-image {
  height: 200px;
  background-size: cover;
  background-position: center;
  background-color: #ccc;
}

.news-content {
  padding: 25px;
}

.news-meta {
  display: flex;
  justify-content: space-between;
  font-size: 0.85rem;
  color: #777;
  margin-bottom: 15px;
}

.news-category {
  /* Changed from primary-color to text-color */
  color: var(--text-color);
  font-weight: 700;
  text-transform: uppercase;
}

.news-content h3 {
  font-size: 1.3rem;
  margin-bottom: 15px;
  /* Changed from primary-color to text-color */
  color: var(--text-color);
  line-height: 1.4;
}

.news-content p {
  margin-bottom: 20px;
  color: var(--text-color);
  font-size: 0.95rem;
}

.read-more {
  /* Changed from primary-color to text-color */
  color: var(--text-color);
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  transition: color 0.3s;
}

.read-more:hover {
  color: var(--primary-color);
}

.read-more i {
  margin-left: 5px;
  font-size: 0.8rem;
  transition: transform 0.3s;
}

.read-more:hover i {
  transform: translateX(5px);
}

/* Floating WhatsApp Button Styles */
.whatsapp-float {
  position: fixed;
  width: 60px;
  height: 60px;
  bottom: 40px;
  right: 40px;
  background-color: #25d366;
  color: #fff;
  border-radius: 50px;
  text-align: center;
  font-size: 30px;
  box-shadow: 2px 2px 3px #999;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

.whatsapp-float:hover {
  background-color: #128c7e;
  transform: scale(1.1);
  box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.3);
}

/* Consultation Modal Styles */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.7);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  backdrop-filter: blur(5px);
}

.modal-overlay.active {
  opacity: 1;
  visibility: visible;
}

.modal-content {
  background-color: var(--card-bg);
  width: 90%;
  max-width: 500px;
  padding: 40px;
  border-radius: 12px;
  position: relative;
  transform: translateY(20px);
  transition: all 0.3s ease;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
  max-height: 90vh;
  overflow-y: auto;
}

.modal-overlay.active .modal-content {
  transform: translateY(0);
}

.modal-close {
  position: absolute;
  top: 15px;
  right: 20px;
  font-size: 2rem;
  background: none;
  border: none;
  color: var(--text-color);
  cursor: pointer;
  transition: color 0.3s;
}

.modal-close:hover {
  color: var(--primary-color);
}

.modal-header {
  text-align: center;
  margin-bottom: 30px;
}

.modal-header h2 {
  color: var(--text-color);
  margin-bottom: 10px;
}

.modal-header p {
  color: #777;
  font-size: 0.9rem;
}

.consultation-form .form-group {
  margin-bottom: 20px;
}

.consultation-form label {
  display: block;
  margin-bottom: 8px;
  font-weight: 600;
  color: var(--text-color);
  font-size: 0.9rem;
}

.consultation-form input,
.consultation-form select,
.consultation-form textarea {
  width: 100%;
  padding: 12px;
  border: 1px solid var(--border-color);
  border-radius: 6px;
  background-color: var(--bg-color);
  color: var(--text-color);
  font-family: inherit;
  transition: border-color 0.3s;
}

.consultation-form input:focus,
.consultation-form select:focus,
.consultation-form textarea:focus {
  outline: none;
  border-color: var(--primary-color);
}

.consultation-form .submit-btn {
  width: 100%;
  padding: 14px;
  background-color: var(--primary-color);
  color: #fff;
  border: none;
  border-radius: 50px;
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  transition: background-color 0.3s, transform 0.3s;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.consultation-form .submit-btn:hover {
  background-color: var(--accent-color);
  transform: translateY(-2px);
}

/* Styles for Team Modal */
.team-modal-content {
  max-width: 800px;
  width: 90%;
  padding: 0;
  overflow: hidden;
}

.team-modal-body {
  display: flex;
  flex-direction: column;
}

@media (min-width: 768px) {
  .team-modal-body {
    flex-direction: row;
  }
}

.team-modal-img {
  background-color: #f0f0f0;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 250px;
  flex: 1;
}

@media (min-width: 768px) {
  .team-modal-img {
    flex: 0 0 300px;
  }
}

.team-modal-img i {
  font-size: 8rem;
  color: #ccc;
}

.team-modal-info {
  padding: 40px;
  flex: 2;
}

.team-modal-info h2 {
  color: var(--text-color);
  margin-bottom: 5px;
  font-family: "Playfair Display", serif;
}

.team-modal-info .role {
  color: var(--primary-color);
  font-weight: 600;
  margin-bottom: 20px;
  font-size: 1.1rem;
}

.team-modal-info .divider {
  height: 3px;
  width: 50px;
  background-color: var(--primary-color);
  margin-bottom: 20px;
}

.team-modal-info p {
  color: var(--text-color);
  line-height: 1.8;
  font-size: 1rem;
}

/* --- Service Page Styles --- */
.service-grid-detailed {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 40px;
  padding: 20px 0;
}

.service-card-detailed {
  background-color: var(--card-bg);
  padding: 40px 30px;
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  position: relative;
  overflow: hidden;
  border: 1px solid var(--border-color);
  display: flex;
  flex-direction: column;
  height: 100%;
}

.service-card-detailed::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s ease;
}

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

.service-card-detailed:hover::before {
  transform: scaleX(1);
}

.service-icon-large {
  font-size: 3.5rem;
  color: var(--primary-color);
  margin-bottom: 25px;
  transition: transform 0.5s ease;
  display: inline-block;
}

.service-card-detailed:hover .service-icon-large {
  transform: scale(1.1) rotate(5deg);
}

.service-card-detailed h3 {
  font-size: 1.5rem;
  margin-bottom: 15px;
  color: var(--text-color);
  position: relative;
  display: inline-block;
}

.service-features {
  margin-top: auto;
  padding-top: 20px;
  border-top: 1px solid var(--border-color);
  list-style: none;
}

.service-features li {
  margin-bottom: 10px;
  position: relative;
  padding-left: 25px;
  color: var(--text-color);
  opacity: 0.8;
  transition: transform 0.3s ease;
}

.service-features li::before {
  content: "\f00c";
  font-family: "Font Awesome 5 Free";
  font-weight: 900;
  position: absolute;
  left: 0;
  color: var(--primary-color);
  font-size: 0.8rem;
  top: 4px;
}

.service-card-detailed:hover .service-features li {
  transform: translateX(5px);
}

/* --- Gallery Page Styles --- */
.masonry-grid {
  column-count: 3;
  column-gap: 25px;
}

@media (max-width: 992px) {
  .masonry-grid {
    column-count: 2;
  }
}

@media (max-width: 600px) {
  .masonry-grid {
    column-count: 1;
  }
}

.masonry-item {
  break-inside: avoid;
  margin-bottom: 25px;
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
  cursor: pointer;
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.masonry-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
}

.masonry-item img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 0.6s ease;
}

.masonry-item:hover img {
  transform: scale(1.08);
}

/* Overlay for gallery items if needed, though current HTML structure might just be img */
.masonry-item::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.7) 0%, rgba(0, 0, 0, 0) 50%);
  opacity: 0;
  transition: opacity 0.4s ease;
  pointer-events: none;
}

.masonry-item:hover::after {
  opacity: 1;
}

/* --- Blog Page Styles --- */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 40px;
  padding: 20px 0;
}

.blog-card {
  background-color: var(--card-bg);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.05);
  border: 1px solid var(--border-color);
  transition: all 0.4s ease;
  display: flex;
  flex-direction: column;
  height: 100%;
}

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

.blog-thumb {
  height: 240px;
  background-size: cover;
  background-position: center;
  position: relative;
  overflow: hidden;
}

.blog-thumb::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.2);
  transition: background-color 0.3s ease;
}

.blog-card:hover .blog-thumb::before {
  background-color: rgba(0, 0, 0, 0);
}

.blog-category-tag {
  position: absolute;
  top: 20px;
  right: 20px;
  background-color: var(--primary-color);
  color: #000;
  padding: 6px 14px;
  border-radius: 50px;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  z-index: 2;
}

.blog-details {
  padding: 30px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.blog-date {
  font-size: 0.85rem;
  color: #888;
  margin-bottom: 10px;
  display: block;
  font-weight: 500;
}

.blog-title {
  font-size: 1.4rem;
  margin-bottom: 15px;
  line-height: 1.4;
}

.blog-title a {
  color: var(--text-color);
  text-decoration: none;
  background-image: linear-gradient(var(--text-color), var(--text-color));
  background-position: 0% 100%;
  background-repeat: no-repeat;
  background-size: 0% 2px;
  transition: background-size 0.3s, color 0.3s;
}

.blog-card:hover .blog-title a {
  color: var(--primary-color);
  background-size: 100% 2px;
  background-image: linear-gradient(var(--primary-color), var(--primary-color));
}

.blog-excerpt {
  color: var(--text-color);
  opacity: 0.8;
  font-size: 0.95rem;
  line-height: 1.7;
  margin-bottom: 25px;
  flex-grow: 1;
}

.read-more {
  color: var(--primary-color);
  font-weight: 700;
  text-transform: uppercase;
  font-size: 0.85rem;
  letter-spacing: 1px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: gap 0.3s ease;
}

.read-more:hover {
  gap: 12px;
}

/* --- Single Blog Page Styles --- */

/* Added specific hero styles for blog post */
.blog-hero {
  height: 70vh;
  min-height: 500px;
  display: flex;
  align-items: flex-end;
  padding-bottom: 80px;
  text-align: left;
}

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

.blog-meta-header {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 20px;
  margin-bottom: 20px;
  color: rgba(255, 255, 255, 0.9);
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.blog-category-badge {
  background-color: var(--primary-color);
  color: #000;
  padding: 5px 15px;
  border-radius: 50px;
  font-weight: 700;
  font-size: 0.8rem;
}

.blog-title-large {
  font-size: 3.5rem;
  line-height: 1.2;
  margin-bottom: 30px;
  text-shadow: 2px 2px 10px rgba(0, 0, 0, 0.5);
}

.blog-author-header {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  color: #fff;
}

.author-avatar-small {
  width: 40px;
  height: 40px;
  background-color: rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(5px);
}

/* Grid layout for blog content and sidebar */
.blog-layout {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 60px;
  max-width: 1200px;
  margin: 0 auto;
}

.blog-main-content {
  background-color: var(--card-bg);
  padding: 40px;
  border-radius: 12px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
  border: 1px solid var(--border-color);
}

.article-body {
  font-size: 1.1rem;
  line-height: 1.8;
  color: var(--text-color);
}

.article-body p {
  margin-bottom: 25px;
}

.lead-paragraph {
  font-size: 1.25rem;
  font-weight: 300;
  color: var(--text-color);
  margin-bottom: 35px;
  border-left: 4px solid var(--primary-color);
  padding-left: 20px;
}

.article-body h2 {
  font-size: 2rem;
  margin-top: 40px;
  margin-bottom: 20px;
  color: var(--text-color);
}

.article-body blockquote {
  background-color: var(--secondary-bg);
  padding: 30px;
  border-radius: 8px;
  margin: 40px 0;
  border-left: 5px solid var(--primary-color);
  font-family: "Playfair Display", serif;
  font-size: 1.4rem;
  font-style: italic;
  color: var(--text-color);
}

.article-body blockquote cite {
  display: block;
  margin-top: 15px;
  font-size: 1rem;
  font-family: "Lato", sans-serif;
  font-style: normal;
  font-weight: 700;
  color: var(--primary-color);
}

/* Article Footer Styles */
.article-footer {
  margin-top: 60px;
  padding-top: 40px;
  border-top: 1px solid var(--border-color);
}

.share-buttons {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-bottom: 40px;
}

.share-buttons span {
  font-weight: 700;
  color: var(--text-color);
}

.share-btn {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  transition: transform 0.3s;
}

.share-btn:hover {
  transform: translateY(-3px);
}

.share-btn.facebook {
  background-color: #3b5998;
}
.share-btn.twitter {
  background-color: #1da1f2;
}
.share-btn.linkedin {
  background-color: #0077b5;
}

.author-bio-box {
  background-color: var(--secondary-bg);
  padding: 30px;
  border-radius: 8px;
  display: flex;
  gap: 20px;
  align-items: center;
}

.author-bio-avatar {
  width: 80px;
  height: 80px;
  background-color: var(--primary-color);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  color: #000;
  flex-shrink: 0;
}

.author-bio-content h4 {
  margin-bottom: 10px;
  color: var(--text-color);
}

.author-bio-content p {
  font-size: 0.95rem;
  margin: 0;
  color: var(--text-color);
  opacity: 0.8;
}

/* Related Posts Styles */
.related-posts-section {
  margin-top: 60px;
}

.related-posts-section h3 {
  font-size: 1.5rem;
  margin-bottom: 25px;
  padding-bottom: 15px;
  border-bottom: 2px solid var(--border-color);
  display: inline-block;
}

.related-posts-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
}

.related-post-card {
  display: block;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s;
  background-color: var(--card-bg);
}

.related-post-card:hover {
  transform: translateY(-5px);
}

.related-post-img {
  height: 150px;
  background-size: cover;
  background-position: center;
}

.related-post-info {
  padding: 15px;
}

.related-post-info .date {
  font-size: 0.8rem;
  color: var(--primary-color);
  display: block;
  margin-bottom: 5px;
}

.related-post-info h4 {
  font-size: 1rem;
  margin: 0;
  color: var(--text-color);
}

/* Sidebar Styles */
.sidebar {
  position: sticky;
  top: 100px;
  height: fit-content;
}

.sidebar-widget {
  background-color: var(--card-bg);
  padding: 30px;
  border-radius: 8px;
  border: 1px solid var(--border-color);
  margin-bottom: 30px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.widget-title {
  font-size: 1.2rem;
  margin-bottom: 20px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--primary-color);
  color: var(--text-color);
}

.search-form {
  display: flex;
  gap: 10px;
}

.search-form input {
  flex-grow: 1;
  padding: 10px;
  border: 1px solid var(--border-color);
  border-radius: 4px;
  background-color: var(--bg-color);
  color: var(--text-color);
}

.search-form button {
  background-color: var(--primary-color);
  border: none;
  color: #000;
  width: 40px;
  border-radius: 4px;
  cursor: pointer;
  transition: background-color 0.3s;
}

.search-form button:hover {
  background-color: var(--accent-color);
}

.recent-posts-list {
  list-style: none;
}

.recent-post-item {
  display: flex;
  gap: 15px;
  margin-bottom: 20px;
  align-items: center;
}

.recent-post-item:last-child {
  margin-bottom: 0;
}

.rp-thumb {
  width: 60px;
  height: 60px;
  border-radius: 4px;
  background-size: cover;
  background-position: center;
  flex-shrink: 0;
}

.rp-content h5 {
  font-size: 0.95rem;
  margin-bottom: 5px;
  color: var(--text-color);
  line-height: 1.3;
  transition: color 0.3s;
}

.recent-post-item:hover .rp-content h5 {
  color: var(--primary-color);
}

.rp-content span {
  font-size: 0.8rem;
  color: #888;
}

.categories-list li {
  margin-bottom: 10px;
  border-bottom: 1px solid var(--border-color);
  padding-bottom: 10px;
}

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

.categories-list a {
  display: flex;
  justify-content: space-between;
  color: var(--text-color);
  font-size: 0.95rem;
  transition: color 0.3s, padding-left 0.3s;
}

.categories-list a:hover {
  color: var(--primary-color);
  padding-left: 5px;
}

.categories-list span {
  background-color: var(--secondary-bg);
  padding: 2px 8px;
  border-radius: 10px;
  font-size: 0.8rem;
}

.cta-widget {
  background: linear-gradient(135deg, #000000, #333333);
  color: #fff;
  text-align: center;
}

.cta-widget h3 {
  color: var(--primary-color);
  margin-bottom: 10px;
}

.cta-widget p {
  margin-bottom: 20px;
  opacity: 0.9;
}

.btn-small {
  display: inline-block;
  padding: 10px 20px;
  background-color: var(--primary-color);
  color: #000;
  border-radius: 50px;
  font-weight: 700;
  font-size: 0.9rem;
  transition: transform 0.3s, box-shadow 0.3s;
}

.btn-small:hover {
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(245, 158, 11, 0.4);
}

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

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

@media (max-width: 768px) {
  .blog-hero {
    height: 60vh;
  }

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

  .blog-main-content {
    padding: 20px;
  }
}

/* --- About Page --- */
.about-intro {
  max-width: 800px;
  margin: 0 auto 60px;
  text-align: center;
  font-size: 1.1rem;
}

.lawyers-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 40px;
  margin-bottom: 60px;
}

.lawyers-grid.single-center {
  display: flex;
  justify-content: center;
}

.lawyer-card {
  background-color: var(--card-bg);
  border: 1px solid var(--border-color);
  overflow: hidden;
  transition: transform 0.3s;
}

.lawyer-card:hover {
  transform: translateY(-5px);
}

.lawyer-img-placeholder {
  height: 300px;
  background-color: transparent;
  display: flex;
  align-items: center;
  justify-content: center;
  background-image: none;
}

.lawyer-img-placeholder i {
  font-size: 5rem;
  color: rgba(255, 255, 255, 0.2);
}

.lawyer-info {
  padding: 25px;
  text-align: center;
}

.lawyer-info h3 {
  /* Changed from primary-color to text-color */
  color: var(--text-color);
  font-size: 1.4rem;
  margin-bottom: 5px;
}

.lawyer-info .role {
  /* Changed from primary-color to text-color */
  color: var(--text-color);
  font-weight: 700;
  font-size: 0.9rem;
  text-transform: uppercase;
  margin-bottom: 15px;
}

.lawyer-info .bio {
  font-size: 0.95rem;
}

.lawyer-info .read-more-btn:hover {
  color: var(--primary-color);
  transform: translateX(5px);
}

/* Added styles for inline full bio expansion */
.full-bio {
  display: none;
  font-size: 0.95rem;
  color: var(--text-color);
  line-height: 1.6;
  margin-bottom: 15px;
  opacity: 0;
  transform: translateY(-10px);
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.full-bio.active {
  display: block; /* Change display when active */
  opacity: 1;
  transform: translateY(0);
}

/* Awards Section */
.awards-section {
  background-color: var(--secondary-bg);
  padding: 80px 0;
  text-align: center;
}

.awards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 30px;
  margin-top: 50px;
}

.award-item {
  background-color: var(--card-bg);
  padding: 25px;
  border-radius: 8px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  border: 1px solid var(--border-color);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.award-item i {
  font-size: 2.5rem;
  color: var(--primary-color);
  margin-bottom: 15px;
}

.award-item h4 {
  font-size: 1.2rem;
  color: var(--text-color);
  margin-bottom: 10px;
}

.award-item p {
  font-size: 0.9rem;
  color: #777;
}

/* --- Practice Areas Page --- */
.practice-list {
  display: grid;
  grid-template-columns: 1fr;
  gap: 30px;
  max-width: 900px;
  margin: 0 auto 50px;
}

.practice-item {
  display: flex;
  align-items: flex-start;
  background-color: var(--card-bg);
  padding: 30px;
  border-left: 4px solid var(--primary-color);
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
}

.icon-box {
  min-width: 60px;
  height: 60px;
  background-color: var(--secondary-bg);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 25px;
}

.icon-box i {
  font-size: 1.5rem;
  color: var(--primary-color);
}

.practice-content h3 {
  /* Changed from primary-color to text-color */
  color: var(--text-color);
  margin-bottom: 10px;
}

.practice-content p {
  color: var(--text-color);
  opacity: 0.8;
  font-size: 0.95rem;
}

.practice-cta {
  text-align: center;
  margin-top: 40px;
  padding: 40px;
  background-color: var(--secondary-bg);
  border-radius: 8px;
}

.practice-cta p {
  margin-bottom: 20px;
  font-size: 1.2rem;
}

/* --- Contact Page --- */
.contact-wrapper {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 50px;
}

.info-item {
  display: flex;
  align-items: flex-start;
  margin-bottom: 30px;
}

.info-item i {
  font-size: 1.5rem;
  color: var(--primary-color);
  margin-right: 20px;
  margin-top: 5px;
}

.whatsapp-container {
  margin-top: 40px;
}

.info-item h3 {
  font-size: 1.1rem;
  margin-bottom: 5px;
  /* Changed from primary-color to text-color */
  color: var(--text-color);
}

.contact-form-container {
  background-color: var(--card-bg);
  padding: 40px;
  border-radius: 8px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  border: 1px solid var(--border-color);
}

.contact-form-container h3 {
  margin-bottom: 25px;
  /* Changed from primary-color to text-color */
  color: var(--text-color);
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  margin-bottom: 8px;
  font-weight: 700;
  font-size: 0.9rem;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 12px;
  border: 1px solid var(--border-color);
  background-color: var(--bg-color);
  color: var(--text-color);
  border-radius: 4px;
  font-family: inherit;
  transition: border-color 0.3s;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--primary-color);
}

/* Added full-width map styles */
.map-container {
  width: 100%;
  height: 500px;
  margin-top: 0;
  position: relative;
}

.map-container iframe {
  width: 100%;
  height: 100%;
  border: 0;
  filter: grayscale(100%);
  transition: filter 0.3s ease;
}

.map-container iframe:hover {
  filter: grayscale(0%);
}

/* --- Buttons --- */
/* Added a common style for CTA buttons to improve their look */
.cta-button {
  display: inline-block;
  background-color: var(--primary-color);
  color: #000000; /* Black text on orange background for contrast */
  padding: 14px 35px;
  border: none;
  border-radius: 50px; /* Pill shape */
  font-size: 1rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(245, 158, 11, 0.3); /* Subtle orange shadow */
  text-decoration: none;
}

.cta-button:hover {
  background-color: #e08e0b; /* Slightly darker orange */
  transform: translateY(-3px); /* Lift effect */
  box-shadow: 0 8px 25px rgba(245, 158, 11, 0.5); /* Stronger shadow */
}

/* Added specific styles for the CTA Section to make it stand out C:\Users\Lenovo\OneDrive\TechMind SL\law-firm-website SKPCO\apps\static\assets\guest\images*/
.cta-section {
  background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)),
    url("/apps/static/assets/guest/images/cta.png");
  background-size: cover;
  background-position: center;
  background-attachment: fixed; /* Parallax effect */
  padding: 100px 0;
  text-align: center;
  color: #ffffff;
  margin-top: 60px;
  position: relative;
}

.cta-content h2 {
  font-size: 2.8rem;
  margin-bottom: 20px;
  color: #ffffff;
  font-family: "Playfair Display", serif;
}

.cta-content p {
  font-size: 1.3rem;
  margin-bottom: 40px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
  opacity: 0.9;
  line-height: 1.8;
}

.cta-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}

/* Added secondary button style for the CTA section */
.cta-button.cta-secondary {
  background-color: transparent;
  border: 2px solid #ffffff;
  color: #ffffff;
  box-shadow: none;
}

.cta-button.cta-secondary:hover {
  background-color: #ffffff;
  color: #000000;
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(255, 255, 255, 0.2);
}

/* Styles for Read More Button */
.read-more-btn {
  background: transparent;
  border: none;
  color: var(--primary-color);
  font-weight: 600;
  cursor: pointer;
  margin-top: 15px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.9rem;
  transition: gap 0.3s ease;
  padding: 0;
}

.read-more-btn:hover {
  gap: 12px;
  text-decoration: underline;
}

/* Updated submit button to match new button style */
.submit-btn {
  width: 100%;
  padding: 15px;
  background-color: var(--primary-color);
  color: #000;
  border: none;
  border-radius: 50px; /* Pill shape */
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.submit-btn:hover {
  background-color: #e08e0b;
  transform: translateY(-2px);
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.2);
}

/* Updated WhatsApp button to match */
.whatsapp-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background-color: var(--primary-color);
  color: #000000;
  padding: 15px 30px;
  border-radius: 50px;
  font-weight: bold;
  font-size: 1.1rem;
  transition: all 0.3s ease;
  text-decoration: none;
  box-shadow: 0 4px 15px rgba(245, 158, 11, 0.3);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

[data-theme="dark"] .whatsapp-btn {
  background-color: var(--primary-color);
  color: #000000;
}

.whatsapp-btn:hover {
  transform: scale(1.05);
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.3);
}

.whatsapp-btn i {
  font-size: 1.5rem;
  margin-right: 10px;
}

/* --- Footer --- */
footer {
  background-color: var(--footer-bg);
  color: var(--footer-text);
  padding: 60px 0 20px;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 40px;
  margin-bottom: 40px;
  text-align: left;
}

.footer-col h4 {
  color: #fff;
  margin-bottom: 20px;
  font-size: 1.2rem;
  position: relative;
  padding-bottom: 10px;
}

.footer-col h4::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 40px;
  height: 2px;
  background-color: var(--primary-color);
}

.footer-logo {
  margin-bottom: 20px;
}

.footer-logo-img {
  height: 60px;
  width: auto;
  margin-bottom: 15px;
  display: block;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.footer-logo-img:hover {
  transform: scale(1.05);
  opacity: 0.9;
}

.footer-logo h3 {
  color: #fff;
  font-size: 1.2rem;
  margin-bottom: 8px;
  font-family: "Playfair Display", serif;
}

.footer-logo p {
  color: #aaa;
  font-size: 0.9rem;
  font-style: italic;
  margin: 0;
}

.footer-desc {
  color: #aaa;
  margin-top: 15px;
  line-height: 1.6;
}

.footer-links li,
.footer-contact li {
  margin-bottom: 12px;
  color: #aaa;
}

.footer-links a {
  color: #aaa;
  transition: color 0.3s, padding-left 0.3s;
}

.footer-links a:hover {
  color: var(--primary-color);
  padding-left: 5px;
}

.footer-contact li i {
  color: var(--primary-color);
  margin-right: 10px;
  width: 20px;
}

.social-links {
  display: flex;
  gap: 15px;
}

.social-links a {
  width: 40px;
  height: 40px;
  background-color: #333;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: background-color 0.3s, transform 0.3s;
}

.social-links a:hover {
  background-color: var(--primary-color);
  transform: translateY(-3px);
}

.footer-credit {
  border-top: 1px solid #333;
  padding-top: 20px;
  margin-top: 40px;
  text-align: center;
  font-size: 0.9rem;
  color: #777;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
}

.footer-credit a {
  color: #aaa;
  transition: color 0.3s;
}

.footer-credit a:hover {
  color: var(--primary-color);
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .map-container {
    height: 400px;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .footer-credit {
    flex-direction: column;
    gap: 10px;
    text-align: center;
    justify-content: center;
  }
}
