:root {
  /* Primary Color Palette - 5 colors with light/dark shades */
  --primary-brown: #8a4a1a;
  --primary-brown-light: #dcb785;
  --primary-brown-dark: #6c532b;
  
  --primary-gold: #de8b10;
  --primary-gold-light: #fffcb2;
  --primary-gold-dark: #a66e09;
  
  --primary-green: #2f9136;
  --primary-green-light: #97fd96;
  --primary-green-dark: #005d0d;
  
  --primary-cream: #fffcd7;
  --primary-cream-light: #FFFEF7;
  --primary-cream-dark: #eaead2;
  
  --primary-charcoal: #2a353b;
  --primary-charcoal-light: #566379;
  --primary-charcoal-dark: #376163;
  
  /* Typography */
  --font-size-base: 16px;
  --font-size-small: 18px;
  --font-size-large: 18px;
  --font-weight-normal: 400;
  --font-weight-medium: 500;
  --font-weight-bold: 700;
}

/* Reset and Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  font-size: var(--font-size-base);
  line-height: 1.6;
  color: var(--primary-charcoal);
  background-color: var(--primary-cream);
}

/* Respect motion preferences */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

/* Header Styles */
.navbar {
  background: linear-gradient(135deg, var(--primary-brown) 0%, var(--primary-brown-dark) 100%);
  padding: 1rem 0;
  box-shadow: 0 8px 6px rgba(0,0,0,0.1);
}

.navbar-brand {
  font-size: 1.60rem !important; /* Conservative size */
  font-weight: var(--font-weight-bold);
  color: var(--primary-cream) !important;
}

.navbar-nav .nav-link {
  color: var(--primary-cream-light) !important;
  font-weight: var(--font-weight-medium);
  margin: 0 0.5rem;
  transition: color 0.3s ease;
}

.navbar-nav .nav-link:hover {
  color: var(--primary-gold) !important;
}

/* Hero Section */
.hero-section {
  padding-top: 50px;
  min-height: 100vh;
  background: linear-gradient(135deg, var(--primary-cream) 0%, var(--primary-cream-dark) 50%, var(--primary-brown-light) 100%);
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
}

.hero-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: url('../JUW_images/hero-bg.webp');
  background-size: cover;
  background-position: center;
  opacity: 0.1;
  z-index: 1;
}

.hero-content {
  padding-top: 100px !important;
  position: relative;
  z-index: 2;
}

.hero-title {
  font-size: 2.56rem;
  font-weight: var(--font-weight-bold);
  color: var(--primary-brown-dark);
  margin-bottom: 1.12rem;
}

.hero-subtitle {
  font-size: 1.31rem;
  color: var(--primary-charcoal);
  margin-bottom: 1.72rem;
}

.hero-desc {
  font-size: var(--font-size-large);
  color: var(--primary-charcoal-light);
  max-width: 500px;
}

/* Section Styles */
.section {
  padding: 4rem 0;
}

.section-title {
  font-size: 2.03rem;
  font-weight: var(--font-weight-bold);
  color: var(--primary-brown-dark);
  text-align: center;
  margin-bottom: 1.12rem;
}

.section-subtitle {
  font-size: 1.12rem;
  color: var(--primary-charcoal);
  text-align: center;
  margin-bottom: 1.12rem;
}

.section-desc {
  font-size: var(--font-size-base);
  color: var(--primary-charcoal-light);
  text-align: center;
  max-width: 600px;
  margin: 0 auto 3rem;
}

/* About Section */
.about-section {
  background: var(--primary-cream-light);
}

.about-feature {
  text-align: center;
  padding: 2rem 1rem;
  background: white;
  border-radius: 10px;
  box-shadow: 0 9px 6px rgba(0,0,0,0.1);
  height: 100%;
  transition: transform 0.3s ease;
}

.about-feature:hover {
  transform: translateY(-5px);
}

