/* Main Stylesheet for Legal Document Express Bars */

/* ===== VARIABLES ===== */
:root {
  /* Primary Colors */
  --primary-1: #6a5acd; /* Slate Blue - main brand color */
  --primary-2: #c77dff; /* Lavender Floral - accent color */
  --primary-3: #eae0d5; /* Champagne - light background */
  --primary-4: #495867; /* Independence - dark text */
  --primary-5: #fb8b24; /* Orange Yellow - highlight color */
  
  /* Shades */
  --primary-1-light: #8878e6;
  --primary-1-dark: #5a4aad;
  --primary-2-light: #d99dff;
  --primary-2-dark: #a55dd0;
  --primary-3-light: #f7f2ec;
  --primary-3-dark: #d8c9ba;
  --primary-4-light: #657a8c;
  --primary-4-dark: #3a4651;
  --primary-5-light: #ffaa50;
  --primary-5-dark: #d97100;
  
  /* Text & Backgrounds */
  --text-color: #333333;
  --text-light: #666666;
  --text-dark: #111111;
  --bg-color: #ffffff;
  --bg-light: #f9f9f9;
  --bg-dark: #f1f1f1;
  
  /* Dimensions */
  --container-width: 1200px;
  --section-spacing: 100px;
  --element-spacing: 30px;
  
  /* Fonts */
  --font-primary: 'Poppins', sans-serif;
  --font-secondary: 'Playfair Display', serif;
  --font-size-base: 16px;
  --font-size-sm: 14px;
  --font-size-xs: 12px;
  --font-size-lg: 18px;
  --font-size-xl: 20px;
  --font-size-xxl: 24px;
  --font-size-display: 48px;
  
  /* Borders & Shadows */
  --border-radius-sm: 4px;
  --border-radius-md: 8px;
  --border-radius-lg: 12px;
  --border-radius-xl: 20px;
  --box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
  --box-shadow-hover: 0 8px 25px rgba(0, 0, 0, 0.15);
}

/* ===== RESET & BASE STYLES ===== */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: var(--font-size-base);
  scroll-behavior: smooth;
}

body {
overflow-x: hidden;
  font-family: var(--font-primary);
  color: var(--text-color);
  line-height: 1.6;
  overflow-x: hidden;
  background-color: var(--bg-color);
}

a {
  text-decoration: none;
  color: var(--primary-1);
  transition: all 0.3s ease;
}

a:hover {
  color: var(--primary-1-dark);
}

ul, ol {
  list-style: none;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

button {
  cursor: pointer;
  font-family: var(--font-primary);
  transition: all 0.3s ease;
  border: none;
  background: none;
}

.container {
  width: 100%;
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 15px;
}

/* ===== TYPOGRAPHY ===== */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-secondary);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 0.5em;
  color: var(--text-dark);
}

h1 {
  font-size: 3.5rem;
}

h2 {
  font-size: 2.5rem;
}

h3 {
  font-size: 2rem;
}

h4 {
  font-size: 1.5rem;
}

h5 {
  font-size: 1.25rem;
}

h6 {
  font-size: 1rem;
}

p {
  margin-bottom: 1rem;
}

/* ===== BUTTONS ===== */
.btn {
  display: inline-block;
  padding: 12px 28px;
  font-weight: 600;
  text-align: center;
  border-radius: var(--border-radius-md);
  transition: all 0.3s ease;
}

.btn-primary {
  background-color: var(--primary-1);
  color: #fff;
}

.btn-primary:hover {
  background-color: var(--primary-1-dark);
  color: #fff;
}

.btn-secondary {
  background-color: var(--primary-2);
  color: #fff;
}

.btn-secondary:hover {
  background-color: var(--primary-2-dark);
  color: #fff;
}

.btn-outline {
  background-color: transparent;
  border: 2px solid var(--primary-1);
  color: var(--primary-1);
}

.btn-outline:hover {
  background-color: var(--primary-1);
  color: #fff;
}

/* ===== SECTIONS ===== */
.section {
  padding: 80px 0;
}

