:root {
  /* Primary Color Palette - 5 colors plus shades */
  --primary-purple: #6935ae;
  --primary-purple-light: #937dfb;
  --primary-purple-dark: #3c10a7;
  
  --primary-gold: #ffc001;
  --primary-gold-light: #f5d54d;
  --primary-gold-dark: #e09600;
  
  --primary-forest: #096f51;
  --primary-forest-light: #03ca6b;
  --primary-forest-dark: #0c533c;
  
  --primary-crimson: #ee3923;
  --primary-crimson-light: #fc7f88;
  --primary-crimson-dark: #b11729;
  
  --primary-slate: #293245;
  --primary-slate-light: #525e7a;
  --primary-slate-dark: #131922;
  
  /* Neutral colors */
  --white: #FFFFFF;
  --black: #000000;
  --gray-50: #F8FAFC;
  --gray-100: #F1F5F9;
  --gray-200: #e2eaff;
  --gray-800: #192033;
  --gray-900: #101b2e;
}

/* Conservative font sizing */
html {
  font-size: 19.00px;
}

body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  line-height: 1.6;
  color: var(--primary-slate);
  background-color: var(--white);
}

/* Header & Navigation */
.navbar {
  background: linear-gradient(135deg, var(--primary-purple), var(--primary-purple-dark));
  box-shadow: 0 8px 14px rgba(0,0,0,0.1);
  padding: 0.75rem 0;
}

.navbar-brand {
  font-size: 1.30rem;
  font-weight: 700;
  color: var(--white) !important;
  text-decoration: none;
}

.navbar-nav .nav-link {
  color: var(--white) !important;
  font-weight: 500;
  margin: 0 0.5rem;
  transition: color 0.3s ease;
}

.navbar-nav .nav-link:hover {
  color: var(--primary-gold-light) !important;
}

/* Hero Section */
.hero-section {
  padding-top: 50px;
  min-height: 100vh;
  background: linear-gradient(135deg, var(--primary-purple-light), var(--primary-forest-light));
  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('../JAY_images/hero-bg.webp');
  background-size: cover;
  background-position: center;
  opacity: 0.3;
  z-index: -1;
}

.hero-content {
  padding-top: 100px !important;
  z-index: 1;
}

.hero-title {
  font-size: 2.57rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 1.08rem;
  text-shadow: 6px 2px 4px rgba(0,0,0,0.3);
}

.hero-subtitle {
  font-size: 1.30rem;
  color: var(--white);
  margin-bottom: 1.67rem;
  text-shadow: 1px 1px 2px rgba(0,0,0,0.3);
}

.hero-desc {
  font-size: 1.23rem;
  color: var(--white);
  margin-bottom: 2.12rem;
  text-shadow: 1px 1px 2px rgba(0,0,0,0.3);
}

/* Section styling */
.section {
  padding: 4rem 0;
}

.section-title {
  font-size: 2.01rem;
  font-weight: 700;
  color: var(--primary-slate-dark);
  margin-bottom: 1.08rem;
  text-align: center;
}

.section-subtitle {
  font-size: 1.30rem;
  color: var(--primary-slate);
  margin-bottom: 1.08rem;
  text-align: center;
}

.section-desc {
  font-size: 1.23rem;
  color: var(--primary-slate-light);
  margin-bottom: 3.19rem;
  text-align: center;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

/* Services Section */
.services-section {
  background: linear-gradient(135deg, var(--gray-50), var(--white));
}

.service-card {
  background: var(--white);
  border-radius: 16px;
  box-shadow: 0 10px 20px rgba(0,0,0,0.1);
  padding: 2rem;
  margin-bottom: 2.12rem;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 2px solid transparent;
}

.service-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0,0,0,0.15);
  border-color: var(--primary-gold);
}

.service-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 10px;
  margin-bottom: 1.67rem;
}

.service-name {
  font-size: 1.30rem;
  font-weight: 600;
  color: var(--primary-purple-dark);
  margin-bottom: 1.08rem;
}

.service-desc {
  font-size: 1.10rem;
  color: var(--primary-slate-light);
  margin-bottom: 1.67rem;
}

.service-price {
  font-size: 1.54rem;
  font-weight: 700;
  color: var(--primary-gold-dark);
  margin-bottom: 1.08rem;
}