.about-feature i {
  font-size: 3.08rem;
  color: var(--primary-brown);
  margin-bottom: 1.12rem;
}

/* Services Section */
.services-section {
  background: linear-gradient(135deg, var(--primary-green-light) 0%, var(--primary-cream) 100%);
}

.service-item {
  background: white;
  border-radius: 15px;
  padding: 2rem;
  text-align: center;
  box-shadow: 0 7px 6px rgba(0,0,0,0.1);
  height: 100%;
  transition: transform 0.3s ease;
  margin-bottom: 2.11rem;
}

.service-item:hover {
  transform: translateY(-5px);
}

.service-item img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 10px;
  margin-bottom: 1.12rem;
}

.service-price {
  font-size: 1.60rem;
  font-weight: var(--font-weight-bold);
  color: var(--primary-green-dark);
  margin-top: 1.10rem;
}

/* Features Section */
.features-section {
  background: var(--primary-cream);
}

.feature-item {
  text-align: center;
  padding: 2rem 1rem;
}

.feature-item i {
  font-size: 2.56rem;
  color: var(--primary-gold);
  margin-bottom: 1.12rem;
}

/* Price Plan Section */
.priceplan-section {
  background: linear-gradient(135deg, var(--primary-brown-light) 0%, var(--primary-cream) 100%);
}

.priceplan-item {
  background: white;
  border-radius: 15px;
  padding: 2rem;
  text-align: center;
  box-shadow: 0 7px 6px rgba(0,0,0,0.1);
  height: 100%;
  margin-bottom: 2.11rem;
}

.priceplan-price {
  font-size: 2.03rem;
  font-weight: var(--font-weight-bold);
  color: var(--primary-brown-dark);
  margin: 1rem 0;
}

.priceplan-features {
  list-style: none;
  padding: 0;
}

.priceplan-features li {
  padding: 0.5rem 0;
  border-bottom: 1px solid var(--primary-cream-dark);
}

/* Team Section */
.team-section {
  background: var(--primary-cream-light);
}

.team-member {
  text-align: center;
  padding: 2rem 1rem;
}

.team-member img {
  width: 150px;
  height: 150px;
  border-radius: 50%;
  object-fit: cover;
  margin-bottom: 1.12rem;
  border: 5px solid var(--primary-brown);
}

/* Reviews Section */
.reviews-section {
  background: linear-gradient(135deg, var(--primary-gold-light) 0%, var(--primary-cream) 100%);
}

.review-item {
  background: white;
  border-radius: 15px;
  padding: 2rem;
  text-align: center;
  box-shadow: 0 7px 6px rgba(0,0,0,0.1);
  margin-bottom: 2.11rem;
}

/* Case Study Section */
.casestudy-section {
  background: var(--primary-cream);
}

.casestudy-item {
  background: white;
  border-radius: 15px;
  padding: 2rem;
  box-shadow: 0 9px 6px rgba(0,0,0,0.1);
  margin-bottom: 2.11rem;
}

/* Process Section */
.process-section {
  background: linear-gradient(135deg, var(--primary-green-light) 0%, var(--primary-cream-light) 100%);
}

.process-item {
  text-align: center;
  padding: 2rem 1rem;
}

.process-item i {
  font-size: 3.08rem;
  color: var(--primary-green-dark);
  margin-bottom: 1.12rem;
}

/* Timeline Section */
.timeline-section {
  background: var(--primary-cream-dark);
}

.timeline-item {
  background: white;
  border-radius: 15px;
  padding: 2rem;
  margin-bottom: 2.11rem;
  border-left: 4px solid var(--primary-brown);
}

/* Career Section */
.career-section {
  background: linear-gradient(135deg, var(--primary-charcoal-light) 0%, var(--primary-cream) 100%);
}

.career-item {
  background: white;
  border-radius: 15px;
  padding: 2rem;
  box-shadow: 0 4px 6px rgba(0,0,0,0.1);
  margin-bottom: 2.11rem;
}