.section-title {
  text-align: center;
  margin-bottom: 60px;
}

.section-title h2 {
  position: relative;
  display: inline-block;
  margin-bottom: 20px;
}

.section-title h2:after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 70px;
  height: 3px;
  background-color: var(--primary-5);
}

.section-title p {
  max-width: 700px;
  margin: 0 auto;
  color: var(--text-light);
}

/* ===== HEADER ===== */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background-color: rgba(255, 255, 255, 0.95);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
}

.header-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 15px 0;
}

.logo {
  font-family: var(--font-secondary);
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--primary-1);
}

.navbar {
  display: flex;
  align-items: center;
}

.nav-menu {
  display: flex;
}

.nav-item {
  margin-left: 30px;
}

.nav-link {
  font-weight: 500;
  color: var(--text-color);
  position: relative;
}

.nav-link:hover, .nav-link.active {
  color: var(--primary-1);
}

.nav-link:after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--primary-1);
  transition: width 0.3s ease;
}

.nav-link:hover:after, .nav-link.active:after {
  width: 100%;
}

/* ===== HERO SECTION ===== */
.hero {
  position: relative;
  height: 100vh;
  min-height: 600px;
  display: flex;
  align-items: center;
  background-color: var(--primary-3-light);
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  z-index: 1;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to right, rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.3));
  z-index: 2;
}

.hero-content {
  position: relative;
  z-index: 3;
  max-width: 600px;
  color: #fff;
}

.hero-title {
  font-size: 3.5rem;
  margin-bottom: 20px;
  color: #fff;
}

.hero-subtitle {
  font-size: 1.5rem;
  margin-bottom: 30px;
  color: rgba(255, 255, 255, 0.9);
}

.hero-desc {
  margin-bottom: 40px;
  color: rgba(255, 255, 255, 0.8);
}

/* ===== ABOUT SECTION ===== */
.about {
  background-color: var(--bg-light);
}

.about-content {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
}

.about-text {
  flex: 1;
  min-width: 300px;
}

.about-image {
  flex: 1;
  min-width: 300px;
  position: relative;
}

.about-image img {
  border-radius: var(--border-radius-lg);
  box-shadow: var(--box-shadow);
}

.about-features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  margin-top: 50px;
}

.feature-item {
  background-color: var(--bg-color);
  padding: 30px;
  border-radius: var(--border-radius-md);
  box-shadow: var(--box-shadow);
  transition: all 0.3s ease;
}

.feature-item:hover {
  transform: translateY(-5px);
  box-shadow: var(--box-shadow-hover);
}

.feature-icon {
  font-size: 2.5rem;
  color: var(--primary-1);
  margin-bottom: 20px;
}

.feature-title {
  margin-bottom: 15px;
}

/* ===== SERVICES SECTION ===== */
.services {
  background-color: var(--bg-color);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.service-item {
  background-color: var(--bg-light);
  border-radius: var(--border-radius-lg);
  overflow: hidden;
  box-shadow: var(--box-shadow);
  transition: all 0.3s ease;
}

.service-item:hover {
  transform: translateY(-5px);
  box-shadow: var(--box-shadow-hover);
}

.service-image {
  height: 200px;
  overflow: hidden;
}

.service-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.service-item:hover .service-image img {
  transform: scale(1.05);
}

.service-content {
  padding: 25px;
}

.service-title {
  margin-bottom: 15px;
  color: var(--primary-1);
}

.service-desc {
  margin-bottom: 20px;
  color: var(--text-light);
}

.service-price {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary-5);
  margin-bottom: 20px;
}

.service-features {
  margin-bottom: 25px;
}

.service-features li {
  position: relative;
  padding-left: 25px;
  margin-bottom: 10px;
}

.service-features li:before {
  content: '\f00c';
  font-family: 'Font Awesome 5 Free';
  font-weight: 900;
  position: absolute;
  left: 0;
  color: var(--primary-1);
}

/* ===== FEATURES SECTION ===== */
.features {
  background-color: var(--primary-3-light);
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
}

