:root {
  /* Primary colors */
  --primary-color-1: #3a506b; /* Deep navy blue */
  --primary-color-2: #7c9cbf; /* Soft sky blue */
  --primary-color-3: #e2b54b; /* Gold accent */
  --primary-color-4: #f6f6f6; /* Light gray/almost white */
  --primary-color-5: #721121; /* Deep burgundy red */
  
  /* Shades */
  --primary-color-1-light: #4a617c;
  --primary-color-1-dark: #2a405b;
  --primary-color-2-light: #8cacce;
  --primary-color-2-dark: #6c8caf;
  --primary-color-3-light: #f2c56b;
  --primary-color-3-dark: #d2a53b;
  --primary-color-4-light: #ffffff;
  --primary-color-4-dark: #e6e6e6;
  --primary-color-5-light: #821131;
  --primary-color-5-dark: #620f1d;
  
  /* Text Colors */
  --text-dark: #222222;
  --text-medium: #555555;
  --text-light: #f0f0f0;
  
  /* Other Variables */
  --section-padding: 5rem 0;
  --border-radius: 5px;
  --box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
}

/* Base Styles */
body {
  font-family: 'Poppins', sans-serif;
  color: var(--text-medium);
  line-height: 1.6;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 1rem;
}

p {
  margin-bottom: 1.5rem;
}

.section-padding {
  padding: var(--section-padding);
}

.bg-light {
  background-color: var(--primary-color-4);
}

.bg-primary {
  background-color: var(--primary-color-1) !important;
}

.bg-accent {
  background-color: var(--primary-color-3);
}

/* Button Styles */
.btn-primary {
  background-color: var(--primary-color-1);
  border-color: var(--primary-color-1);
}

.btn-primary:hover, .btn-primary:focus {
  background-color: var(--primary-color-1-dark);
  border-color: var(--primary-color-1-dark);
}

.btn-accent {
  background-color: var(--primary-color-3);
  border-color: var(--primary-color-3);
  color: var(--text-dark);
}

.btn-accent:hover, .btn-accent:focus {
  background-color: var(--primary-color-3-dark);
  border-color: var(--primary-color-3-dark);
  color: var(--text-dark);
}

/* Header */
.header {
  background-color: var(--primary-color-4-light);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  position: fixed;
  width: 100%;
  z-index: 1000;
  padding: 1rem 0;
  transition: all 0.3s ease;
}

.header.scrolled {
  padding: 0.5rem 0;
  background-color: var(--primary-color-1);
}

.header.scrolled .navbar-brand, 
.header.scrolled .nav-link {
  color: var(--text-light);
}

.navbar-brand {
  font-weight: 700;
  font-size: 1.5rem;
  color: var(--text-dark);
}

.nav-link {
  font-weight: 500;
  color: var(--text-dark);
  padding: 0.5rem 1rem !important;
  transition: color 0.3s ease;
}

.nav-link:hover {
  color: var(--primary-color-3);
}

/* Hero Section */
.hero-section {
  background-color: var(--primary-color-4);
  background-image: url('../images/courthouse.webp');
  background-size: cover;
  background-position: center;
  position: relative;
  height: 100vh;
  display: flex;
  align-items: center;
}

.hero-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(45deg, rgba(58, 80, 107, 0.8), rgba(114, 17, 33, 0.7));
}

.hero-content {
  position: relative;
  z-index: 1;
  color: var(--text-light);
}

/* About Section */
.about-section {
  position: relative;
  overflow: hidden;
}

.about-section::before {
  content: '';
  position: absolute;
  top: -100px;
  right: -100px;
  width: 300px;
  height: 300px;
  background-color: var(--primary-color-3-light);
  opacity: 0.1;
  border-radius: 50%;
  z-index: -1;
}

.feature-card {
  background-color: var(--primary-color-4-light);
  border-radius: var(--border-radius);
  padding: 2rem;
  box-shadow: var(--box-shadow);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  height: 100%;
}

.feature-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.feature-icon {
  font-size: 2.5rem;
  color: var(--primary-color-3);
  margin-bottom: 1.5rem;
}

/* Services Section */
.services-section {
  background-color: var(--primary-color-4);
}

.service-card {
  background-color: var(--primary-color-4-light);
  border-radius: var(--border-radius);
  box-shadow: var(--box-shadow);
  padding: 2rem;
  text-align: center;
  transition: transform 0.3s ease;
  height: 100%;
  border: 1px solid rgba(0, 0, 0, 0.05);
}