.service-features {
  list-style: none;
  padding: 0;
}

.service-features li {
  padding: 0.25rem 0;
  color: var(--primary-slate);
}

.service-features li::before {
  content: 'âœ“';
  color: var(--primary-forest);
  font-weight: bold;
  margin-right: 0.5rem;
}

/* Team Section */
.team-section {
  background: linear-gradient(135deg, var(--primary-purple-light), var(--white));
}

.team-member {
  text-align: center;
  margin-bottom: 2.12rem;
}

.team-photo {
  width: 150px;
  height: 150px;
  border-radius: 50%;
  object-fit: cover;
  margin: 0 auto 1rem;
  display: block;
  border: 4px solid var(--primary-gold);
}

.team-name {
  font-size: 1.30rem;
  font-weight: 600;
  color: var(--primary-slate-dark);
  margin-bottom: 0.72rem;
}

.team-role {
  font-size: 1.10rem;
  color: var(--primary-slate-light);
}

/* Reviews/Testimonials */
.reviews-section {
  background: var(--gray-50);
}

.testimonial-slider {
  max-width: 800px;
  margin: 0 auto;
}

.testimonial-item {
  background: var(--white);
  padding: 2rem;
  border-radius: 15px;
  box-shadow: 0 5px 20px rgba(0,0,0,0.1);
  text-align: center;
  margin: 1rem;
}

.testimonial-text {
  font-size: 1.23rem;
  color: var(--primary-slate);
  margin-bottom: 1.67rem;
  font-style: italic;
}

.testimonial-author {
  font-size: 1.10rem;
  font-weight: 600;
  color: var(--primary-purple-dark);
}

/* FAQ Section */
.faq-section {
  background: linear-gradient(135deg, var(--white), var(--gray-50));
}

.faq-item {
  margin-bottom: 1.08rem;
  background: var(--white);
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.faq-question {
  background: var(--primary-slate);
  color: var(--white);
  padding: 1rem 1.5rem;
  margin: 0;
  font-size: 1.23rem;
  font-weight: 600;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.faq-question:hover {
  background: var(--primary-slate-dark);
}

.faq-answer {
  padding: 1.5rem;
  color: var(--primary-slate);
  font-size: 1.10rem;
  line-height: 1.6;
  display: none;
}

.faq-answer.active {
  display: block;
}

/* Blog Section */
.blog-section {
  background: var(--white);
}

.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-top: 3.12rem;
}

.blog-card {
  background: var(--white);
  border-radius: 15px;
  box-shadow: 0 5px 20px rgba(0,0,0,0.1);
  overflow: hidden;
  transition: transform 0.3s ease;
}

.blog-card:hover {
  transform: translateY(-5px);
}

.blog-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.blog-content {
  padding: 1.5rem;
}

.blog-title {
  font-size: 1.30rem;
  font-weight: 600;
  color: var(--primary-slate-dark);
  margin-bottom: 1.08rem;
}

.blog-excerpt {
  font-size: 1.10rem;
  color: var(--primary-slate-light);
  margin-bottom: 1.08rem;
}

.blog-link {
  color: var(--primary-purple);
  text-decoration: none;
  font-weight: 500;
}

.blog-link:hover {
  color: var(--primary-purple-dark);
}

/* Contact Form */
.contact-section {
  background: linear-gradient(135deg, var(--primary-forest), var(--primary-forest-dark));
  color: var(--white);
}

.contact-form {
  background: rgba(255,255,255,0.1);
  padding: 2rem;
  border-radius: 15px;
  backdrop-filter: blur(10px);
}

.form-group {
  margin-bottom: 1.67rem;
}

.form-control {
  background: rgba(255,255,255,0.9);
  border: none;
  border-radius: 8px;
  padding: 0.75rem 1rem;
  font-size: 1.10rem;
}

.form-control:focus {
  background: var(--white);
  box-shadow: 0 0 0 4px rgba(101, 78, 203, 0.25);
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary-gold), var(--primary-gold-dark));
  border: none;
  padding: 0.75rem 2rem;
  font-size: 1.23rem;
  font-weight: 600;
  border-radius: 8px;
  transition: transform 0.3s ease;
}

.btn-primary:hover {
  transform: translateY(-2px);
  background: linear-gradient(135deg, var(--primary-gold-dark), var(--primary-gold));
}