.features-item {
  text-align: center;
  padding: 40px 20px;
  background-color: var(--bg-color);
  border-radius: var(--border-radius-md);
  box-shadow: var(--box-shadow);
  transition: all 0.3s ease;
}

.features-item:hover {
  transform: translateY(-5px);
  box-shadow: var(--box-shadow-hover);
}

.features-icon {
  font-size: 3rem;
  color: var(--primary-2);
  margin-bottom: 20px;
}

.features-title {
  margin-bottom: 15px;
}

.features-desc {
  color: var(--text-light);
}

/* ===== PRICE PLAN SECTION ===== */
.price-plan {
  background-color: var(--bg-color);
}

.price-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.price-item {
  text-align: center;
  padding: 40px 30px;
  background-color: var(--bg-light);
  border-radius: var(--border-radius-lg);
  box-shadow: var(--box-shadow);
  transition: all 0.3s ease;
  border: 1px solid var(--primary-3-dark);
}

.price-item:hover {
  transform: translateY(-5px);
  box-shadow: var(--box-shadow-hover);
}

.price-item.featured {
  background-color: var(--primary-1-light);
  color: #fff;
  transform: scale(1.05);
  z-index: 2;
}

.price-item.featured:hover {
  transform: scale(1.05) translateY(-5px);
}

.price-title {
  margin-bottom: 15px;
}

.price-amount {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--primary-5);
  margin-bottom: 20px;
}

.price-item.featured .price-amount {
  color: #fff;
}

.price-desc {
  margin-bottom: 25px;
  color: var(--text-light);
}

.price-item.featured .price-desc {
  color: rgba(255, 255, 255, 0.8);
}

.price-features {
  margin-bottom: 30px;
}

