:root {
  /* Color Palette */
  --primary-color-1: #5d4037; /* Warm brown */
  --primary-color-2: #8d6e63; /* Light brown */
  --primary-color-3: #d7ccc8; /* Beige */
  --primary-color-4: #a1887f; /* Taupe */
  --primary-color-5: #4e342e; /* Dark brown */
  
  /* Shades and tints */
  --primary-color-1-light: #8b6b61;
  --primary-color-1-dark: #321911;
  --primary-color-2-light: #be9c91;
  --primary-color-2-dark: #5f4339;
  --primary-color-3-light: #ffffff;
  --primary-color-3-dark: #a69b97;
  --primary-color-4-light: #d3b8ae;
  --primary-color-4-dark: #725b53;
  --primary-color-5-light: #7b5e56;
  --primary-color-5-dark: #260e04;

  /* Neutral colors */
  --white: #ffffff;
  --light-gray: #f5f5f5;
  --medium-gray: #e0e0e0;
  --dark-gray: #757575;
  --black: #212121;
}

/* Base styles */
html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Poppins', sans-serif;
  color: var(--black);
  line-height: 1.6;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  color: var(--primary-color-1);
  margin-bottom: 1.5rem;
}

p {
  margin-bottom: 1rem;
}

a {
  color: var(--primary-color-1);
  text-decoration: none;
  transition: all 0.3s ease;
}

a:hover {
  color: var(--primary-color-2);
}

/* Utility classes */
.bg-primary-1 {
  background-color: var(--primary-color-1);
}

.bg-primary-2 {
  background-color: var(--primary-color-2);
}

.bg-primary-3 {
  background-color: var(--primary-color-3);
}

.bg-light {
  background-color: var(--light-gray);
}

.text-white {
  color: var(--white);
}

.text-primary-1 {
  color: var(--primary-color-1);
}

.section-padding {
  padding: 100px 0;
}

.section-title {
  margin-bottom: 60px;
  text-align: center;
}

.section-title h2 {
  font-size: 2.5rem;
  position: relative;
  display: inline-block;
  margin-bottom: 1.5rem;
}

.section-title h2:after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: -15px;
  width: 80px;
  height: 3px;
  background-color: var(--primary-color-2);
  transform: translateX(-50%);
}

.section-subtitle {
  color: var(--primary-color-1);
  margin-bottom: 1rem;
  font-size: 1.2rem;
}

/* Button styles */
.btn-primary {
  background-color: var(--primary-color-1);
  border-color: var(--primary-color-1);
  padding: 12px 30px;
  font-weight: 600;
  border-radius: 50px;
  transition: all 0.3s ease;
}

.btn-primary:hover {
  background-color: var(--primary-color-1-dark);
  border-color: var(--primary-color-1-dark);
  transform: translateY(-3px);
  box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}

.btn-outline-primary {
  color: var(--primary-color-1);
  border-color: var(--primary-color-1);
  border-radius: 50px;
  padding: 12px 30px;
  font-weight: 600;
  transition: all 0.3s ease;
}

.btn-outline-primary:hover {
  background-color: var(--primary-color-1);
  color: var(--white);
  transform: translateY(-3px);
  box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}

/* Header */
header {
  padding: 20px 0;
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 1000;
  background-color: var(--white);
  box-shadow: 0 2px 15px rgba(0,0,0,0.1);
  transition: all 0.3s ease;
}

header.scrolled {
  padding: 10px 0;
}

.navbar-brand {
  font-weight: 700;
  color: var(--primary-color-1);
  font-size: 1.8rem;
}

.navbar-nav .nav-link {
  color: var(--black);
  font-weight: 500;
  padding: 10px 20px;
  position: relative;
}

.navbar-nav .nav-link::after {
  content: '';
  position: absolute;
  width: 0;
  height: 2px;
  background-color: var(--primary-color-1);
  bottom: 5px;
  left: 50%;
  transform: translateX(-50%);
  transition: width 0.3s ease;
}

.navbar-nav .nav-link:hover::after,
.navbar-nav .nav-link.active::after {
  width: 60%;
}

/* Hero Section */
.hero-section {
  background: linear-gradient(rgba(0,0,0,0.6), rgba(0,0,0,0.6)), url('../JUS_images/courthouse.webp');
  background-size: cover;
  background-position: center;
  min-height: 100vh;
  display: flex;
  align-items: center;
  color: var(--white);
  position: relative;
  overflow: hidden;
}

.hero-content {
  position: relative;
  z-index: 2;
}

.hero-content h1 {
  font-size: 4rem;
  color: var(--white);
  margin-bottom: 20px;
}