/* Core Info Section */
.coreinfo-section {
  background: var(--primary-cream-light);
}

.coreinfo-item {
  text-align: center;
  padding: 2rem 1rem;
  background: white;
  border-radius: 10px;
  box-shadow: 0 4px 6px rgba(0,0,0,0.1);
  height: 100%;
  margin-bottom: 2.11rem;
}

/* Contact Section */
.contact-section {
  background: linear-gradient(135deg, var(--primary-brown-light) 0%, var(--primary-cream) 100%);
}

.contact-form {
  background: white;
  border-radius: 15px;
  padding: 2rem;
  box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

.form-control {
  border: 5px solid var(--primary-cream-dark);
  border-radius: 8px;
  padding: 0.75rem;
  margin-bottom: 1.12rem;
}

.form-control:focus {
  border-color: var(--primary-brown);
  box-shadow: 0 0 0 0.2rem rgba(140, 77, 29, 0.25);
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary-brown) 0%, var(--primary-brown-dark) 100%);
  border: none;
  border-radius: 8px;
  padding: 0.75rem 2rem;
  font-weight: var(--font-weight-medium);
  transition: transform 0.3s ease;
}

.btn-primary:hover {
  transform: translateY(-2px);
  background: linear-gradient(135deg, var(--primary-brown-dark) 0%, var(--primary-brown) 100%);
}

/* Blog Section */
.blog-section {
  background: var(--primary-cream-light);
}

.blog-item {
  background: white;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 4px 6px rgba(0,0,0,0.1);
  transition: transform 0.3s ease;
  margin-bottom: 2.11rem;
}

.blog-item:hover {
  transform: translateY(-5px);
}

.blog-item img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.blog-content {
  padding: 1.5rem;
}

/* FAQ Section */
.faq-section {
  background: linear-gradient(135deg, var(--primary-gold-light) 0%, var(--primary-cream-dark) 100%);
}