.price-features li {
  padding: 10px 0;
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.price-item.featured .price-features li {
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

/* ===== TEAM SECTION ===== */
.team {
  background-color: var(--bg-light);
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
}

.team-member {
  background-color: var(--bg-color);
  border-radius: var(--border-radius-lg);
  overflow: hidden;
  box-shadow: var(--box-shadow);
  transition: all 0.3s ease;
}

.team-member:hover {
  transform: translateY(-5px);
  box-shadow: var(--box-shadow-hover);
}

.team-image {
  height: 300px;
  position: relative;
  overflow: hidden;
}

.team-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.team-member:hover .team-image img {
  transform: scale(1.05);
}

.team-info {
  padding: 25px;
  text-align: center;
}

.team-name {
  margin-bottom: 5px;
}

.team-role {
  color: var(--primary-1);
  font-weight: 500;
}

/* ===== REVIEWS SECTION ===== */
.reviews {
  background-color: var(--bg-color);
}

.reviews-slider {
  overflow: hidden;
  position: relative;
}

.review-item {
  padding: 40px;
  background-color: var(--bg-light);
  border-radius: var(--border-radius-lg);
  box-shadow: var(--box-shadow);
  margin: 20px;
}

.review-content {
  position: relative;
  padding-left: 30px;
  margin-bottom: 20px;
}

.review-content:before {
  content: '\f10d';
  font-family: 'Font Awesome 5 Free';
  font-weight: 900;
  position: absolute;
  left: 0;
  top: 0;
  font-size: 1.5rem;
  color: var(--primary-2);
}

.review-author {
  display: flex;
  align-items: center;
}

.review-author-image {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  overflow: hidden;
  margin-right: 15px;
}

.review-author-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.review-author-name {
  font-weight: 600;
}

/* ===== CORE INFO SECTION ===== */
.core-info {
  background-color: var(--primary-3-light);
}

.core-info-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.core-info-item {
  background-color: var(--bg-color);
  padding: 30px;
  border-radius: var(--border-radius-md);
  box-shadow: var(--box-shadow);
  transition: all 0.3s ease;
}

.core-info-item:hover {
  transform: translateY(-5px);
  box-shadow: var(--box-shadow-hover);
}

.core-info-icon {
  font-size: 2.5rem;
  color: var(--primary-5);
  margin-bottom: 20px;
}

.core-info-title {
  margin-bottom: 15px;
}

.core-info-desc {
  color: var(--text-light);
}

/* ===== CONTACT SECTION ===== */
.contact {
  background-color: var(--bg-color);
}

.contact-content {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
}

.contact-info {
  flex: 1;
  min-width: 300px;
}

.contact-form-wrapper {
  flex: 2;
  min-width: 400px;
}

.contact-info-item {
  display: flex;
  align-items: center;
  margin-bottom: 20px;
}

.contact-info-icon {
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: var(--primary-1-light);
  border-radius: 50%;
  margin-right: 15px;
  color: #fff;
  font-size: 1.25rem;
}

.contact-info-text h4 {
  margin-bottom: 5px;
}

.contact-form {
  background-color: var(--bg-light);
  padding: 40px;
  border-radius: var(--border-radius-lg);
  box-shadow: var(--box-shadow);
}

.form-group {
  margin-bottom: 20px;
}

.form-label {
  display: block;
  margin-bottom: 8px;
  font-weight: 500;
}

.form-control {
  width: 100%;
  padding: 12px 15px;
  font-size: 1rem;
  font-family: var(--font-primary);
  border: 1px solid var(--primary-3-dark);
  border-radius: var(--border-radius-md);
  background-color: var(--bg-color);
  transition: all 0.3s ease;
}

.form-control:focus {
  outline: none;
  border-color: var(--primary-1);
  box-shadow: 0 0 0 3px rgba(106, 90, 205, 0.2);
}

textarea.form-control {
  resize: vertical;
  min-height: 120px;
}

.form-check {
  display: flex;
  align-items: center;
  margin-bottom: 20px;
}

.form-check-input {
  margin-right: 10px;
}

.form-services {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 10px;
  margin-bottom: 20px;
}

.form-service-item {
  padding: 10px;
  border: 1px solid var(--primary-3-dark);
  border-radius: var(--border-radius-sm);
  cursor: pointer;
  transition: all 0.3s ease;
}

.form-service-item:hover, .form-service-item.active {
  background-color: var(--primary-1-light);
  color: #fff;
  border-color: var(--primary-1-light);
}

.submit-btn {
  width: 100%;
  padding: 15px;
  font-size: 1rem;
  font-weight: 600;
}

/* ===== BLOG SECTION ===== */
.blog {
  background-color: var(--bg-light);
}

.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.blog-item {
  background-color: var(--bg-color);
  border-radius: var(--border-radius-lg);
  overflow: hidden;
  box-shadow: var(--box-shadow);
  transition: all 0.3s ease;
}

.blog-item:hover {
  transform: translateY(-5px);
  box-shadow: var(--box-shadow-hover);
}

.blog-image {
  height: 200px;
  overflow: hidden;
}

.blog-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.blog-item:hover .blog-image img {
  transform: scale(1.05);
}

.blog-content {
  padding: 25px;
}

.blog-title {
  margin-bottom: 15px;
}

.blog-excerpt {
  margin-bottom: 20px;
  color: var(--text-light);
}

.blog-link {
  font-weight: 600;
  color: var(--primary-1);
  display: inline-flex;
  align-items: center;
}

.blog-link i {
  margin-left: 5px;
  transition: transform 0.3s ease;
}

.blog-link:hover i {
  transform: translateX(5px);
}

/* ===== FAQ SECTION ===== */
.faq {
  background-color: var(--bg-color);
}

.faq-accordion {
  max-width: 800px;
  margin: 0 auto;
}

.accordion-item {
  margin-bottom: 15px;
  border-radius: var(--border-radius-md);
  overflow: hidden;
  box-shadow: var(--box-shadow);
}

.accordion-header {
  background-color: var(--bg-light);
  padding: 20px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-weight: 600;
  transition: all 0.3s ease;
}

.accordion-header:hover {
  background-color: var(--primary-3-light);
}

.accordion-header i {
  transition: transform 0.3s ease;
}

.accordion-item.active .accordion-header i {
  transform: rotate(180deg);
}

.accordion-content {
  max-height: 0;
  overflow: hidden;
  background-color: var(--bg-color);
  transition: max-height 0.3s ease;
}

.accordion-item.active .accordion-content {
  max-height: 500px;
}

.accordion-body {
overflow-x: hidden;
  padding: 20px;
  color: var(--text-light);
}

/* ===== GALLERY SECTION ===== */
.gallery {
  background-color: var(--bg-light);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 20px;
}

.gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: var(--border-radius-md);
  height: 250px;
  cursor: pointer;
}

.gallery-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.gallery-item:hover .gallery-image {
  transform: scale(1.05);
}

.gallery-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.gallery-item:hover .gallery-overlay {
  opacity: 1;
}

.gallery-icon {
  color: #fff;
  font-size: 1.5rem;
}

/* ===== FOOTER ===== */
.footer {
  background-color: var(--primary-4-dark);
  color: #fff;
  padding-top: 80px;
}

.footer-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 40px;
}