.hero-subtitle {
  font-size: 1.5rem;
  margin-bottom: 30px;
}

.hero-shape {
  position: absolute;
  bottom: -50px;
  right: -50px;
  width: 300px;
  height: 300px;
  background-color: var(--primary-color-3);
  opacity: 0.2;
  border-radius: 50%;
}

/* About Section */
.about-section {
  position: relative;
  overflow: hidden;
}

.about-img {
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 15px 30px rgba(0,0,0,0.1);
}

.about-img img {
  width: 100%;
  height: auto;
}

.about-feature {
  background-color: var(--white);
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.05);
  margin-bottom: 30px;
  transition: all 0.3s ease;
}

.about-feature:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(0,0,0,0.1);
}

.about-feature i {
  font-size: 2.5rem;
  color: var(--primary-color-2);
  margin-bottom: 20px;
}

.about-feature h4 {
  margin-bottom: 15px;
}

/* Services Section */
.services-section {
  background-color: var(--light-gray);
  position: relative;
}

.services-card {
  background-color: var(--white);
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0,0,0,0.05);
  transition: all 0.3s ease;
  margin-bottom: 30px;
  height: 100%;
}

.services-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(0,0,0,0.1);
}

.services-card-img {
  height: 200px;
  overflow: hidden;
}

.services-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: all 0.5s ease;
}

.services-card:hover .services-card-img img {
  transform: scale(1.1);
}

.services-card-body {
  padding: 30px;
}

.services-card-title {
  font-size: 1.5rem;
  margin-bottom: 15px;
}

.services-card-price {
  font-size: 1.8rem;
  color: var(--primary-color-1);
  font-weight: 700;
  margin-bottom: 20px;
}

.services-card-features {
  margin-top: 20px;
}

.services-card-features ul {
  list-style: none;
  padding-left: 0;
}

.services-card-features ul li {
  padding: 5px 0;
  position: relative;
  padding-left: 25px;
}

.services-card-features ul li:before {
  content: '\f00c';
  font-family: 'Font Awesome 5 Free';
  font-weight: 900;
  position: absolute;
  left: 0;
  color: var(--primary-color-1);
}

/* Features Section */
.features-section {
  position: relative;
  overflow: hidden;
}

.features-item {
  text-align: center;
  margin-bottom: 40px;
}

.features-icon {
  width: 80px;
  height: 80px;
  line-height: 80px;
  border-radius: 50%;
  background-color: var(--primary-color-3);
  margin: 0 auto 20px;
  color: var(--primary-color-1);
  font-size: 2rem;
  transition: all 0.3s ease;
}

.features-item:hover .features-icon {
  background-color: var(--primary-color-1);
  color: var(--white);
  transform: rotateY(180deg);
}

/* Price Plan Section */
.priceplan-section {
  background-color: var(--light-gray);
  position: relative;
}

.priceplan-card {
  background-color: var(--white);
  border-radius: 10px;
  overflow: hidden;
  padding: 40px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.05);
  transition: all 0.3s ease;
  height: 100%;
  position: relative;
  z-index: 1;
}

.priceplan-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(0,0,0,0.1);
}

.priceplan-card.highlighted {
  border: 2px solid var(--primary-color-1);
}

.priceplan-card-header h4 {
  font-size: 1.8rem;
  margin-bottom: 15px;
}

.priceplan-card-price {
  font-size: 2.5rem;
  color: var(--primary-color-1);
  font-weight: 700;
  margin-bottom: 20px;
}

.priceplan-card-features {
  margin: 30px 0;
}

.priceplan-card-features ul {
  list-style: none;
  padding-left: 0;
}

.priceplan-card-features ul li {
  padding: 10px 0;
  border-bottom: 1px solid var(--light-gray);
  position: relative;
  padding-left: 30px;
}

.priceplan-card-features ul li:before {
  content: '\f00c';
  font-family: 'Font Awesome 5 Free';
  font-weight: 900;
  position: absolute;
  left: 0;
  color: var(--primary-color-1);
}

/* Team Section */
.team-section {
  position: relative;
  overflow: hidden;
}

.team-card {
  background-color: var(--white);
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0,0,0,0.05);
  transition: all 0.3s ease;
  margin-bottom: 30px;
}

.team-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(0,0,0,0.1);
}

.team-card-img {
  overflow: hidden;
  position: relative;
}

.team-card-img img {
  width: 100%;
  height: auto;
  transition: all 0.5s ease;
}

.team-card:hover .team-card-img img {
  transform: scale(1.1);
}