.service-card:hover {
  transform: translateY(-10px);
}

.service-icon {
  font-size: 3rem;
  color: var(--primary-color-1);
  margin-bottom: 1.5rem;
}

.service-price {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary-color-5);
  margin: 1rem 0;
}

.service-features {
  padding-left: 0;
  list-style: none;
}

.service-features li {
  padding: 0.5rem 0;
  border-bottom: 1px dashed rgba(0, 0, 0, 0.1);
}

.service-features li:last-child {
  border-bottom: none;
}

/* Features Section */
.features-section {
  position: relative;
  background-color: var(--primary-color-1);
  color: var(--text-light);
}

.features-section h2, 
.features-section h3 {
  color: var(--text-light);
}

.feature-item {
  padding: 1.5rem;
  border-radius: var(--border-radius);
  background-color: rgba(255, 255, 255, 0.1);
  margin-bottom: 2rem;
  transition: transform 0.3s ease;
}

.feature-item:hover {
  transform: translateY(-5px);
  background-color: rgba(255, 255, 255, 0.15);
}

.feature-item i {
  font-size: 2rem;
  color: var(--primary-color-3);
  margin-bottom: 1rem;
}

/* Price Plan Section */
.priceplan-section {
  background-color: var(--primary-color-4);
}

.price-card {
  background-color: var(--primary-color-4-light);
  border-radius: var(--border-radius);
  box-shadow: var(--box-shadow);
  padding: 3rem 2rem;
  text-align: center;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  height: 100%;
}

.price-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 5px;
  background-color: var(--primary-color-3);
}

.price-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.price-card.featured {
  border: 2px solid var(--primary-color-3);
  transform: scale(1.05);
}

.price-card.featured::before {
  background-color: var(--primary-color-5);
}

.price-card.featured:hover {
  transform: scale(1.05) translateY(-10px);
}

.price-amount {
  font-size: 3rem;
  font-weight: 700;
  color: var(--primary-color-1);
  margin: 1.5rem 0;
}

.price-period {
  display: block;
  font-size: 0.9rem;
  color: var(--text-medium);
}

.price-features {
  padding-left: 0;
  list-style: none;
  margin: 2rem 0;
}

.price-features li {
  padding: 0.5rem 0;
  border-bottom: 1px dashed rgba(0, 0, 0, 0.1);
}

.price-features li:last-child {
  border-bottom: none;
}

/* Team Section */
.team-section {
  background-color: var(--primary-color-4);
}

.team-card {
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: var(--box-shadow);
  transition: transform 0.3s ease;
  position: relative;
  margin-bottom: 2rem;
}

.team-card:hover {
  transform: translateY(-10px);
}

.team-img {
  width: 100%;
  height: auto;
  object-fit: cover;
}

.team-info {
  background-color: var(--primary-color-4-light);
  padding: 1.5rem;
  text-align: center;
}

.team-role {
  color: var(--primary-color-5);
  font-weight: 600;
}

/* Reviews Section */
.reviews-section {
  background-color: var(--primary-color-1);
  color: var(--text-light);
  position: relative;
  overflow: hidden;
}

.reviews-section h2,
.reviews-section h3 {
  color: var(--text-light);
}

.reviews-section::before,
.reviews-section::after {
  content: '';
  position: absolute;
  background-color: rgba(255, 255, 255, 0.05);
  border-radius: 50%;
}

.reviews-section::before {
  width: 300px;
  height: 300px;
  left: -150px;
  top: -150px;
}

.reviews-section::after {
  width: 200px;
  height: 200px;
  right: -100px;
  bottom: -100px;
}

.review-card {
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: var(--border-radius);
  padding: 2rem;
  margin: 1rem;
  position: relative;
}

.review-text {
  font-style: italic;
  margin-bottom: 1.5rem;
}

.review-author {
  font-weight: 600;
  color: var(--primary-color-3);
}

/* Core Info Section */
.coreinfo-section {
  background-color: var(--primary-color-4);
}

.coreinfo-item {
  background-color: var(--primary-color-4-light);
  border-radius: var(--border-radius);
  box-shadow: var(--box-shadow);
  padding: 2rem;
  margin-bottom: 2rem;
  height: 100%;
  transition: transform 0.3s ease;
  border-left: 5px solid var(--primary-color-3);
}

.coreinfo-item:hover {
  transform: translateY(-5px);
}

.coreinfo-item h3 {
  color: var(--primary-color-1);
  margin-bottom: 1rem;
}