.footer-logo {
  font-family: var(--font-secondary);
  font-size: 1.8rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 20px;
}

.footer-desc {
  margin-bottom: 30px;
  color: rgba(255, 255, 255, 0.7);
}

.footer-heading {
  font-size: 1.25rem;
  margin-bottom: 25px;
  color: #fff;
  position: relative;
}

.footer-heading:after {
  content: '';
  position: absolute;
  bottom: -8px;
  left: 0;
  width: 40px;
  height: 2px;
  background-color: var(--primary-5);
}

.footer-links li {
  margin-bottom: 15px;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.7);
  transition: all 0.3s ease;
}

.footer-links a:hover {
  color: #fff;
  padding-left: 5px;
}

.footer-contact li {
  display: flex;
  margin-bottom: 15px;
}

.footer-contact-icon {
  color: var(--primary-5);
  margin-right: 15px;
  min-width: 20px;
}

.footer-bottom {
  padding: 25px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  margin-top: 60px;
}

.footer-copyright {
  text-align: center;
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.875rem;
}

/* ===== BREADCRUMB ===== */
.breadcrumb {
  padding: 150px 0 80px;
  background-color: var(--primary-1-light);
  position: relative;
}

.breadcrumb-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.4);
  z-index: 1;
}

.breadcrumb-content {
  position: relative;
  z-index: 2;
  text-align: center;
  color: #fff;
}

.breadcrumb-title {
  font-size: 2.5rem;
  color: #fff;
  margin-bottom: 20px;
}

.breadcrumb-nav {
  display: flex;
  justify-content: center;
}

.breadcrumb-nav li {
  display: flex;
  align-items: center;
}

.breadcrumb-nav li:not(:last-child):after {
  content: '/';
  margin: 0 10px;
  color: rgba(255, 255, 255, 0.7);
}

.breadcrumb-nav a {
  color: rgba(255, 255, 255, 0.7);
}

.breadcrumb-nav a:hover {
  color: #fff;
}

.breadcrumb-nav .active {
  color: var(--primary-5);
}

/* ===== RESPONSIVENESS CLASSES ===== */
.d-none {
  display: none !important;
}

.d-block {
  display: block !important;
}

.text-center {
  text-align: center !important;
}

.mt-0 { margin-top: 0 !important; }
.mb-0 { margin-bottom: 0 !important; }
.mt-1 { margin-top: 0.25rem !important; }
.mb-1 { margin-bottom: 0.25rem !important; }
.mt-2 { margin-top: 0.5rem !important; }
.mb-2 { margin-bottom: 0.5rem !important; }
.mt-3 { margin-top: 1rem !important; }
.mb-3 { margin-bottom: 1rem !important; }
.mt-4 { margin-top: 1.5rem !important; }
.mb-4 { margin-bottom: 1.5rem !important; }
.mt-5 { margin-top: 3rem !important; }
.mb-5 { margin-bottom: 3rem !important; } 