.team-card-body {
  padding: 30px;
  text-align: center;
}

.team-card-title {
  font-size: 1.5rem;
  margin-bottom: 10px;
}

.team-card-subtitle {
  color: var(--primary-color-2);
  margin-bottom: 20px;
}

/* Reviews Section */
.reviews-section {
  background: linear-gradient(rgba(0,0,0,0.8), rgba(0,0,0,0.8)), url('../JUS_images/bg-testimonial.webp');
  background-size: cover;
  background-position: center;
  color: var(--white);
  position: relative;
}

.reviews-card {
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  padding: 30px;
  margin: 20px 10px;
  transition: all 0.3s ease;
  position: relative;
}

.reviews-card:hover {
  transform: translateY(-10px);
  background-color: rgba(255, 255, 255, 0.2);
}

.reviews-card p {
  font-style: italic;
  margin-bottom: 20px;
}

.reviews-card-author {
  font-weight: 700;
  font-size: 1.2rem;
}

.reviews-card-quote {
  position: absolute;
  top: 20px;
  right: 20px;
  font-size: 3rem;
  opacity: 0.2;
  color: var(--primary-color-3);
}

/* Core Info Section */
.coreinfo-section {
  position: relative;
  overflow: hidden;
}

.coreinfo-card {
  text-align: center;
  margin-bottom: 40px;
}

.coreinfo-icon {
  width: 100px;
  height: 100px;
  line-height: 100px;
  border-radius: 50%;
  background-color: var(--primary-color-3);
  margin: 0 auto 20px;
  color: var(--primary-color-1);
  font-size: 2.5rem;
  transition: all 0.3s ease;
}

.coreinfo-card:hover .coreinfo-icon {
  background-color: var(--primary-color-1);
  color: var(--white);
  transform: scale(1.1);
}

/* Contact Section */
.contact-section {
  background-color: var(--light-gray);
  position: relative;
}

.contact-form {
  background-color: var(--white);
  padding: 40px;
  border-radius: 10px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.05);
}

.contact-form .form-control {
  border: none;
  border-bottom: 2px solid var(--medium-gray);
  border-radius: 0;
  padding: 15px 0;
  margin-bottom: 20px;
  transition: all 0.3s ease;
}

.contact-form .form-control:focus {
  box-shadow: none;
  border-color: var(--primary-color-1);
}

.contact-form textarea.form-control {
  min-height: 120px;
}

.contact-form .form-check {
  margin-bottom: 20px;
}

.contact-info {
  padding: 40px;
  background-color: var(--primary-color-1);
  color: var(--white);
  border-radius: 10px;
  height: 100%;
}

.contact-info h4 {
  color: var(--white);
  margin-bottom: 30px;
}

.contact-info-item {
  margin-bottom: 30px;
  padding-left: 40px;
  position: relative;
}

.contact-info-item i {
  position: absolute;
  left: 0;
  top: 5px;
  font-size: 1.5rem;
}

/* Blog Section */
.blog-section {
  position: relative;
  overflow: hidden;
}

.blog-card {
  background-color: var(--white);
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0,0,0,0.05);
  transition: all 0.3s ease;
  margin-bottom: 30px;
  height: 100%;
}

.blog-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(0,0,0,0.1);
}

.blog-card-img {
  height: 200px;
  overflow: hidden;
}

.blog-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: all 0.5s ease;
}

.blog-card:hover .blog-card-img img {
  transform: scale(1.1);
}

.blog-card-body {
  padding: 30px;
}

.blog-card-title {
  font-size: 1.5rem;
  margin-bottom: 15px;
}

.blog-card-date {
  color: var(--dark-gray);
  margin-bottom: 15px;
  font-size: 0.9rem;
}

.blog-card-excerpt {
  margin-bottom: 20px;
}

/* FAQ Section */
.faq-section {
  background-color: var(--light-gray);
  position: relative;
}

.accordion-item {
  border: none;
  margin-bottom: 15px;
  border-radius: 10px;
  overflow: hidden;
}