.faq-item {
  background: white;
  border-radius: 10px;
  margin-bottom: 1.12rem;
  overflow: hidden;
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.faq-question {
  background: var(--primary-brown);
  color: white;
  padding: 1rem;
  cursor: pointer;
  margin: 0;
  font-weight: var(--font-weight-medium);
  position: relative;
  transition: background-color 0.3s ease;
}

.faq-question:hover {
  background: var(--primary-brown-dark);
}

.faq-answer {
  padding: 0 1rem;
  background: white;
  color: var(--primary-charcoal);
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transition: max-height 0.4s ease, opacity 0.4s ease, padding 0.4s ease;
}

.faq-item.faq-active .faq-answer {
  max-height: 300px;
  opacity: 1;
  padding: 1rem;
}

.faq-icon {
  position: absolute;
  right: 1rem;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.5rem;
  font-weight: bold;
  color: white;
  transition: transform 0.3s ease;
}

/* Swiper Slider Styles */
.swiper {
  width: 100%;
  padding-bottom: 50px;
}

.swiper-slide {
  background: transparent;
  display: flex;
  justify-content: center;
  align-items: center;
}

.swiper-pagination {
  bottom: 0 !important;
}

.swiper-pagination-bullet {
  background: var(--primary-brown) !important;
  opacity: 0.3 !important;
  width: 12px !important;
  height: 12px !important;
}

.swiper-pagination-bullet-active {
  opacity: 1 !important;
  background: var(--primary-brown) !important;
}

.review-item {
  height: auto;
  min-height: 200px;
  width: 100%;
}

/* Optional navigation arrows */
.swiper-button-next,
.swiper-button-prev {
  color: var(--primary-brown) !important;
  top: 50% !important;
  margin-top: -22px !important;
}

.swiper-button-next:after,
.swiper-button-prev:after {
  font-size: 20px !important;
}

/* Gallery Section */
.gallery-section {
  background: var(--primary-cream);
}

.gallery-item {
  margin-bottom: 1.12rem;
}

.gallery-item img {
  width: 100%;
  height: 250px;
  object-fit: cover;
  border-radius: 10px;
  transition: transform 0.3s ease;
}

.gallery-item img:hover {
  transform: scale(1.05);
}

/* Footer */
.footer {
  background: linear-gradient(135deg, var(--primary-charcoal-dark) 0%, var(--primary-charcoal) 100%);
  color: var(--primary-cream);
  padding: 3rem 0 1rem;
}

.footer h5 {
  color: var(--primary-gold);
  font-weight: var(--font-weight-bold);
  margin-bottom: 1.12rem;
}

.footer a {
  color: var(--primary-cream-light);
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer a:hover {
  color: var(--primary-gold);
}

.footer .copyright {
  border-top: 1px solid var(--primary-charcoal);
  padding-top: 1.17rem;
  margin-top: 2.12rem;
  text-align: center;
  color: var(--primary-cream-light);
}

/* Breadcrumbs */
.breadcrumbs {
  padding: 1rem 0;
  background: var(--primary-cream-dark);
}

.breadcrumbs img {
  height: 30px;
  width: auto;
}

/* Additional Pages */
.page-section {
  padding: 3rem 0;
}

.page-section:nth-child(even) {
  background: var(--primary-cream-light);
}

.page-section:nth-child(odd) {
  background: var(--primary-cream);
}

/* Space Page */
#space {
  min-height: 80vh;
  background: linear-gradient(135deg, var(--primary-cream) 0%, var(--primary-cream-light) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Utility Classes */
.text-brown { color: var(--primary-brown); }
.text-gold { color: var(--primary-gold); }
.text-green { color: var(--primary-green); }
.bg-brown { background-color: var(--primary-brown); }
.bg-gold { background-color: var(--primary-gold); }
.bg-green { background-color: var(--primary-green); }

/* Conservative heading sizes */
h1 { font-size: 2.03rem; }
h2 { font-size: 1.78rem; }
h3 { font-size: 1.60rem; }
h4 { font-size: 1.39rem; }
h5 { font-size: 1.12rem; }
h6 { font-size: 1.12rem; }

/* Minimal text styling */
p { 
  margin-bottom: 1.12rem;
  max-width: none;
}

.text-minimal {
  font-size: var(--font-size-base);
  line-height: 1.5;
}



/* Team Social Links - Rounded Style */
.team-social-links {
    margin-top: 20px;
    padding: 15px 0;
}

.social-icons-grid {
    display: flex;
    gap: 15px;
    justify-content: center;
    align-items: center;
}

.social-link {
    display: inline-flex;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    font-size: 18px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
    position: relative;
    overflow: hidden;
}

.social-link::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
    transition: left 0.6s;
}

.social-link:hover::before {
    left: 100%;
}

.social-link:hover {
    transform: translateY(-3px) scale(1.1);
    box-shadow: 0 8px 25px rgba(0,0,0,0.3);
    color: white;
}

.facebook-link {
    background: linear-gradient(135deg, #1877f2, #42a5f5);
}

.facebook-link:hover {
    background: linear-gradient(135deg, #0d6efd, #1877f2);
}

.linkedin-link {
    background: linear-gradient(135deg, #0a66c2, #2196f3);
}

.linkedin-link:hover {
    background: linear-gradient(135deg, #084a8a, #0a66c2);
}

.x-link {
    background: linear-gradient(135deg, #000000, #333333);
    position: relative;
}

.x-link::after {
    content: '𝕏';
    font-weight: bold;
    font-size: 20px;
}

.x-link:hover {
    background: linear-gradient(135deg, #1a1a1a, #000000);
}

.x-link i {
    display: none;
}

@media (max-width: 768px) {
    .social-icons-grid {
        gap: 10px;
    }
    
    .social-link {
        width: 40px;
        height: 40px;
        font-size: 16px;
    }
}