/* Contact Section */
.contact-section {
  background-color: var(--primary-color-4);
  position: relative;
}

.contact-form-container {
  background-color: var(--primary-color-4-light);
  border-radius: var(--border-radius);
  box-shadow: var(--box-shadow);
  padding: 3rem;
}

.form-control {
  border: 1px solid rgba(0, 0, 0, 0.1);
  padding: 0.8rem;
  margin-bottom: 1.5rem;
}

.form-control:focus {
  border-color: var(--primary-color-1);
  box-shadow: none;
}

/* Blog Section */
.blog-section {
  background-color: var(--primary-color-4);
}

.blog-card {
  background-color: var(--primary-color-4-light);
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: var(--box-shadow);
  transition: transform 0.3s ease;
  height: 100%;
  margin-bottom: 2rem;
}

.blog-card:hover {
  transform: translateY(-10px);
}

.blog-img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.blog-content {
  padding: 1.5rem;
}

.blog-title {
  margin-bottom: 1rem;
  font-size: 1.25rem;
}

.blog-excerpt {
  margin-bottom: 1rem;
}

.blog-link {
  color: var(--primary-color-1);
  font-weight: 600;
  text-decoration: none;
}

.blog-link:hover {
  color: var(--primary-color-1-dark);
}

/* FAQ Section */
.faq-section {
  background-color: var(--primary-color-4);
}

.accordion-item {
  border: none;
  background-color: transparent;
  margin-bottom: 1rem;
}

.accordion-button {
  background-color: var(--primary-color-4-light);
  font-weight: 600;
  box-shadow: var(--box-shadow);
}

.accordion-button:not(.collapsed) {
  background-color: var(--primary-color-1);
  color: var(--text-light);
}

.accordion-button:focus {
  box-shadow: none;
  border-color: rgba(0, 0, 0, 0.1);
}

.accordion-button::after {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23333'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");
}

.accordion-button:not(.collapsed)::after {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23fff'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");
}

.accordion-body {
  background-color: var(--primary-color-4-light);
  padding: 1.5rem;
  border-bottom-left-radius: var(--border-radius);
  border-bottom-right-radius: var(--border-radius);
}

/* Gallery Section */
.gallery-section {
  background-color: var(--primary-color-1);
  padding: var(--section-padding);
}

.gallery-item {
  border-radius: var(--border-radius);
  overflow: hidden;
  margin-bottom: 1.5rem;
  height: 250px;
  position: relative;
}

.gallery-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.gallery-item:hover .gallery-img {
  transform: scale(1.1);
}

/* Footer */
.footer {
  background-color: var(--primary-color-1-dark);
  color: var(--text-light);
  padding: 4rem 0 2rem;
}

.footer h5 {
  color: var(--text-light);
  margin-bottom: 1.5rem;
  font-weight: 600;
}

.footer-brand {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
  display: block;
}

.footer p {
  margin-bottom: 1rem;
}

.footer-links {
  list-style: none;
  padding-left: 0;
}

.footer-links li {
  margin-bottom: 0.5rem;
}

.footer-links a {
  color: var(--text-light);
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-links a:hover {
  color: var(--primary-color-3);
}

.footer-contact {
  margin-bottom: 0.5rem;
}

.footer-contact i {
  margin-right: 0.5rem;
  color: var(--primary-color-3);
}

.copyright {
  background-color: var(--primary-color-1-dark);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 1.5rem 0;
  color: var(--text-light);
  text-align: center;
  margin-top: 3rem;
}

/* Breadcrumb styles */
.breadcrumb-section {
  background-color: var(--primary-color-4);
  padding: 1rem 0;
  margin-top: 76px;
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

/* Additional Pages */
.page-title-section {
  background-color: var(--primary-color-1);
  color: var(--text-light);
  padding: 5rem 0;
  margin-top: 76px;
  position: relative;
}

.page-title-section h1,
.page-title-section h2 {
  color: var(--text-light);
}

.page-section {
  padding: var(--section-padding);
}

.page-section:nth-child(even) {
  background-color: var(--primary-color-4);
}

.page-section:nth-child(odd) {
  background-color: var(--primary-color-4-light);
}

/* Animations */
.fade-up {
  animation: fadeUp 1s ease forwards;
  opacity: 0;
}

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Space Page */
.space-page {
  min-height: calc(100vh - 200px);
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: var(--primary-color-4);
  padding: 2rem 0;
} 