.accordion-button {
  padding: 20px;
  font-weight: 600;
  background-color: var(--white);
  border: none;
  border-radius: 10px !important;
  box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

.accordion-button:not(.collapsed) {
  color: var(--primary-color-1);
  background-color: var(--white);
  box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}

.accordion-button:focus {
  box-shadow: none;
}

.accordion-button::after {
  background-size: 20px;
  transition: all 0.3s ease;
}

.accordion-body {
  padding: 20px;
  background-color: var(--white);
}

/* Gallery Section */
.gallery-section {
  position: relative;
  overflow: hidden;
}

.gallery-item {
  margin-bottom: 30px;
  border-radius: 10px;
  overflow: hidden;
  position: relative;
}

.gallery-item img {
  width: 100%;
  height: 250px;
  object-fit: cover;
  transition: all 0.5s ease;
}

.gallery-item:hover img {
  transform: scale(1.1);
}

.gallery-item-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(93, 64, 55, 0.7);
  opacity: 0;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

.gallery-item:hover .gallery-item-overlay {
  opacity: 1;
}

.gallery-item-icon {
  color: var(--white);
  font-size: 2rem;
}

/* Footer */
footer {
  background-color: var(--primary-color-5);
  color: var(--white);
  padding: 80px 0 0;
}

.footer-widget {
  margin-bottom: 40px;
}

.footer-widget h4 {
  color: var(--white);
  font-size: 1.5rem;
  margin-bottom: 30px;
  position: relative;
  padding-bottom: 15px;
}

.footer-widget h4:after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 50px;
  height: 2px;
  background-color: var(--primary-color-2);
}

.footer-brand {
  font-size: 2rem;
  color: var(--white);
  margin-bottom: 20px;
  display: inline-block;
}

.footer-desc {
  margin-bottom: 20px;
}

.footer-contact-item {
  margin-bottom: 15px;
  padding-left: 30px;
  position: relative;
}

.footer-contact-item i {
  position: absolute;
  left: 0;
  top: 5px;
  color: var(--primary-color-2);
}

.footer-links ul {
  list-style: none;
  padding-left: 0;
}

.footer-links ul li {
  margin-bottom: 10px;
}

.footer-links ul li a {
  color: var(--primary-color-3);
  transition: all 0.3s ease;
  position: relative;
  padding-left: 15px;
}

.footer-links ul li a:before {
  content: '\f105';
  font-family: 'Font Awesome 5 Free';
  font-weight: 900;
  position: absolute;
  left: 0;
  top: 0;
  color: var(--primary-color-2);
}

.footer-links ul li a:hover {
  color: var(--white);
  padding-left: 20px;
}

.footer-copyright {
  padding: 20px 0;
  border-top: 1px solid rgba(255,255,255,0.1);
  margin-top: 40px;
  text-align: center;
}

.footer-copyright small {
  color: var(--primary-color-3);
}

/* Swiper Slider */
.swiper-container {
  width: 100%;
  height: 100%;
}

.swiper-pagination-bullet {
  width: 12px;
  height: 12px;
  background-color: var(--primary-color-3);
  opacity: 0.5;
}

.swiper-pagination-bullet-active {
  background-color: var(--primary-color-1);
  opacity: 1;
}

.swiper-button-next, 
.swiper-button-prev {
  color: var(--primary-color-1);
  background-color: var(--white);
  width: 50px;
  height: 50px;
  border-radius: 50%;
  box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.swiper-button-next:after, 
.swiper-button-prev:after {
  font-size: 20px;
}

/* Space Page */
.space-container {
  min-height: calc(100vh - 200px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 100px 0;
}

/* Breadcrumb */
.breadcrumb-area {
  padding: 20px 0;
  background-color: var(--light-gray);
}

/* Animation elements */
.floating {
  animation: floating 3s ease-in-out infinite;
}

@keyframes floating {
  0% { transform: translateY(0px); }
  50% { transform: translateY(-20px); }
  100% { transform: translateY(0px); }
}

.rotating {
  animation: rotating 10s linear infinite;
}

@keyframes rotating {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

.fade-in {
  animation: fadeIn 1s ease-in;
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

/* Shape decorations */
.shape-blob1 {
  position: absolute;
  top: -100px;
  right: -100px;
  width: 300px;
  height: 300px;
  background-color: var(--primary-color-2);
  opacity: 0.1;
  border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
  z-index: -1;
}

.shape-blob2 {
  position: absolute;
  bottom: -100px;
  left: -100px;
  width: 300px;
  height: 300px;
  background-color: var(--primary-color-1);
  opacity: 0.1;
  border-radius: 70% 30% 30% 70% / 70% 70% 30% 30%;
  z-index: -1;
}

/* Preloader */
.preloader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: var(--white);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
}

.preloader-inner {
  width: 70px;
  height: 70px;
  border: 3px solid transparent;
  border-top-color: var(--primary-color-1);
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

@media (prefers-reduced-motion: reduce) {
  .floating, .rotating, .fade-in, .preloader-inner {
    animation: none;
  }
  
  html {
    scroll-behavior: auto;
  }
  
  .swiper-container {
    --swiper-autoplay: false;
  }
} 