/* Footer */
.footer {
  background: var(--primary-slate-dark);
  color: var(--white);
  padding: 3rem 0 1rem;
}

.footer h5 {
  color: var(--primary-gold);
  margin-bottom: 1.08rem;
}

.footer a {
  color: var(--gray-200);
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer a:hover {
  color: var(--primary-gold-light);
}

.footer-bottom {
  border-top: 1px solid var(--primary-slate);
  margin-top: 2.19rem;
  padding-top: 1.17rem;
  text-align: center;
}

/* Gallery */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1rem;
  margin-top: 2.19rem;
}

.gallery-item img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 10px;
  transition: transform 0.3s ease;
  cursor: pointer;
}

.gallery-item img:hover {
  transform: scale(1.05);
}

/* Breadcrumbs */
.breadcrumb {
  background: transparent;
  padding: 1rem 0;
}

.breadcrumb-item img {
  width: 20px;
  height: 20px;
}

/* Process/Timeline styling */
.process-timeline {
  position: relative;
  padding: 2rem 0;
}

.process-item {
  display: flex;
  align-items: center;
  margin-bottom: 2.12rem;
  position: relative;
}

.process-number {
  width: 50px;
  height: 50px;
  background: linear-gradient(135deg, var(--primary-purple), var(--primary-purple-dark));
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  margin-right: 1.5rem;
  flex-shrink: 0;
}

.process-content h4 {
  color: var(--primary-slate-dark);
  margin-bottom: 0.72rem;
}

.process-content p {
  color: var(--primary-slate-light);
  margin: 0;
}

/* Responsive Design */
@media (max-width: 768px) {
  .hero-title {
    font-size: 2.01rem;
  }
  
  .hero-subtitle {
    font-size: 1.23rem;
  }
  
  .section-title {
    font-size: 1.76rem;
  }
  
  .service-card {
    margin-bottom: 1.67rem;
  }
  
  .blog-grid {
    grid-template-columns: 1fr;
  }
  
  .gallery-grid {
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  }
}

/* Prefers reduced motion */
@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* Additional page styling */
.additional-section {
  padding: 3rem 0;
  border-bottom: 1px solid var(--gray-200);
}

.additional-section:nth-child(even) {
  background: var(--gray-50);
}

.additional-section:last-child {
  border-bottom: none;
}

.additional-items {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.5rem;
  margin-top: 2.19rem;
}

.additional-item {
  background: var(--white);
  padding: 1.5rem;
  border-radius: 10px;
  box-shadow: 0 3px 15px rgba(0,0,0,0.1);
}

.additional-item h5 {
  color: var(--primary-purple-dark);
  margin-bottom: 1.08rem;
}

.additional-item p {
  color: var(--primary-slate-light);
  margin: 0;
}



/* Team Social Links - Square Style */
.team-social-links {
    margin-top: 18px;
    padding: 12px 0;
}

.social-icons-grid {
    display: flex;
    gap: 12px;
    justify-content: center;
    align-items: center;
}

.social-link {
    display: inline-flex;
    width: 42px;
    height: 42px;
    border-radius: 8px;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    font-size: 17px;
    transition: all 0.3s ease;
    box-shadow: 0 3px 12px rgba(0,0,0,0.15);
    position: relative;
}

.social-link:hover {
    transform: translateY(-2px) rotate(5deg);
    box-shadow: 0 6px 20px rgba(0,0,0,0.25);
    color: white;
}

.facebook-link {
    background: #1877f2;
    border: 2px solid #1877f2;
}

.facebook-link:hover {
    background: #166fe5;
    border-color: #166fe5;
}

.linkedin-link {
    background: #0a66c2;
    border: 2px solid #0a66c2;
}

.linkedin-link:hover {
    background: #0959aa;
    border-color: #0959aa;
}

.x-link {
    background: #000000;
    border: 2px solid #000000;
    position: relative;
}

.x-link::after {
    content: '✕';
    font-weight: bold;
    font-size: 18px;
}

.x-link:hover {
    background: #333333;
    border-color: #333333;
}

.x-link i {
    display: none;
}

@media (max-width: 768px) {
    .social-icons-grid {
        gap: 8px;
    }
    
    .social-link {
        width: 38px;
        height: 38px;
        font-size: 15px;
    }
}
